Strategia
Chieftain
- Joined
- Jul 12, 2010
- Messages
- 71
Right, 'nother problem. I'm following the Idiot's Guide to Editing the DLL, specifically the "adding a new boolean tag" section, and just before the CvGameTextMgr section, it told me to compile and test. So I tried to compile (well, Debug->Build Solution, which I assume to be pretty much the same). Then I first get a string of errors along the lines of
and then suddenly this:
What, if anything, did I do wrong? And how can I go about correcting it?
Code:
1>CvInfos.cpp(6323): error C2270: 'isUnique' : modifiers not allowed on nonmember functions
1>CvInfos.cpp(6324): error C2065: 'm_bUnique' : undeclared identifier
1>CvInfos.cpp(6338): error C3861: 'm_bUnique': identifier not found, even with argument-dependent lookup
1>CvInfos.cpp(8735): error C2614: 'CvBuildingClassInfo' : illegal member initialization: 'm_bUnique' is not a base or member
1>CvInfos.cpp(8790): error C2039: 'isUnique' : is not a member of 'CvBuildingClassInfo'
and then suddenly this:
Code:
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe"' : return code '0x2'
1> Stop.
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "nmake Release" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What, if anything, did I do wrong? And how can I go about correcting it?