1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

A simple guide to compiling the DLL

Discussion in 'Civ4 - Modding Tutorials & Reference' started by Asaf, Dec 29, 2010.

  1. Lemon Merchant

    Lemon Merchant Forum Buzzkill Super Moderator

    Joined:
    Jun 27, 2008
    Messages:
    8,388
    Gender:
    Female
    Location:
    Red Sector A
    In order to debug with symbols, I believe that you need the Debugging Symbols Library from Microsoft.

    http://msdn.microsoft.com/en-us/windows/hardware/gg462988.aspx

    I have it installed, and it seems to make things go a little more easily when debugging.

    Just a thought.
     
  2. Terkhen

    Terkhen King

    Joined:
    Aug 1, 2011
    Messages:
    912
    Gender:
    Male
    Location:
    Granada
    Terradive: You are getting function names, which means that you have *some* symbols. Otherwise, you would not even get function names in your trace. Maybe I'm getting this part wrong, though :p

    I had a similar issue while trying to debug crashes on Realism Invictus. I believe that the makefile used with RI is different than the one here, but the solution should be similar. My issue was that I did not want to get stacktraces using a debug build, as they have some bogus asserts that slow testing to a crawl. Debug buils were generated with all symbols extracted, but release builds were missing line numbers and variables. I ended up adapting the makefile to generate the same symbols for release builds too.

    I don't know how the makefiles are done for in other mods (I have only compiled RI), but in any case make sure that you are not compiling a release build by mistake.

    If you are using a debug build, then maybe there is something different with the makefile used by that mod.
     
  3. Asaf

    Asaf Sleep Deprived

    Joined:
    Mar 22, 2010
    Messages:
    1,326
    @LM - To debug the DLL there's no need for Microsoft's symbols. They're only needed to see system DLL's callstack.

    @Terradive - As Terkhen said, you have some symbols. Did you use the makefile from this tutorial? Is your makefile different? If so, can you post it?
     
  4. Lemon Merchant

    Lemon Merchant Forum Buzzkill Super Moderator

    Joined:
    Jun 27, 2008
    Messages:
    8,388
    Gender:
    Female
    Location:
    Red Sector A
    Oh neat. Thanks for telling me. I had them loaded to do something else and just assumed they were needed here as well.
     
  5. Terkhen

    Terkhen King

    Joined:
    Aug 1, 2011
    Messages:
    912
    Gender:
    Male
    Location:
    Granada
    After playing a bit with the source code and Makefiles of a few projects I have tweaked the project files found at this thread a bit. My version includes project files for Visual Studio 2010, and also a nice feature by jaiiderherr from Total Realism / Realism Invictus (I only know the nick from the Subversion repository, please tell me if you know the forum nickname so I can change the credits accordingly).

    The Makefile checks Makefile-Vars to know the paths and tools to use. Makefile-Vars.sample is an example of how to create the Makefile-Vars file. This allows to keep the main Makefile unchanged, which is quite nice when you work with a version control system. I have not tested these modifications with Visual Studio 2008, so any feedback regarding that will be welcome.

    I also have made a change that allows to ignore the /Zi flag (which includes names and types of variables, as well as functions and line numbers in the debug information) for certain files and keep it for the rest. This seems to be necessary in some mods such as BULL or Realism Invictus, where some files trigger an error about debug symbols. With this modification, you don't need to sacrifice the /Zi flag or to specify all files in the Makefile. An example of how to make this Makefile work with BULL is shown in the attached diff file.

    I don't claim any credit for these modifications, but I'm posting them here hoping that they are useful. Thanks again for the tutorial and the files! ;)
     

    Attached Files:

  6. Asaf

    Asaf Sleep Deprived

    Joined:
    Mar 22, 2010
    Messages:
    1,326
    Thanks Terkhen! The splitting of the makefile can indeed be useful in some cases.

    In VS2010 MS introduced the new MSBuild property pages and it's much more configurable, so I guess the DLL can be compiled without any makefiles at all, and it'll have the advantages of being able to compile just one file, not needing to run make if the project was built and not modified, and being able to set the compiler switches from within the GUI.

    But it requires work to prepare this infrastructure, and I'm not that experienced with MSBuild, and definitely don't have the time.

    So if anyone's interested...
     
  7. Terradive

    Terradive Warlord

    Joined:
    Jun 4, 2009
    Messages:
    186
    I was accidently using the makefile in Lor. After I used the correct one, I got a good stack call. Thanks guys!
     
  8. Sareln

    Sareln Warlord

    Joined:
    Dec 29, 2005
    Messages:
    211
    Location:
    Davis, CA
    Solved, see Solution at Bottom

    Trying to follow this tutorial to get to breakpoint capability but am running into a problem.

    Ran into a problem with Symbols and Breakpoints. Duplicated the problem in both VS2010 and VS2008 (C++ Express both).

    I appear to be loading symbols correctly, but my breakpoints are not enabled; I think the following screenshot captures the whole of the situation. Additionally, if I put in some always-triggering fasserts, I can break and see the call stack for the assert with the correct function calls when I'm running debugging.

    The new .dll is being correctly copied (tested that with FAssert)
    The correct .pdb is being loaded (looked at where it was loading from and the timestamp on it and the dll match).
    I've been able to get the .dll to compile and run correctly, but breakpoint-based debugging would be quite helpful at this point now.



    I am playing around with the FfH2 .dll for reference. The makefile is the one Danny put together and a copy is on my dropbox here.

    Has anyone seen anything similar?

    EDIT: Potentially found what was causing the problem. I was running into the error stated here, the compiler limit. Earlier in my debugging I had removed the \Zi flag from my debug compile to get around the compiler limit. I'm now applying the fix talked about here, to break up the too-large define files and will try again with \Zi enabled and see if that helps.

    EDIT2: Yeah that was it. So in the future, if anyone sees an error like this (Symbols loaded, breakpoints disabled anyways), make sure that you've set \Zi or an equivalent flag in your makefile. If your project can't compile with \Zi, fix it so that it does by breaking up the file which is too large.
     
  9. Chazcon

    Chazcon Prince

    Joined:
    Feb 16, 2006
    Messages:
    475
    Location:
    Left Coast
    This is very intriguing. I've been thinking about it since you posted. Just too busy irl.

    What I would like to be able to do is have the full debugging features of VS2010 while modding the Civ .dll without a lot of hassle, i.e. as if it were code compiled in VS2010 and not VS2003.

    I think Sid's boys should port the Civ code over for us :p We'll send you a Christmas goose, I promise.

    However, I am sitting down today to port over my ChazMod to BtS so maybe I will be sucked into the Civ modding vortex again.
     
  10. Terkhen

    Terkhen King

    Joined:
    Aug 1, 2011
    Messages:
    912
    Gender:
    Male
    Location:
    Granada
    I don't know what are the differences in debugging features between 2003 and 2010 because I'm only accustomed to 2010, but I have not noticed any differences on debugging possibilities between the code I usually work with on 2010 and the civilization dll. After some makefile changes (depending on the mod), I was able to get stacktraces with complete information just fine. I was even able to get minidumps working with the dll: http://forums.civfanatics.com/showthread.php?p=10938422

    Of course, we are missing symbols for the game itself, but that could only be fixed by having the pdb file of the real game.
     
  11. Asaf

    Asaf Sleep Deprived

    Joined:
    Mar 22, 2010
    Messages:
    1,326
    @Chazcon - What debugging feature are you missing in the current workflow?
     
  12. Vanya

    Vanya Chieftain

    Joined:
    Oct 30, 2011
    Messages:
    37
    hi asaf.

    i wanna to merge the best mods. but some of them use the cvgamecore.dll

    i get some error in the compiling

    my os : win 7

    the first 3 line of edted makedir :

    TOOLKIT=C:\Development\Toolkit
    PSDK=C:\Development\WindowsSDK
    CIVINSTALL=C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword

    below some screenshot of my dir organization

    in the next post the output
     
  13. Vanya

    Vanya Chieftain

    Joined:
    Oct 30, 2011
    Messages:
    37
    the output:

    Spoiler :
    1>Performing Makefile project actions
    1> "C:\Development\Toolkit\bin\link.exe" /out:Release\CvGameCoreDLL.dll /INCREMENTAL:NO /OPT:REF /OPT:ICF /PDB:"Release\CvGameCoreDLL.pdb" /DLL /NOLOGO /SUBSYSTEM:WINDOWS /LARGEADDRESSAWARE /TLBID:1 /LIBPATH:python24/libs /LIBPATH:boost-1.32.0/libs/ boost_python-vc71-mt-1_32.lib /LIBPATH:"C:\Development\Toolkit/lib" /LIBPATH:"C:\Development\WindowsSDK/Lib" /LIBPATH:"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/libs" /LIBPATH:"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Python24/libs" winmm.lib user32.lib Release\CvArea.obj Release\CvArtFileMgr.obj Release\CvCity.obj Release\CvCityAI.obj Release\CvDeal.obj Release\CvDiploParameters.obj Release\CvDLLButtonPopup.obj Release\CvDLLEntity.obj Release\CvDLLPython.obj Release\CvDllPythonEvents.obj Release\CvDllTranslator.obj Release\CvDLLWidgetData.obj Release\CvEventReporter.obj Release\CvFractal.obj Release\CvGame.obj Release\CvGameAI.obj Release\CvGameCoreDLL.obj Release\CvGameCoreUtils.obj Release\CvGameInterface.obj Release\CvGameTextMgr.obj Release\CvGlobals.obj Release\CvHallOfFameInfo.obj Release\CvInfos.obj Release\CvInfoWater.obj Release\CvInitCore.obj Release\CvMap.obj Release\CvMapGenerator.obj Release\CvMessageControl.obj Release\CvMessageData.obj Release\CvPlayer.obj Release\CvPlayerAI.obj Release\CvPlot.obj Release\CvPlotGroup.obj Release\CvPopupInfo.obj Release\CvPopupReturn.obj Release\CvRandom.obj Release\CvReplayInfo.obj Release\CvReplayMessage.obj Release\CvSelectionGroup.obj Release\CvSelectionGroupAI.obj Release\CvStatistics.obj Release\CvStructs.obj Release\CvTalkingHeadMessage.obj Release\CvTeam.obj Release\CvTeamAI.obj Release\CvTextScreens.obj Release\CvUnit.obj Release\CvUnitAI.obj Release\CvXMLLoadUtility.obj Release\CvXMLLoadUtilityGet.obj Release\CvXMLLoadUtilityInit.obj Release\CvXMLLoadUtilitySet.obj Release\CyArea.obj Release\CyAreaInterface.obj Release\CyArgsList.obj Release\CyArtFileMgr.obj Release\CyArtFileMgrInterface.obj Release\CyCity.obj Release\CyCityInterface1.obj Release\CyDeal.obj Release\CyEnumsInterface.obj Release\CyGame.obj Release\CyGameCoreUtils.obj Release\CyGameCoreUtilsInterface.obj Release\CyGameInterface.obj Release\CyGameTextMgr.obj Release\CyGameTextMgrInterface.obj Release\CyGlobalContext.obj Release\CyGlobalContextInterface1.obj Release\CyGlobalContextInterface2.obj Release\CyGlobalContextInterface3.obj Release\CyGlobalContextInterface4.obj Release\CyHallOfFameInfo.obj Release\CyHallOfFameInterface.obj Release\CyInfoInterface1.obj Release\CyInfoInterface2.obj Release\CyInfoInterface3.obj Release\CyMap.obj Release\CyMapGenerator.obj Release\CyMapGeneratorInterface.obj
     
  14. Vanya

    Vanya Chieftain

    Joined:
    Oct 30, 2011
    Messages:
    37
    Spoiler :
    Release\CyMapInterface.obj Release\CyMessageControl.obj Release\CyMessageControlInterface.obj Release\CyPlayer.obj Release\CyPlayerInterface1.obj Release\CyPlayerInterface2.obj Release\CyPlot.obj Release\CyPlotInterface1.obj Release\CyRandomInterface.obj Release\CyReplayInfo.obj Release\CySelectionGroup.obj Release\CySelectionGroupInterface.obj Release\CyStructsInterface1.obj Release\CyTeam.obj Release\CyTeamInterface.obj Release\CyUnit.obj Release\CyUnitInterface1.obj Release\FAssert.obj Release\FDialogTemplate.obj Release\_precompile.obj Release\CvGameCoreDLL.res
    1>MSVCRT.lib(crtdll.obj) : warning LNK4078: multiple '.CRT' sections found with different attributes (40300040)
    1>MSVCRT.lib(crtmanifestrtm.obj) : warning LNK4229: invalid directive '/manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
    1>MSVCRT.lib(crtmanifestrtm.obj) : warning LNK4229: invalid directive '/manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
    1>MSVCRT.lib(crtdll.obj) : warning LNK4078: multiple '.CRT' sections found with different attributes (40300040)
    1> Creating library Release\CvGameCoreDLL.lib and object Release\CvGameCoreDLL.exp
    1>CyMessageControl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyStructsInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>_precompile.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyHallOfFameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyInfoInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyInfoInterface2.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyInfoInterface3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvUnit.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvUnitAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvXMLLoadUtilitySet.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyCity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvSelectionGroup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvStatistics.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvStructs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvTeam.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvPlot.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvPopupInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvPopupReturn.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvReplayInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvMapGenerator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvMessageData.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvPlayer.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvPlayerAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvGlobals.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvHallOfFameInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvInfos.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvMap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvEventReporter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvGame.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvGameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvGameTextMgr.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvDLLButtonPopup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvDllPythonEvents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvDllTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ) referenced in function "public: void __thiscall CvPopupInfo::`default constructor closure'(void)" (??_FCvPopupInfo@@QAEXXZ)
    1>CvArtFileMgr.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ) referenced in function $L164397
    1>CvCity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvCityAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CvDiploParameters.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall exception::~exception(void)" (__imp_??1exception@@UAE@XZ)
    1>CyMessageControl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ) referenced in function "public: void __thiscall CyMessageControl::sendEspionageSpendingWeightChange(int,int)" (?sendEspionageSpendingWeightChange@CyMessageControl@@QAEXHH@Z)
    1>CyStructsInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>_precompile.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CyHallOfFameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CyInfoInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CyInfoInterface2.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CyInfoInterface3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvUnit.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvUnitAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvXMLLoadUtilitySet.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CyCity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvSelectionGroup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvStatistics.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvStructs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvTeam.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvPlot.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvPopupInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvPopupReturn.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvReplayInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvMapGenerator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvMessageData.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvPlayer.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvPlayerAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvGlobals.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvHallOfFameInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvInfos.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvMap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvEventReporter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvGame.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvGameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvGameTextMgr.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvDLLButtonPopup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvDllPythonEvents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvDllTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvDLLWidgetData.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvArtFileMgr.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ) referenced in function "public: __thiscall std::logic_error::logic_error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z)
    1>CvCity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvCityAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ)
    1>CvDiploParameters.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(void)" (__imp_??0exception@@QAE@XZ) referenced in function "public: void __thiscall FVariable::CopyFrom(class FVariable const &)" (?CopyFrom@FVariable@@QAEXABV1@@Z)
    1>CyMessageControl.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyStructsInterface1.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>_precompile.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyHallOfFameInterface.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyInfoInterface1.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyInfoInterface2.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyInfoInterface3.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvUnit.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvUnitAI.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvXMLLoadUtilitySet.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyCity.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvSelectionGroup.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvStatistics.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvStructs.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvTeam.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvPlot.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvPopupInfo.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvPopupReturn.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvReplayInfo.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvMapGenerator.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
     
  15. Vanya

    Vanya Chieftain

    Joined:
    Oct 30, 2011
    Messages:
    37
    Spoiler :
    1>CvMessageData.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvPlayer.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvPlayerAI.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvGlobals.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvHallOfFameInfo.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvInfos.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvMap.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvEventReporter.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvGame.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvGameInterface.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvGameTextMgr.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvDLLButtonPopup.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvDllPythonEvents.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvDllTranslator.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvDLLWidgetData.obj : error LNK2019: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z) referenced in function "public: bool __thiscall CvDLLWidgetData::executeAction(struct CvWidgetDataStruct &)" (?executeAction@CvDLLWidgetData@@QAE_NAAUCvWidgetDataStruct@@@Z)
    1>CvArtFileMgr.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvCity.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CvCityAI.obj : error LNK2019: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z) referenced in function "public: int __thiscall CvCityAI::AI_buildingValueThreshold(enum BuildingTypes,int,int)" (?AI_buildingValueThreshold@CvCityAI@@QAEHW4BuildingTypes@@HH@Z)
    1>CvDiploParameters.obj : error LNK2001: unresolved external symbol "public: __thiscall exception::exception(class exception const &)" (??0exception@@QAE@ABV0@@Z)
    1>CyMessageControl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyStructsInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>_precompile.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyHallOfFameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyInfoInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyInfoInterface2.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyInfoInterface3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvUnit.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvUnitAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvXMLLoadUtilitySet.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyCity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvSelectionGroup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z) referenced in function "public: void __thiscall CvSelectionGroup::continueMission(int)" (?continueMission@CvSelectionGroup@@QAEXH@Z)
    1>CvStatistics.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvStructs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvTeam.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvPlot.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvPopupInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvPopupReturn.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvReplayInfo.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z) referenced in function "protected: class std::_Tree<class std::_Tmap_traits<enum PlayerTypes,int,struct std::less<enum PlayerTypes>,class std::allocator<struct std::pair<enum PlayerTypes const ,int> >,0> >::iterator __thiscall std::_Tree<class std::_Tmap_traits<enum PlayerTypes,int,struct std::less<enum PlayerTypes>,class std::allocator<struct std::pair<enum PlayerTypes const ,int> >,0> >::_Insert(bool,struct std::_Tree_nod<class std::_Tmap_traits<enum PlayerTypes,int,struct std::less<enum PlayerTypes>,class std::allocator<struct std::pair<enum PlayerTypes const ,int> >,0> >::_Node *,struct std::pair<enum PlayerTypes const ,int> const &)" (?_Insert@?$_Tree@V?$_Tmap_traits@W4PlayerTypes@@HU?$less@W4PlayerTypes@@@std@@V?$allocator@U?$pair@$$CBW4PlayerTypes@@H@std@@@3@$0A@@std@@@std@@IAE?AViterator@12@_NPAU_Node@?$_Tree_nod@V?$_Tmap_traits@W4PlayerTypes@@HU?$less@W4PlayerTypes@@@std@@V?$allocator@U?$pair@$$CBW4PlayerTypes@@H@std@@@3@$0A@@std@@@2@ABU?$pair@$$CBW4PlayerTypes@@H@2@@Z)
    1>CvMapGenerator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvMessageData.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvPlayer.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvPlayerAI.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z) referenced in function "public: virtual int __thiscall CvPlayerAI::AI_maxGoldTrade(enum PlayerTypes)const " (?AI_maxGoldTrade@CvPlayerAI@@UBEHW4PlayerTypes@@@Z)
    1>CvGlobals.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvHallOfFameInfo.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvInfos.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvMap.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvEventReporter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvGame.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvGameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvGameTextMgr.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvDLLButtonPopup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvDllPythonEvents.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvDllTranslator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvDLLWidgetData.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvArtFileMgr.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z) referenced in function "public: __thiscall std::logic_error::logic_error(class std::logic_error const &)" (??0logic_error@std@@QAE@ABV01@@Z)
    1>CvCity.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvCityAI.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CvDiploParameters.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall exception::exception(class exception const &)" (__imp_??0exception@@QAE@ABV0@@Z)
    1>CyTeamInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyUnitInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyPlotInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyRandomInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CySelectionGroupInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyStructsInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyMapInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyMessageControlInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyPlayerInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyPlayerInterface2.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyInfoInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyInfoInterface2.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyInfoInterface3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const "
    (__imp_?name@type_info@@QBEPBDXZ)
    1>CyMapGeneratorInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGlobalContextInterface2.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGlobalContextInterface3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGlobalContextInterface4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyHallOfFameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGameCoreUtilsInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGameInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGameTextMgrInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyGlobalContextInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CvDLLPython.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ) referenced in function "public: static struct boost::python::detail::signature_element const * __cdecl boost::python::detail::signature_arity<1>::impl<struct boost::mpl::vector2<void,struct _object *> >::elements(void)" (?elements@?$impl@U?$vector2@XPAU_object@@@mpl@boost@@@?$signature_arity@$00@detail@python@boost@@SAPBUsignature_element@345@XZ)
    1>CyAreaInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyArtFileMgrInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>CyCityInterface1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall type_info::name(void)const " (__imp_?name@type_info@@QBEPBDXZ)
    1>_precompile.obj : error LNK2001: unresolved external symbol "public: __thiscall bad_cast::bad_cast(class bad_cast const &)" (??0bad_cast@@QAE@ABV0@@Z)
    1>_precompile.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall bad_cast::~bad_cast(void)" (??1bad_cast@@UAE@XZ)
    1>_precompile.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::locale::facet::_Register(void)" (__imp_?_Register@facet@locale@std@@QAEXXZ) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
    1>_precompile.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bad_cast::bad_cast(char const *)" (__imp_??0bad_cast@@QAE@PBD@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
    1>_precompile.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::ctype<char> const & __cdecl std::use_facet<class std::ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z)
    1>_precompile.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl std::ctype<unsigned short>::_Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@G@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::ctype<unsigned short> const & __cdecl std::use_facet<class std::ctype<unsigned short> >(class std::locale const &)" (??$use_facet@V?$ctype@G@std@@@std@@YAABV?$ctype@G@0@ABVlocale@0@@Z)
    1>Release\CvGameCoreDLL.dll : fatal error LNK1120: 11 unresolved externals
    1>NMAKE : warning U4010: 'Release\CvGameCoreDLL.dll' : build failed; /K specified, continuing ...
    1>NMAKE : warning U4011: 'Release' : not all dependents available; target not built
    1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
    1>Build log was saved at "file://c:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\Mod Source\CvGameCoreDLL\Release\BuildLog.htm"
    1>CvGameCoreDLL - 190 error(s), 6 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
     
  16. Chazcon

    Chazcon Prince

    Joined:
    Feb 16, 2006
    Messages:
    475
    Location:
    Left Coast
    Vanya - ouch, please edit those posts and use spoiler tags, mate :eek:
    Moderator Action: Added spoilers to 2 of the posts. The_J

    Asaf - it turns out I am missing nothing, except a part of my brain, debugging is working great with the your tutorial and makefile ;)
     
  17. Vanya

    Vanya Chieftain

    Joined:
    Oct 30, 2011
    Messages:
    37
    thanks the J for the editing of my posts. i haven't seen the spoiler button in the interface. yesterday i was editing but my connecction jumped off.

    @asaf please answer me! i didn't manage to compile the dll. :wallbash:
     
  18. Asaf

    Asaf Sleep Deprived

    Joined:
    Mar 22, 2010
    Messages:
    1,326
    Good to hear :goodjob:

    @Vanya - Can you attach your makefile, .vcproj and .sln files?
     
  19. Vanya

    Vanya Chieftain

    Joined:
    Oct 30, 2011
    Messages:
    37
    sure. best i will upload my entire cvgamecore source directory.

    it's a clean cvgamecoredll made merging your project archive and your cvgamecoredll source for BTS 3.19. it should once compiled create the original cvgamecore.dll.

    i upload this to remove the error dued to the source file of the mod i try to merge. so we can better understand the nature of the issue.

    thnks for your time.

    p.s the cvgamecoredll directory is the only dir in mi mod dir when i compile this can be an issue?

    p.p.s. i noticed the forum count the space of my uploads. how can i delete the upload to free space?
     
  20. Asaf

    Asaf Sleep Deprived

    Joined:
    Mar 22, 2010
    Messages:
    1,326
    Does the folder you attached give the same errors you posted above? Because it looks fine.

    In your account's page, at the bottom of the control panel to the left you have 'attachments'.
     

Share This Page