Hi,
I have the same problem here with any static library (.lib), I also tested with glut.lib of course...
- I add folders link in Project/Build Options/Directories (include & lib).
- I add glut.lib and then (on compile) I get this error : cannot find –lglut.lib
- I believe this is an IDE vs ld.exe/gcc.exe integration bug, so I remove .lib in the library name (glut).
It now seems to recognize the library, but I can't use anything in there. I get this error:
undefined reference to '__glutCreateWindowWithExit@8.
I had some doubt so I created my own .lib (in VS), I get the same errors. But if I create la static lib (.a) with the same code in C::B, everything's fine and works.
Did I do something wrong?
Nick