i’m having a problem with glut library, when i try to compile a simple program i receive an error like “glut.h” and i’ve already installed glut (maybe i didn’t installed it well), so i’m asking for help, how do i install the glut library correctly? And what is the flags to use with gcc to compile with glut.
Thank U All
Oh I Forgot to say that i’m using linux Red Hat 7.3
what does the error say? Can’t find glut.h or…?
If there was an error
when you run your program
1)“Cannot find glut.dll”
then there will an error in your setup
2)if error when you link
unresolned external winmain
just Open your linker setting and copy
"kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:“Debug/yourapp.pdb” /debug /machine:I386 /out:“Debug/yourapp.exe” /pdbtype:sept "
If you want to have glut dll you can download it
from my web site
and for any more information
send me mail on
and have a good time …
An OpenGL Game Programmer