|
Dutch
|
 |
« Reply #2 on: January 07, 2010, 11:26:37 pm » |
|
Many thanks, Res.
I've downloaded CS 1.4, but I cannot get it to compile. I now have a new list of errors (this is just a selection):
1>------ Build started: Project: libcrystalspace, Configuration: Debug (with DLLs) Win32 ------ 1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'zlib.lib' 1>Build log was saved at "file://c:\CS_stable\out\debug9\build\libcrystalspace\BuildLog.htm" 1>libcrystalspace - 1 error(s), 0 warning(s) 2>------ Build started: Project: libcrystalspace_opengl, Configuration: Debug (with DLLs) Win32 ------ 3>------ Build started: Project: libcrystalspace_windows, Configuration: Debug (with DLLs) Win32 ------ 4>------ Build started: Project: libcrystalspace_directx, Configuration: Debug (with DLLs) Win32 ------ 3>Linking... 4>Linking... 2>Linking... 4> Creating library ..\..\out\debug9\libs\libcrystalspace_directx_d.lib and object ..\..\out\debug9\libs\libcrystalspace_directx_d.exp 3> Creating library ..\..\out\debug9\libs\libcrystalspace_windows_d.lib and object ..\..\out\debug9\libs\libcrystalspace_windows_d.exp 2> Creating library ..\..\out\debug9\libs\libcrystalspace_opengl_d.lib and object ..\..\out\debug9\libs\libcrystalspace_opengl_d.exp 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) char * __cdecl csStrNew(char const *)" (__imp_?csStrNew@@YAPADPBD@Z) referenced in function "public: __thiscall DirectDetectionDevice::DirectDetectionDevice(class DirectDetectionDevice const &)" (??0DirectDetectionDevice@@QAE@ABV0@@Z) 4>error.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char * __cdecl csStrNew(char const *)" (__imp_?csStrNew@@YAPADPBD@Z) 2>driverdb.obj : warning LNK4217: locally defined symbol ??4csStringHash@@QAEAAV0@ABV0@@Z (public: class csStringHash & __thiscall csStringHash::operator=(class csStringHash const &)) imported in function "public: class csGLDriverDatabase & __thiscall csGLDriverDatabase::operator=(class csGLDriverDatabase const &)" (??4csGLDriverDatabase@@QAEAAV0@ABV0@@Z) 3>customcursor.obj : warning LNK4217: locally defined symbol ?SetFormat@csImageMemory@@QAEXH@Z (public: void __thiscall csImageMemory::SetFormat(int)) imported in function "private: struct csWin32CustomCursors::CachedCursor __thiscall csWin32CustomCursors::CreateCursor(struct iImage *,struct csRGBcolor const *,int,int)" (?CreateCursor@csWin32CustomCursors@@AAE?AUCachedCursor@1@PAUiImage@@PBUcsRGBcolor@@HH@Z) 2>glcommon2d.obj : warning LNK4049: locally defined symbol ??4csStringHash@@QAEAAV0@ABV0@@Z (public: class csStringHash & __thiscall csStringHash::operator=(class csStringHash const &)) imported 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl csPrintfV(char const *,char *)" (__imp_?csPrintfV@@YAHPBDPAD@Z) referenced in function "public: static void __cdecl csReporterHelper::ReportV(struct iObjectRegistry *,int,char const *,char const *,char *)" (?ReportV@csReporterHelper@@SAXPAUiObjectRegistry@@HPBD1PAD@Z) 3>customcursor.obj : warning LNK4217: locally defined symbol ??0csImageMemory@@QAE@PAUiImage@@@Z (public: __thiscall csImageMemory::csImageMemory(struct iImage *)) imported in function "private: struct csWin32CustomCursors::CachedCursor __thiscall csWin32CustomCursors::CreateCursor(struct iImage *,struct csRGBcolor const *,int,int)" (?CreateCursor@csWin32CustomCursors@@AAE?AUCachedCursor@1@PAUiImage@@PBUcsRGBcolor@@HH@Z) 2>glfontcache.obj : warning LNK4217: locally defined symbol ??4csStringHash@@QAEAAV0@ABV0@@Z (public: class csStringHash & __thiscall csStringHash::operator=(class csStringHash const &)) imported in function "public: __thiscall csGLFontCache::csGLFontCache(class csGLFontCache const &)" (??0csGLFontCache@@QAE@ABV0@@Z) 3>customcursor.obj : warning LNK4217: locally defined symbol ?cswinIsWinNT@@YA_NPAW4cswinWindowsVersion@@@Z (bool __cdecl cswinIsWinNT(enum cswinWindowsVersion *)) imported in function "private: struct csWin32CustomCursors::CachedCursor __thiscall csWin32CustomCursors::CreateCursor(struct iImage *,struct csRGBcolor const *,int,int)" (?CreateCursor@csWin32CustomCursors@@AAE?AUCachedCursor@1@PAUiImage@@PBUcsRGBcolor@@HH@Z) 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl csStrNCaseCmp(char const *,char const *,unsigned int)" (__imp_?csStrNCaseCmp@@YAHPBD0I@Z) referenced in function "public: static void __cdecl csReporterHelper::ReportV(struct iObjectRegistry *,int,char const *,char const *,char *)" (?ReportV@csReporterHelper@@SAXPAUiObjectRegistry@@HPBD1PAD@Z) 2>glss.obj : warning LNK4049: locally defined symbol ??4csStringHash@@QAEAAV0@ABV0@@Z (public: class csStringHash & __thiscall csStringHash::operator=(class csStringHash const &)) imported 3>customcursor.obj : warning LNK4217: locally defined symbol ?cs_malloc@@YAPAXI@Z (void * __cdecl cs_malloc(unsigned int)) imported in function "public: static void * __cdecl CS::Memory::CustomAllocated::operator new(unsigned int)" (??2CustomAllocated@Memory@CS@@SAPAXI@Z) 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl csPrintf(char const *,...)" (__imp_?csPrintf@@YAHPBDZZ) referenced in function "public: static void __cdecl csReporterHelper::ReportV(struct iObjectRegistry *,int,char const *,char const *,char *)" (?ReportV@csReporterHelper@@SAXPAUiObjectRegistry@@HPBD1PAD@Z) 2>driverdb.obj : warning LNK4217: locally defined symbol ??1csFontCache@@UAE@XZ (public: virtual __thiscall csFontCache::~csFontCache(void)) imported in function __unwindfunclet$??0csGLFontCache@@QAE@ABV0@@Z$0 3>customcursor.obj : warning LNK4217: locally defined symbol ?cs_free@@YAXPAX@Z (void __cdecl cs_free(void *)) imported in function "public: static void __cdecl CS::Memory::CustomAllocated::operator delete(void *)" (??3CustomAllocated@Memory@CS@@SAXPAX@Z) 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall csStringBase::CompareNoCase(char const *)const " (__imp_?CompareNoCase@csStringBase@@QBE_NPBD@Z) referenced in function "public: class DirectDetectionDevice const * __thiscall DirectDetection::FindBestDevice(int)" (?FindBestDevice@DirectDetection@@QAEPBVDirectDetectionDevice@@H@Z) 2>glcommon2d.obj : warning LNK4049: locally defined symbol ??1csFontCache@@UAE@XZ (public: virtual __thiscall csFontCache::~csFontCache(void)) imported 3>customcursor.obj : warning LNK4217: locally defined symbol ??_DcsImageMemory@@QAEXXZ (public: void __thiscall csImageMemory::`vbase destructor'(void)) imported in function "public: virtual void * __thiscall csImageMemory::`scalar deleting destructor'(unsigned int)" (??_GcsImageMemory@@UAEPAXI@Z) 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class csStringBase & __thiscall csStringBase::Append(int)" (__imp_?Append@csStringBase@@QAEAAV1@H@Z) referenced in function "public: class DirectDetectionDevice const * __thiscall DirectDetection::FindBestDevice(int)" (?FindBestDevice@DirectDetection@@QAEPBVDirectDetectionDevice@@H@Z) 2>glfontcache.obj : warning LNK4049: locally defined symbol ??1csFontCache@@UAE@XZ (public: virtual __thiscall csFontCache::~csFontCache(void)) imported 3>customcursor.obj : warning LNK4217: locally defined symbol ?ComputeNewSize@csStringBase@@IAEII@Z (protected: unsigned int __thiscall csStringBase::ComputeNewSize(unsigned int)) imported in function "protected: virtual void __thiscall csStringFast<36>::SetCapacityInternal(unsigned int,bool)" (?SetCapacityInternal@?$csStringFast@$0CE@@@MAEXI_N@Z) 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) char * __cdecl csStrNew(unsigned short const *)" (__imp_?csStrNew@@YAPADPBG@Z) referenced in function "int __stdcall DirectDetectionDDrawEnumCallback(struct _GUID *,char *,char *,void *,struct HMONITOR__ *)" (?DirectDetectionDDrawEnumCallback@@YGHPAU_GUID@@PAD1PAXPAUHMONITOR__@@@Z) 2>glss.obj : warning LNK4049: locally defined symbol ??1csFontCache@@UAE@XZ (public: virtual __thiscall csFontCache::~csFontCache(void)) imported 3>customcursor.obj : warning LNK4217: locally defined symbol ?AssertMessage@Debug@CS@@YAXPBD0H0@Z (void __cdecl CS::Debug::AssertMessage(char const *,char const *,int,char const *)) imported in function "protected: virtual void __thiscall csStringFast<36>::SetCapacityInternal(unsigned int,bool)" (?SetCapacityInternal@?$csStringFast@$0CE@@@MAEXI_N@Z) 4>directdetection.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: unsigned int __thiscall csStringBase::ComputeNewSize(unsigned int)" (__imp_?ComputeNewSize@csStringBase@@IAEII@Z) referenced in function "protected: virtual void __thiscall csStringFast<36>::SetCapacityInternal(unsigned int,bool)" (?SetCapacityInternal@?$csStringFast@$0CE@@@MAEXI_N@Z) 2>driverdb.obj : warning LNK4217: locally defined symbol ?StrDup@CS@@YAPADPBD@Z (char * __cdecl CS::StrDup(char const *)) imported in function "public: virtual void __thiscall csImageBase::SetName(char const *)" (?SetName@csImageBase@@UAEXPBD@Z) 3>customcursor.obj : warning LNK4217: locally defined symbol ?SetCapacityInternal@csStringBase@@MAEXI_N@Z (protected: virtual void __thiscall csStringBase::SetCapacityInternal(unsigned int,bool)) imported in function "protected: virtual void __thiscall csStringFast<36>::SetCapacityInternal(unsigned int,bool)" (?SetCapacityInternal@?$csStringFast@$0CE@@@MAEXI_N@Z) 3>customcursor.obj : warning LNK4217: locally defined symbol ??1csStringBase@@UAE@XZ (public: virtual __thiscall csStringBase::~csStringBase(void)) imported in function __unwindfunclet$??0?$csStringFast@$0CE@@@QAE@PBD@Z$0
I have unpacked zlib into the cs\libs folder and don't know why it cannot be found. As for the other errors, any further help would be greatly appreciated.
|