[GRASS-user] Problems with OpenGL when compiling grass-6.4.0 on Mac OS X 10.5.4

William Kyngesburye woklist at kyngchaos.com
Sun Sep 21 17:46:29 EDT 2008


Well, as Michael jsut pointed out, this whole excercise is academic.   
libnviz is meant for the new nviz in python, which on OSX is really  
only available in an Aqua form.  You can ignore errors in lib/nviz.   
You need to focus on getting visualization/nviz working.

On Sep 21, 2008, at 4:31 PM, Elvis Dowson wrote:

> Hi William,
>                     That solution worked. One step closer!!
>
> Now when I try to run make within the nviz folder, I get the  
> following errors
>
> Undefined symbols:
>  "_XOpenDisplay", referenced from:
>      _Nviz_create_render_window in render.o
>  "_XFreePixmap", referenced from:
>      _Nviz_destroy_render_window in render.o
>  "_XCreatePixmap", referenced from:
>      _Nviz_create_render_window in render.o
>  "_XFree", referenced from:
>      _Nviz_create_render_window in render.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> What should I do?
>
> On Sep 22, 2008, at 1:14 AM, William Kyngesburye wrote:
>>>
>>>
>> Ah, there's your problem.  They should only be symlinks within the  
>> X11/lib dir:
>>
>> lrwxr-xr-x    1 root  wheel       13 Oct 27  2007 libGL.1.2.dylib - 
>> > libGL.1.dylib
>> -rwxr-xr-x    1 root  wheel  2390592 Aug 21 23:45 libGL.1.dylib
>> lrwxr-xr-x    1 root  wheel       13 Oct 27  2007 libGL.dylib ->  
>> libGL.1.dylib
>> lrwxr-xr-x    1 root  wheel       14 Oct 27  2007 libGLU.1.3.dylib - 
>> > libGLU.1.dylib
>> -rwxr-xr-x    1 root  wheel  3304064 Aug 21 23:45 libGLU.1.dylib
>> lrwxr-xr-x    1 root  wheel       14 Oct 27  2007 libGLU.dylib ->  
>> libGLU.1.dylib
>>
>> Try:
>>
>> sudo ln -sf libGL.1.dylib /usr/X11/lib/libGL.dylib
>> sudo ln -sf libGL.1.dylib /usr/X11/lib/libGL.1.2.dylib
>>

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the  
past isn't a fiction designed to account for the discrepancy between  
my immediate physical sensations and my state of mind?"

- The Ruler of the Universe




More information about the grass-user mailing list