[GRASS-dev] nviz crashes on MacOSX

Glynn Clements glynn at gclements.plus.com
Thu Apr 19 11:46:21 EDT 2007


Agustin Diez Castillo wrote:

> After compiling and installing latest cvs following William's readme,  
> I got this error when trying nviz (itt works fine when using his  
> binaries):
> Date/Time:      2007-04-19 13:10:33.116 +0200
> OS Version:     10.4.9 (Build 8P2137)
> Report Version: 4
> 
> Command: nviz
> Path:    /Applications/GRASS-6.3.app/Contents/Resources/etc/nviz2.2/nviz
> Parent:  wish8.4 [15392]
> 
> Version: ??? (???)
> 
> PID:    15397
> Thread: 0
> 
> Exception:  EXC_BAD_ACCESS (0x0001)
> Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x6e614320
> 
> Thread 0 Crashed:
> 0   libX11.6.dylib       	0x005dacd2 XQueryExtension + 51
> 1   libGL.1.dylib        	0x005655f3 glXQueryExtension + 62
> 2   nviz                 	0x00016aa8 Togl_CreateWindow + 79

Note that you are using X11 OpenGL (I think that William's binaries
use native Mac OpenGL). You need to also be using X11 Tcl/Tk (not
native Mac Tcl/Tk) for this to work.

If you want to use the native Tcl/Tk, you need --with-opengl=mac (any
of aqua, mac, osx, macosx, or agl will work).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list