Results 1 to 6 of 6

Thread: Error in compiling Examples

  1. #1

    Default Error in compiling Examples

    Hi !
    I have installed the ClanLibs (I hope to have done well) but during to compile an example , this error:

    -Configuration: ExampleSpritesRTS - Win32 Debug--------------------
    Linking...
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strncpy already defined in LIBCMTD.lib(strncpy.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fread already defined in LIBCMTD.lib(fread.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgheap.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgheap.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fwrite already defined in LIBCMTD.lib(fwrite.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fflush already defined in LIBCMTD.lib(fflush.obj)
    MSVCRT.lib(MSVCRT.dll) : error LNK2005: _strtod already defined in LIBCMTD.lib(strtod.obj)
    LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:library
    LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
    clanDisplay-static-mt-debug.lib(display_window_win32.obj) : error LNK2001: unresolved external symbol _CLSID_DirectInput8
    clanDisplay-static-mt-debug.lib(display_window_win32.obj) : error LNK2001: unresolved external symbol _IID_IDirectInput8A
    Debug/SpritesRTS.exe : fatal error LNK1120: 2 unresolved externals
    Error executing link.exe.

    SpritesRTS.exe - 12 error(s), 2 warning(s)

    Use Visual C++6, can someone help me? Thanks

  2. #2

    Default

    if I use the library of the site instead on the Visual C+ 7 (http://www.clanlib.org/download-bina...in32-vc80.html) when I compile I have these errors :


    zlib-static-mt-debug.lib(deflate.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(trees.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(compress.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngmem.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngtrans.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngwtran.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngrutil.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngrtran.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngwutil.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngerror.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngwio.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(png.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngrio.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngread.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngget.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(adler32.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(crc32.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngwrite.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    libpng-static-mt-debug.lib(pngset.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(inflate.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(zutil.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(inffast.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(inftrees.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
    zlib-static-mt-debug.lib(deflate.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(trees.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(compress.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngmem.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngtrans.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngwtran.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngrutil.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngrtran.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngwutil.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngerror.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngwio.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(png.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngrio.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngread.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngget.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(adler32.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(crc32.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngwrite.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngset.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(inflate.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(zutil.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(inffast.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    zlib-static-mt-debug.lib(inftrees.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
    libpng-static-mt-debug.lib(pngrutil.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    zlib-static-mt-debug.lib(deflate.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    zlib-static-mt-debug.lib(trees.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    zlib-static-mt-debug.lib(compress.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngwio.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngmem.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngtrans.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngwtran.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngget.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngrtran.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngwutil.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngerror.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngset.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(png.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngrio.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngread.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    zlib-static-mt-debug.lib(inflate.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    zlib-static-mt-debug.lib(zutil.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    zlib-static-mt-debug.lib(crc32.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngwrite.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
    libpng-static-mt-debug.lib(pngrutil.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    zlib-static-mt-debug.lib(trees.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    zlib-static-mt-debug.lib(compress.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngwutil.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngerror.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngmem.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngwtran.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngwrite.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(png.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngread.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libpng-static-mt-debug.lib(pngrtran.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    zlib-static-mt-debug.lib(inflate.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    zlib-static-mt-debug.lib(inffast.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    zlib-static-mt-debug.lib(inftrees.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    zlib-static-mt-debug.lib(crc32.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
    libjpeg-static-mt-debug.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol __ftol2
    libjpeg-static-mt-debug.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __ftol2
    libpng-static-mt-debug.lib(pngwrite.obj) : error LNK2001: unresolved external symbol __ftol2
    libpng-static-mt-debug.lib(pngset.obj) : error LNK2001: unresolved external symbol __ftol2
    libpng-static-mt-debug.lib(pngrtran.obj) : error LNK2001: unresolved external symbol __ftol2
    libpng-static-mt-debug.lib(pngwutil.obj) : error LNK2001: unresolved external symbol __ftol2
    clanDisplay-static-mt-debug.lib(display_window_win32.obj) : error LNK2001: unresolved external symbol _CLSID_DirectInput8
    clanDisplay-static-mt-debug.lib(display_window_win32.obj) : error LNK2001: unresolved external symbol _IID_IDirectInput8A
    Debug/BlendFunctions.exe : fatal error LNK1120: 7 unresolved externals
    Error executing link.exe.

    BlendFunctions.exe - 90 error(s), 0 warning(s)


    I don't know really that to do!!!!
    Help me please

  3. #3
    Lesser Knight
    Join Date
    Sep 2006
    Posts
    41

    Default

    As for your second message, I'm running into this myself. It seems that the wrong runtime library is being linked in (hence the errors). I'll post more about it when I figure out where the error is in my system, and how to point it to the correct one.

    Note: This is an extremely odd error, as for me my compilations were working fine one minute, and suddenly failing the next. Unfortunately, rolling back the changes I made during that minute didn't fix anything.

    Edit:
    OK, I fixed the problem on my system by making sure that the default libraries were being included (somehow the libc library (libcmtd) had been excluded, hence all the unresolved externals). What I would recommend for you is this:

    - Try recompiling the ClanLib packages (rather than using the downloaded binaries), this makes sure they're linking against your local libraries and runtimes.
    - You should now get the error you reported in the first one.
    - Under project settings, go to Linker settings, input, and tell it to ignore msvcrt.lib
    - If that doesn't fix things, try ignoring libcmt instead
    - If neither one of those fixes it, then post here the results of both. I don't remember off the top of my head which one you need to do, but this is a common error and usually you just exclude one library to make it work.

  4. #4

    Default

    Hello I have used linux and I have worked all!! Now I want to pass to Windows with Visual C++ 6, but after to have shaped the ClanLib in the compilation this error appears:

    --------------------Configuration: TripleProfit - Win32 Release--------------------
    Linking...
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _atexit
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol _atexit
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol _atexit
    App.obj : error LNK2001: unresolved external symbol _atexit
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _atexit
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _atexit
    libcpmt.lib(xlock.obj) : error LNK2001: unresolved external symbol _atexit
    LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol __iob
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol __iob
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol __except_list
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol __except_list
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol __except_list
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol __except_list
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol __except_list
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol __EH_prolog
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol __EH_prolog
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol __EH_prolog
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol __EH_prolog
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol __EH_prolog
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol _memcpy
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _memcpy
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _memcpy
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol _memcpy
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _memcpy
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fwrite
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fwrite
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fputc
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _ungetc
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _ungetc
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fgetc
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fgetc
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fgetpos
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fgetpos
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fseek
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fseek
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fsetpos
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fsetpos
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _setvbuf
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _setvbuf
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fflush
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fflush
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _memset
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _memset
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol _memmove
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _memmove
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _memmove
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol _memmove
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _memmove
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _fclose
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fclose
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol _strlen
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol _strlen
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _strlen
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol _strlen
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _strlen
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
    libcpmt.lib(iostream.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fputwc
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _ungetwc
    libcpmt.lib(wiostrea.obj) : error LNK2001: unresolved external symbol _fgetwc
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol __CxxThrowException@8
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol __CxxThrowException@8
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol __CxxThrowException@8
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall exception::~exception(void)" (??1exception@@UAE@XZ)
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall exception::~exception(void)" (??1exception@@UAE@XZ)
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall exception::~exception(void)" (??1exception@@UAE@XZ)
    libcpmt.lib(ios.obj) : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(char const * const &)" (??0exception@@QAE@ABQBD@Z)
    libcpmt.lib(string.obj) : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(char const * const &)" (??0exception@@QAE@ABQBD@Z)
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(char const * const &)" (??0exception@@QAE@ABQBD@Z)
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _free
    libcpmt.lib(delop.obj) : error LNK2001: unresolved external symbol _free
    libcpmt.lib(locale0.obj) : error LNK2001: unresolved external symbol _memcmp
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __unlock
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __lock
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___setlc_active
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___unguarded_readlc_active
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __pctype
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __errno
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___mb_cur_max
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___lc_codepage
    libcpmt.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol ___lc_handle
    libcpmt.lib(nomemory.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall exception::what(void)const " (?what@exception@@UBEPBDXZ)
    Release/TripleProfit.exe : fatal error LNK1120: 41 unresolved externals
    Error executing link.exe.

    TripleProfit.exe - 101 error(s), 0 warning(s)

    (sorry for my english)

    I ignore libcmt.lib !!!!

  5. #5
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    These errors happen because your application is set to use Multithreaded DLL as the Runtime Library in C/C++ Code Generation project settings. Change it to the Multithreaded version fixes it.
    Last edited by Judas; 10-15-2007 at 06:17 PM. Reason: Typo

  6. #6

    Default

    no ... I do this !!!

Similar Threads

  1. Help! linking error
    By thfai2000 in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 10-30-2008, 04:30 AM
  2. compiling (kdevelop) lib files missing?
    By cpury in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 01-27-2007, 01:35 PM
  3. error compiling 0.9 svn
    By voudras in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 01-11-2007, 06:47 AM
  4. Error at startup
    By in forum Other RTsoft Games
    Replies: 3
    Last Post: 06-28-2006, 09:27 AM
  5. Customized error message
    By File Sponge in forum Funeral Quest
    Replies: 2
    Last Post: 08-13-2004, 12:33 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •