Advertisement

Linker Error with SDK =(

Started by August 13, 2006 09:40 PM
1 comment, last by C00kie Monster 18 years, 3 months ago
when building an app with the NeHe SDK, i got these linker errors.

------ Build started: Project: NeHe APP, Configuration: Debug Win32 ------
Linking...
msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) already defined in NeHeGL.lib(texture.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
C:\Documents and Settings\cookie monster\My Documents\Visual Studio 2005\Projects\NeHe APP\Debug\NeHe APP.exe : fatal error LNK1169: one or more multiply defined symbols found
Build log was saved at "file://c:\Documents and Settings\Daniel\My Documents\Visual Studio 2005\Projects\NeHe APP\NeHe APP\Debug\BuildLog.htm"
NeHe APP - 2 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

help please!!
Looks like a confliction with libraries? What libraries are you using?
Advertisement
I'm using..

NeHeGL.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

This topic is closed to new replies.

Advertisement