Show Posts
|
|
Pages: [1] 2 3
|
|
1
|
Crystal Space Development / Support / Unreleased instances warning
|
on: January 14, 2010, 11:09:27 pm
|
|
My system: AMD Phenom 8550 triple core processor running at 2.2 GHz 4Gb memory Vista Home Premium 32 bit with SP2 Visual Studio Express 2008 DirectX9.0c
I am now trying to run simpmap. It works for a while but then crashes with many warnings about unreleased instances and 4285 objects leaked. I know what it means, but don't know how to cure it. Can anyone help, please?
|
|
|
|
|
3
|
Crystal Space Development / Support / Re: walktest build errors
|
on: January 12, 2010, 08:54:34 pm
|
|
Thanks, Res. I've done as you suggest and now get a different set of errors!
i) The command window tells me that the plugin crystalspace.kernel.vfs could not be loaded (I can't find this in any of my folders)
ii) Failed to initialize config! I've double checked the CRYSTAL environment setting, which is correct.
What's wrong now?
|
|
|
|
|
4
|
Crystal Space Development / Support / Re: walktest build errors
|
on: January 11, 2010, 10:38:35 pm
|
|
OK! I've now discovered that I have to add CS_BUILD_SHARED_LIBS to the preprocessor definitions. I've done that and walktest now compiles. But, when I run it, I get an error message "This application has failed to start because crystalspace-1.4-vc9_d.dll was not found. Re-installing the application may fix the problem". crystalspace-1.4-vc9_d.dll is located in two place; in my CS folder and in the out\debu9\bin folder. So, where is walktest trying to find this file?
|
|
|
|
|
5
|
Crystal Space Development / Support / walktest build errors
|
on: January 10, 2010, 10:54:23 pm
|
|
My system: AMD Phenom 8550 triple core processor running at 2.2 GHz 4Gb memory Vista Home Premium 32 bit with SP2 Visual Studio Express 2008 DirectX9.0c
I have succesfuly run wkstypical and am now trying to run walktest. I have set up a new project and imported the .h and .cpp files from the walktest folder. When I try to build the program I get error messages; the log file is attached. What am I missing?
|
|
|
|
|
7
|
Crystal Space Development / Support / cannot build wkstypical
|
on: January 09, 2010, 09:11:40 pm
|
|
My system: AMD Phenom 8550 triple core processor running at 2.2 GHz 4Gb memory Vista Home Premium 32 bit with SP2 Visual Studio Express 2008 DirectX9.0c
I have downloaded CS 1.4 (via Subversion), CEL 1.4 and cs-win32libs-1.4_002, which I have installed. I have downloaded zlib and unpacked it into my CS\Libs folder. I cannot find the zlib.lib file.
I have set the environment variables and the VC++ directories, but there is no out\release9\libs folder in the download, nor can I find the libcrystalspace_d.lib and libcrystalspace.lib files.
When I try to build wkstypical I get an error message telling me zlib.lib cannot be found and a load of other error messages, a sample of which is attached.
I have spent several frustrating hours unsuccessfully trying to build the program and would be glad of some help.
|
|
|
|
|
9
|
Crystal Space Development / General Crystal Space Discussion / Posting error?
|
on: January 09, 2010, 08:55:54 pm
|
|
I have just tried to post a message on the support forum. It was returned by the sytem to say I was using an .html attachment, which is not allowed. I changed it to a .txt file and tried to re-post it, but I was told I had already posted it. I've now lost all trace of it! What have I done wrong and how do I retrieve my post?
|
|
|
|
|
10
|
Crystal Space Development / General Crystal Space Discussion / Re: plgbullet
|
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.
|
|
|
|
|
11
|
Crystal Space Development / General Crystal Space Discussion / plgbullet
|
on: January 06, 2010, 09:25:32 pm
|
|
My system: AMD Phenom 8550 2.2 GHz 4Gb memory Vista Home Premium 32 bit with SP2 Visual Studio Express 2208 DirectX9.0c
I have compiled all wkstypical except plgbullet, which has generated 18 errors:
2> Creating library ..\..\out\debug8\build\plgbullet\plgbullet.lib and object ..\..\out\debug8\build\plgbullet\plgbullet.exp 2>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library 2>bullet-vc8_d.lib(CollisionWorld.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) 2>bulletdynamics-vc8_d.lib(RaycastVehicle.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) 2>bullet-vc8_d.lib(CollisionDispatcher.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_Vector_val<class PersistentManifold *,class std::allocator<class PersistentManifold *> >::~_Vector_val<class PersistentManifold *,class std::allocator<class PersistentManifold *> >(void)" (??1?$_Vector_val@PAVPersistentManifold@@V?$allocator@PAVPersistentManifold@@@std@@@std@@QAE@XZ) 2>bullet-vc8_d.lib(CompoundCollisionAlgorithm.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) 2>bulletccdphysics-vc8_d.lib(CcdPhysicsEnvironment.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) 2>bullet-vc8_d.lib(SimulationIslandManager.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) 2>bullet-vc8_d.lib(CollisionWorld.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) 2>bulletdynamics-vc8_d.lib(RaycastVehicle.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) 2>bullet-vc8_d.lib(CollisionDispatcher.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) referenced in function "protected: void __thiscall std::vector<class PersistentManifold *,class std::allocator<class PersistentManifold *> >::_Tidy(void)" (?_Tidy@?$vector@PAVPersistentManifold@@V?$allocator@PAVPersistentManifold@@@std@@@std@@IAEXXZ) 2>bullet-vc8_d.lib(CompoundCollisionAlgorithm.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) 2>bulletccdphysics-vc8_d.lib(CcdPhysicsEnvironment.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) 2>bullet-vc8_d.lib(SimulationIslandManager.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base@std@@QBEXXZ) 2>bulletdynamics-vc8_d.lib(RaycastVehicle.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) 2>bullet-vc8_d.lib(CollisionDispatcher.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) referenced in function "protected: __thiscall std::_Vector_val<class PersistentManifold *,class std::allocator<class PersistentManifold *> >::_Vector_val<class PersistentManifold *,class std::allocator<class PersistentManifold *> >(class std::allocator<class PersistentManifold *>)" (??0?$_Vector_val@PAVPersistentManifold@@V?$allocator@PAVPersistentManifold@@@std@@@std@@IAE@V?$allocator@PAVPersistentManifold@@@1@@Z) 2>bullet-vc8_d.lib(CompoundCollisionAlgorithm.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) 2>bulletccdphysics-vc8_d.lib(CcdPhysicsEnvironment.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) 2>bullet-vc8_d.lib(SimulationIslandManager.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) 2>..\..\bullet.dll : fatal error LNK1120: 3 unresolved externals 2>Build log was saved at "file://c:\CrystalSpace\crystalspace-src-1.2.1\out\debug8\build\plgbullet\BuildLog.htm" 2>plgbullet - 18 error(s), 1 warning(s)
How do I correct these errors? Best wishes
Tony Holland
|
|
|
|
|
13
|
Crystal Space Development / Support / Re: simple1:could not load plugins
|
on: September 01, 2008, 10:14:06 pm
|
|
I'm not sure I know what I'm looking for!
I downloaded the file crystalspace-src-1.2.1.zip which I unzipped into my folder CrystalSpace, where it appeard as a sub-folder CrystalSpace-src-1.2.1. I compiled wkstypical.sln from ...\mk\msvc71 with Microsoft Visual.NET 2003, but as far as I can see there is no crystalspace executable. Normally with .NET an executable would be saved in (in this case) a debug folder, but this hasn't happened. However, CrystalSpace must have compiled OK because walktest works. But this doesn't help me find the address for the environment variable.
Any enlightenment would be welcome.
Best wishes
Dutch
|
|
|
|
|
|