use glui in VS
Posted by linuxprogram on August 18, 2008
| glui in VC: 1. unzip glui-2.36.zip 2. build (i used batch build and selected all) 3. copy lib/glui32.lib to %VS2005_DIR%\VC\platformSDK\Lib 4. copy include/glui.h to %VS2005_DIR%\VC\platformSDK\Include\GL. finish. (further work for compiling projects): Project->settings->General ->Microsoft Foundation Classes(DropList)->Select”Use MFC in a Shared DLL”
|
..
Errors Like:msvcrt.lib(MSVCRT.dll) : error LNK2005: _exit already defined in LIBC.lib (crt0dat.obj) Solution:ADD msvcrt.lib libc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
confused said
Hi
Can you please explain the solution a bit more
Thanks
linuxprogram said
step 1,2,3,4 is for setting up the Dev environment, which is unzip the package and use Microsoft studio to build the project in side, and copy the output library files and the header file to corresponding paths.
after the word “finish” at the end of step 4, the post settles a problem you might face when developing a specific glui project. and the prob is: you have to set “Use MFC in a Shared DLL”, otherwise the errors below wiil accur.
if you need any further explanation, feel free to let me know.
Qingshuan