Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 20, 2013, 01:38:46 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5382
Members
Latest Member:
Razasaqib
Crystal Space
Crystal Space Development
Support
Linking Errors Due to Environment
« previous
next »
Pages:
[
1
]
Author
Topic: Linking Errors Due to Environment (Read 1745 times)
jwir3
Administrator
Newbie
Posts: 13
Linking Errors Due to Environment
«
on:
December 24, 2007, 12:01:33 am »
Hi Everyone!
I have the following setup:
Windows XP
nVidia GeForce 8800 GTS
CSWin32Libs Version 1.3
Current CrystalSpace Development Version (SVN Trunk Source)
Current CEL Development Version (SVN Trunk Source)
Microsoft Visual C++ 8 (Visual Studio 2005 Express Edition)
I am having trouble compiling my project, Eridanus. The errors have only happened recently, but I can't compile known working versions of the Eridanus source tree, either. Something must be messed up with my environment, as I previously could compile them, and others on my team can compile both the current version and the new version. Crystal Space and CEL compile fine, and all of the demo programs run correctly. CEL and CRYSTAL environment variables have been set correctly.
I am getting the following errors when attempting to compile:
2>Linking...
2>apperidanus.obj : error LNK2001: unresolved external symbol "private: static char * csApplicationFramework::m_ApplicationStringName" (?m_ApplicationStringName@csApplicationFramework@@0PADA)
2>eridanusbaseclasses.obj : error LNK2001: unresolved external symbol "private: static char * csApplicationFramework::m_ApplicationStringName" (?m_ApplicationStringName@csApplicationFramework@@0PADA)
2>eridanusplayer.obj : error LNK2001: unresolved external symbol "private: static char * csApplicationFramework::m_ApplicationStringName" (?m_ApplicationStringName@csApplicationFramework@@0PADA)
2>eridanusworld.obj : error LNK2001: unresolved external symbol "private: static char * csApplicationFramework::m_ApplicationStringName" (?m_ApplicationStringName@csApplicationFramework@@0PADA)
2>apperidanus.obj : error LNK2001: unresolved external symbol "protected: static struct iObjectRegistry * csApplicationFramework::object_reg" (?object_reg@csApplicationFramework@@1PAUiObjectRegistry@@A)
2>eridanusbaseclasses.obj : error LNK2001: unresolved external symbol "protected: static struct iObjectRegistry * csApplicationFramework::object_reg" (?object_reg@csApplicationFramework@@1PAUiObjectRegistry@@A)
2>eridanusplayer.obj : error LNK2001: unresolved external symbol "protected: static struct iObjectRegistry * csApplicationFramework::object_reg" (?object_reg@csApplicationFramework@@1PAUiObjectRegistry@@A)
2>eridanusworld.obj : error LNK2019: unresolved external symbol "protected: static struct iObjectRegistry * csApplicationFramework::object_reg" (?object_reg@csApplicationFramework@@1PAUiObjectRegistry@@A) referenced in function __ehhandler$?PlaceMesh@EridanusWorld@@QAE_NPBD0ABVcsVector3@@0@Z
2>libceltool_d.lib(initapp.obj) : error LNK2019: unresolved external symbol "public: static struct iSCF * iSCF::SCF" (?SCF@iSCF@@2PAU1@A) referenced in function "public: static char const * __cdecl iCommandLineParser::InterfaceTraits::GetName(void)" (?GetName@InterfaceTraits@iCommandLineParser@@SAPBDXZ)
2>apperidanus.obj : error LNK2001: unresolved external symbol "public: static struct iSCF * iSCF::SCF" (?SCF@iSCF@@2PAU1@A)
2>eridanusbaseclasses.obj : error LNK2001: unresolved external symbol "public: static struct iSCF * iSCF::SCF" (?SCF@iSCF@@2PAU1@A)
2>eridanusplayer.obj : error LNK2001: unresolved external symbol "public: static struct iSCF * iSCF::SCF" (?SCF@iSCF@@2PAU1@A)
2>eridanusworld.obj : error LNK2001: unresolved external symbol "public: static struct iSCF * iSCF::SCF" (?SCF@iSCF@@2PAU1@A)
2>..\..\..\bin\eridanus.exe : fatal error LNK1120: 3 unresolved externals
2>Build log was saved at "file://d:\Source\eridanus.old\out\debug8\build\apperidanus\BuildLog.htm"
2>apperidanus - 14 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 1 skipped ==========
I have tried uninstalling and re-installing MSVC, Microsoft Platform SDK, and even deleting and recompiling both CEL and CrystalSpace. None of these have helped. I have verified that libcrystalspace_d.lib and libceltool_d.lib are in the project configurations. I am somewhat at my wit's end with how to correct these errors. Any help with this would be greatly appreciated!
Thanks,
~Scott Johnson
Logged
jwir3
Administrator
Newbie
Posts: 13
Re: Linking Errors Due to Environment
«
Reply #1 on:
December 24, 2007, 08:45:49 pm »
I was able to fix this problem. Apparently, CS_BUILD_SHARED_LIBS is required in the preprocessor definitions section of the project.
~Scott
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...