I very new to OpenGL, and programming on Windows under Visual Studio C++ Express so I apologize in advance if my questions are really elementary for many of you.
I’m going through all the sample projects in the OpenGL Superbible (4th Edition). I got tired of having to set the Project properties to Ignore LIBC.lib (due to the fact that the supplied freeglut_static was built single threaded and hence wants to use LIBC.lib). Therefore, I downloaded the freeglut-2.4.0 source and followed the README.win32 instructions to rebuild freeglut_static.lib so it would be MultiThreaded (/MT) to avoid the problem with LIBC.lib not being found.
While I no longer get any error messages about LIBC.lib, I do get the following Warning from the linker:
1>LINK : warning LNK4098: defaultlib ‘LIBCMT’ conflicts with use of other libs; use /NODEFAULTLIB:library
I know I’m being really picky here but I’d like to figure out how to rebuild freeglut_static.lib so it doesn’t generate the above Warning. Can anyone help me find the source of the above Warning? I’m sure it’s something in the newly rebuilt freeglut_static.lib but what is causing this?
I’m still learning Visual Studio so I’m not sure exactly what to do to fix this. (I’m assuming my problem is related to how I rebuilt the library in Visual Studio C++ 2008 Express.)