From: Nick H. <nic...@ya...> - 2002-01-23 19:52:20
|
--- Amitha Perera <pe...@cs...> wrote: > The link problem you have is that OpenGL on Unix-like platforms depend > on the X11 libraries. The bigger problem is that in this case, you > shouldn't need to link into OpenGL at all. I just tried that example > after a recent update, and the executable no longer depends on > OpenGL. (I believe the recent fixes by Peter Vanroose did the job.) Yes, it looks like that did fix it. There was another type of error which I thought might have been resolved as well, but unfortunately not: c++ -g -O2 -Dvgui_EXPORTS -fPIC -I/home/hurlburt/code/vxlsource/vxl/oxl/vgui -I/home/hurlburt/code/vxl/vcl -I/home/hurlburt/code/vxl/vxl -I/home/hurlburt/code/vxlsource/vxl/vcl -I/home/hurlburt/code/vxlsource/vxl/vxl -I/home/hurlburt/code/vxlsource/vxl/oxl -I/usr/X11R6/include -I/dist/jazznet-linux/include -I/home/hurlburt/code/vxlsource/vxl/v3p -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -DHAS_OPENGL -DHAS_GLUT -DHAS_QV -c /home/hurlburt/code/vxlsource/vxl/oxl/vgui/internals/vgui_accelerate_tag.cxx -o vgui_accelerate_tag.o In file included from /home/hurlburt/code/vxlsource/vxl/oxl/vgui/internals/vgui_accelerate_tag.cxx:7: /home/hurlburt/code/vxlsource/vxl/oxl/vgui/internals/vgui_accelerate_x11.h:14:24: GL/xmesa.h: No such file or directory As expected I find in vgui_accelerate_x11.h: #if VGUI_MESA # include <GL/xmesa.h> #endif I think the pre-processor throws an error whether the conditional is met or not, so I *could* just get rid of it and hope it's not important. Of course, I'd rather not. In my include/GL directory I have glu.h and glut.h, with no xmesa.h to be seen. Do I need it, or is it a VXL problem? Thank you. Nick __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |