Results 1 to 3 of 3
i started working on openGL and it feels like ages and still my programs do not compile... wtf...
i says library missing... when i compile with -c option it compiles ...
- 04-09-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 2
openGL with Suse
i started working on openGL and it feels like ages and still my programs do not compile... wtf...
i says library missing... when i compile with -c option it compiles so i guess there is some linking problem...
has anybody ever compiled a program on suse.. please give me the exact command you use and also what glut libraries you used and where you downloaded them...
- 04-09-2009 #2
Most will require the development packages. You may have the required library files but you need the development package to link new code.
The development package can be found in the same repository as the binary package in most cases.
- 04-10-2009 #3
You can install freeglut from the openSuse DVD with yast. Remeber to install the freeglut-devel package too.
Then use these flags to compile:
-g -L/usr/X11R6/lib -lglut -lGLU -lXmu -lX11 -lXi -lm -c
And the same flags to link:
-g -L/usr/X11R6/lib -lglut -lGLU -lXmu -lX11 -lXi -lm -o
Hope that helps.


Reply With Quote