Solved Using OpenGL within QT, novice Linux user
-
Hi,
Do you really have to use Qt 3.3.8b ?
-
Unfortunately yes. I am on a government project and the project manager(s) take the position that since it works and does what is needed we are not going to spend money and time to upgrade.
-
Ok...
You need to install the libglu development package if not already on your system.
-
-
My bad, I misread.
Did you try with
-lGLU
? -
I have tried
-lglu –lglut // returned cannot fine -lglu
LGLU –LGLUT // returned undefined reference to 'glClear'
-Lglu -lGLUT // returned cannot find lGLUT -
Keep l lowercase, it's not the same signification for the linker.
-L
adds a folder to the search path of the linker while-l
is to add a library to link to. -
Did a few more, and maybe some duplicates from earlier.
-lglut undefined reference to glClear
-lglut -lglu cannot find -lglu
-lglut -lGLU undefined reference to glClearthe -lglu and -lGLU appear to provide nothing.
-
glClear is provided by the OpenGL library. You are missing
-lGL
. -
Ok, that worked and I am on my way again.
Thank you for your time and patience.