Menu

#175 current SAGA svn does not build on ubuntu

v2.1.0
closed
nobody
None
1
2014-01-16
2014-01-15
No

mat_tools.cpp:115:47: error: macro "SG_T" passed 2 arguments, but takes just 1
return( CSG_String::Format(SG_T("%e", Number)) );
^
mat_tools.cpp:123:47: error: macro "SG_T" passed 2 arguments, but takes just 1
return( CSG_String::Format(SG_T("%f", Number)) );
^
mat_tools.cpp: In function 'CSG_String SG_Get_Double_asString(double, int, int, bool)':
mat_tools.cpp:115:30: error: 'SG_T' was not declared in this scope
return( CSG_String::Format(SG_T("%e", Number)) );
^
mat_tools.cpp:123:30: error: 'SG_T' was not declared in this scope
return( CSG_String::Format(SG_T("%f", Number)) );

full errorlog: https://launchpadlibrarian.net/162570853/buildlog_ubuntu-trusty-amd64.saga_2.1.1%2Bsvn1890%2B17~ubuntu14.04.1_FAILEDTOBUILD.txt.gz

Discussion

  • Volker Wichmann

    Volker Wichmann - 2014-01-16
    • status: open --> closed
     
  • Volker Wichmann

    Volker Wichmann - 2014-01-16

    This should be fixed in r1944:

    saga_api, mat_tools.cpp: fix wrongly placed brackets (introduced in r1942) http://sourceforge.net/p/saga-gis/code-0/1944/

     

Anonymous
Anonymous

Add attachments
Cancel