[GRASS-dev] wxnviz on mac osx (grass7.0)
Massimo Di Stefano
massimodisasha at gmail.com
Thu Aug 19 07:42:49 EDT 2010
Hi,
problems to get wx-nviz running on mac osx 10.6.4 building grass7.0
this the log :
Finished compilation: Gio 19 Ago 2010 13:31:39 CEST
make: *** [default] Error 1
MacBook-Pro-15-di-sasha:grass_trunk sasha$ cd /Users/sasha/gis/grass_trunk/visualization/nviz
MacBook-Pro-15-di-sasha:nviz sasha$ make
make -C src
gcc -g -O2 -arch i386 -arch x86_64 -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -D_FILE_OFFSET_BITS=64 -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Library/Frameworks/UnixImageIO.framework/unix/include -I/Library/Frameworks/GDAL.framework/Versions/1.7/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -DPACKAGE=\""grassmods"\" -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -I/Users/sasha/gis/grass_trunk/dist.i386-apple-darwin10.4.0/include -o OBJ.i386-apple-darwin10.4.0/togl.o -c togl.c
In file included from togl.c:53:
/usr/include/tkMacOSX.h:31: error: expected declaration specifiers or ‘...’ before ‘TkRegion’
togl.c:54:54: error: tkMacOSXInt.h: No such file or directory
togl.c:265: error: expected specifier-qualifier-list before ‘XVisualInfo’
togl.c: In function ‘SetMacBufRect’:
togl.c:1084: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:1084: error: (Each undeclared identifier is reported only once
togl.c:1084: error: for each function it appears in.)
togl.c:1084: error: expected expression before ‘)’ token
togl.c:1088: warning: ‘GetPortBounds’ is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawAPI.h:4527)
togl.c:1088: error: expected expression before ‘)’ token
togl.c:1092: error: expected expression before ‘)’ token
togl.c: In function ‘Togl_Cmd’:
togl.c:1500: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:1501: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c: In function ‘Togl_CreateWindow’:
togl.c:1764: error: ‘XVisualInfo’ undeclared (first use in this function)
togl.c:1764: error: ‘visinfo’ undeclared (first use in this function)
togl.c:1795: error: expected ‘;’ before ‘VisInf’
togl.c:2117: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2118: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2119: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2120: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2121: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2122: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2124: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2187: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:2187: error: ‘winPtr’ undeclared (first use in this function)
togl.c:2187: error: expected expression before ‘)’ token
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2214: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2338: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2340: error: ‘MacDrawable’ undeclared (first use in this function)
togl.c:2340: error: expected expression before ‘)’ token
togl.c:2352: error: ‘VisInf’ undeclared (first use in this function)
togl.c:2388: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2389: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2390: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2391: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2392: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2393: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2394: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2395: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2396: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2397: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2399: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c: In function ‘Togl_EventProc’:
togl.c:2594: warning: ‘AGLDrawable’ is deprecated
togl.c:2596: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2610: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c: In function ‘Togl_LoadBitmapFont’:
togl.c:3143: warning: ‘aglUseFont’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:374)
togl.c: In function ‘Togl_DumpToEpsFile’:
togl.c:3750: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3750: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsBlueMap’
In file included from togl.c:53:
/usr/include/tkMacOSX.h:31: error: expected declaration specifiers or ‘...’ before ‘TkRegion’
togl.c:54:54: error: tkMacOSXInt.h: No such file or directory
togl.c:265: error: expected specifier-qualifier-list before ‘XVisualInfo’
togl.c: In function ‘SetMacBufRect’:
togl.c:1084: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:1084: error: (Each undeclared identifier is reported only once
togl.c:1084: error: for each function it appears in.)
togl.c:1084: error: expected expression before ‘)’ token
togl.c:1088: error: expected expression before ‘)’ token
togl.c:1092: error: expected expression before ‘)’ token
togl.c: In function ‘Togl_Cmd’:
togl.c:1500: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:1500: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:1501: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c: In function ‘Togl_CreateWindow’:
togl.c:1764: error: ‘XVisualInfo’ undeclared (first use in this function)
togl.c:1764: error: ‘visinfo’ undeclared (first use in this function)
togl.c:1795: error: expected ‘;’ before ‘VisInf’
togl.c:2117: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2118: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2119: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2120: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2121: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2122: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2123: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2124: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2187: error: ‘TkWindow’ undeclared (first use in this function)
togl.c:2187: error: ‘winPtr’ undeclared (first use in this function)
togl.c:2187: error: expected expression before ‘)’ token
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2213: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2214: error: ‘Togl’ has no member named ‘VisInfo’
togl.c:2221: warning: cast to pointer from integer of different size
togl.c:2338: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2340: error: ‘MacDrawable’ undeclared (first use in this function)
togl.c:2340: error: expected expression before ‘)’ token
togl.c:2352: error: ‘VisInf’ undeclared (first use in this function)
togl.c:2388: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2389: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2390: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2391: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2392: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2393: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2394: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c:2395: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:2396: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:2397: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:2399: error: ‘Togl’ has no member named ‘EpsBlueMap’
togl.c: In function ‘Togl_EventProc’:
togl.c:2594: warning: ‘AGLDrawable’ is deprecated
togl.c:2596: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c:2610: warning: ‘aglSetDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:313)
togl.c: In function ‘Togl_LoadBitmapFont’:
togl.c:3143: warning: ‘aglUseFont’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:374)
togl.c: In function ‘Togl_DumpToEpsFile’:
togl.c:3750: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3750: error: ‘Togl’ has no member named ‘EpsRedMap’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3751: error: ‘Togl’ has no member named ‘EpsGreenMap’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsMapSize’
togl.c:3752: error: ‘Togl’ has no member named ‘EpsBlueMap’
lipo: can't figure out the architecture type of: /var/folders/ve/veXy9T8eF2mFKQhl31Blv++++TI/-Tmp-//ccifosKj.out
make[1]: *** [OBJ.i386-apple-darwin10.4.0/togl.o] Error 1
make: *** [default] Error 2
MacBook-Pro-15-di-sasha:nviz sasha$
tring to run nviz from the wx gui i see this log in the shell :
Thu Aug 19 13:36:56 MacBook-Pro-15-di-sasha.local pythonw2.6[89612] <Error>: kCGErrorIllegalArgument: CGSOrderWindowList
Thu Aug 19 13:36:56 MacBook-Pro-15-di-sasha.local pythonw2.6[89612] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
and the wxgui quit itself.
I have the same problems on grass6.5 (errors in the build and crash wxgui tring to load nviz) but in grass65 no log is printed in the grass shell
i hopethis log will be usefull,
tell me if i need to provide better logs(descriptin
thanks,
Massimo.
More information about the grass-dev
mailing list