DLL compilation error

Laz0r

Warlord
Joined
Oct 18, 2019
Messages
126
Hi, ever since the introduction of git into the compiling process I've been unable to compile it and have been given the following error code:
Code:
1>Version identifier will be "Release-2.2.1-6-g01c06d348 Unknown"
1>CvDllContext.cpp
1>CvDllContext.cpp(51): fatal error C1083: Cannot open include file: '../commit_id.inc': No such file or directory
1>CvGame.cpp
1>CvGame.cpp(69): fatal error C1083: Cannot open include file: '../commit_id.inc': No such file or directory
1>Done building project "VoxPopuli.vcxproj" -- FAILED.

Is anyone privy as to what is causing this? Alternatively, if could anyone compile and upload a dll file for me with the following change in the cvcity.cpp file, I would be very grateful:
Code:
if (pUnit->getUnitInfo().IsFoodProduction() && getPopulation() > 1)
            changePopulation(-1);

Set changepopulation(-1) to changepopulation(0)
 
Top Bottom