[GRASS-dev] grass7 build on osx snow leopard

Massimo Di Stefano massimodisasha at gmail.com
Thu Feb 4 15:59:40 EST 2010


 " svn up "

Changeset [40820]+
Changeset [40821]

fix the errors.

now v.lidar.correction builds without errors.



This was the error  from the make in v.lidar.correction :

MacBook-Pro-15-di-Massimo-Di-Stefano:grass_trunk sasha$ cd /Users/Shared/source/grass_trunk/vector/lidar/v.lidar.correction
MacBook-Pro-15-di-Massimo-Di-Stefano:v.lidar.correction sasha$ make
gcc -L/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.2.0/lib -L/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.2.0/lib -arch x86_64 -arch i386 -Os -g   -L/usr/local/pgsql/lib  -o /Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.2.0/bin/v.lidar.correction OBJ.i386-apple-darwin10.2.0/correction.o OBJ.i386-apple-darwin10.2.0/main.o  -lgrass_lidar -lgrass_gmath -lgrass_vector -lgrass_dbmiclient -lgrass_dbmibase  -lgrass_gis    
Undefined symbols for architecture x86_64:
 "_Rast_window_cols", referenced from:
     _main in main.o
 "_Rast_window_rows", referenced from:
     _main in main.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Undefined symbols for architecture i386:
 "_Rast_window_cols", referenced from:
     _main in main.o
 "_Rast_window_rows", referenced from:
     _main in main.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/G7/G7KYb9O2GaGW2zFTZZP9nE+++TI/-Tmp-//ccyWe2z9.out (No such file or directory)
make: *** [/Users/Shared/source/grass_trunk/dist.i386-apple-darwin10.2.0/bin/v.lidar.correction] Error 1



Il giorno 04/feb/2010, alle ore 21.03, Glynn Clements ha scritto:

> 
> Massimo Di Stefano wrote:
> 
>> i also did svn up, all goes well.
>> so I've a working grass7 installation.
>> some errors persists, but i guess they are bit-ness related :
>> 
>> RASS GIS compilation log
>> -------------------------
>> Started compilation: Gio  4 Feb 2010 05:31:58 CET
>> --
>> Errors in:
>> /Users/Shared/source/grass_trunk/vector/lidar/v.lidar.correction
>> /Users/Shared/source/grass_trunk/visualization/nviz
>> /Users/Shared/source/grass_trunk/visualization/xganim
>> /Users/Shared/source/grass_trunk/visualization/wximgview
> 
> I'd be interested in the error messages.
> 
> I don't know of any reason why v.lidar.correction alone would fail to
> compile.
> 
> The other three can be problematic due to the dependency on high-level
> GUI libraries (Tcl/Tk for NVIZ, wxWidgets for the other two).
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>



More information about the grass-dev mailing list