MerCMe
09-02-2002, 04:57 PM
Ok, here is the deal. When I compile my test.cpp program I get this.
bash-2.04# make
g++ -O test.cpp -L/usr/X11R6/lib -lXmu -lX11 -lXext -lXi -lGL -lGLU -lglut
test.cpp: In function `void displayWire()':
test.cpp:70: conversion from `enum {anonymous}' to `enum GLenum'
make: *** [test] Error 1
I did the ldconfig. Fine there. I checked to see the libraries needed to run this were there. Hopefully I have all of it. As far as I know, I have all of it there.
Then I commented out at line 70 and the compilation and execution of the file was ok. It has something to do with the gluQuadraticDrawStyle(...).
Can you explain to me what is going on and how I can fix this error?
Thanks
[This message has been edited by MerCMe (edited 09-02-2002).]
[This message has been edited by MerCMe (edited 09-02-2002).]
bash-2.04# make
g++ -O test.cpp -L/usr/X11R6/lib -lXmu -lX11 -lXext -lXi -lGL -lGLU -lglut
test.cpp: In function `void displayWire()':
test.cpp:70: conversion from `enum {anonymous}' to `enum GLenum'
make: *** [test] Error 1
I did the ldconfig. Fine there. I checked to see the libraries needed to run this were there. Hopefully I have all of it. As far as I know, I have all of it there.
Then I commented out at line 70 and the compilation and execution of the file was ok. It has something to do with the gluQuadraticDrawStyle(...).
Can you explain to me what is going on and how I can fix this error?
Thanks
[This message has been edited by MerCMe (edited 09-02-2002).]
[This message has been edited by MerCMe (edited 09-02-2002).]