Opengl and Linux?
Hey, I've been programming with opengl for about a year, and then just recently I went from windows dual booted with linux to just linux. I'd like to keep programming with opengl but I don't know any of the x window managment things, so is there anyway I can use glut or somesuch to handel the windows etc? I attempted to install glut but whenever I attempt to compile I get errors stating that the certain files defined in glut are undefined.
|
There are some known problems with glut in RedHat 9.0. I'd suggest taking a look at this link at the opengl.org forums.
|
is there any way to remove dependencies on libraries? because when I attempt to uninstall the old version of glut, i get an error stating that kde something is dependent on it... I'll try uninstalling in command line... if i'm not on for a while... I've killer 'er. :p
|
well, i upgraded it and I get this error:
Code:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXBindChannelToWindowSGIX' |
deiussum
Already answered that. Have a look at his post. |
i tried reinstalling using just source code, i tried some of the different linking things... none of them worked... same error
|
ok, i've tried some of the tests that kame with the source... they work... so it has to do with compiling the program.. any ideas?
|
yeup, i've tried everything there...
how should I link it? where to? |
pass reference to library to linker ... like : -lglut; lGL, -lGLU tell it also where to find libraries with -Lflag (on my machine -L/usr/X11R6/lib)
|
All times are GMT -5. The time now is 03:54 AM. |