<Nexus>
Traveler of the Multiverse
[GRUNTING]
Oh, boy! I hate Win10 so much! I had to change to Win10 recently so I can continue using Zoom and Firefox (and who knows what else). But in the process so much was lost, including my setup for working Visual Studio to compile a dll.
[/GRUNTING]
I followed the instructions of the OP and tried to compile the files I managed to compile successfully on Win7 before but now I get these errors and I'm clueless:
I was/am expecting the file path is wrong (disc letters were changed with the Win10 install) but I don't know where to set it up
Oh, boy! I hate Win10 so much! I had to change to Win10 recently so I can continue using Zoom and Firefox (and who knows what else). But in the process so much was lost, including my setup for working Visual Studio to compile a dll.
[/GRUNTING]
I followed the instructions of the OP and tried to compile the files I managed to compile successfully on Win7 before but now I get these errors and I'm clueless:
Code:
1>------ Build started: Project: CvGameCoreDLL, Configuration: Release-fast Win32 ------
1> Building source list
1> Running fastdep
1> CvPlayer.cpp
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(18): error C2011: 'CvPathGeneratorBase' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(18) : see declaration of 'CvPathGeneratorBase'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(34): error C2011: 'CvPath' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(34) : see declaration of 'CvPath'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(185): error C2953: 'CvAllocationPool' : template class has already been defined
1> i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(185) : see declaration of 'CvAllocationPool'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(191): error C2371: 'priorityQueueEntry' : redefinition; different basic types
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(191) : see declaration of 'priorityQueueEntry'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(203): error C2011: 'CvNodeCostInfo' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(203) : see declaration of 'CvNodeCostInfo'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(223): error C2371: 'CvPathContext' : redefinition; different basic types
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(223) : see declaration of 'CvPathContext'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(225): error C2011: 'CvPathGeneratorMT' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(225) : see declaration of 'CvPathGeneratorMT'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPathGenerator.h(314): error C2011: 'CvPathGenerator' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPathGenerator.h(314) : see declaration of 'CvPathGenerator'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(15): error C2365: 'WORKITEM_STATE_NONE' : redefinition; previous definition was a 'enumerator'
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(15) : see declaration of 'WORKITEM_STATE_NONE'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(16): error C2365: 'WORKITEM_STATE_QUEUED' : redefinition; previous definition was a 'enumerator'
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(16) : see declaration of 'WORKITEM_STATE_QUEUED'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(17): error C2365: 'WORKITEM_STATE_PROCESSING' : redefinition; previous definition was a 'enumerator'
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(17) : see declaration of 'WORKITEM_STATE_PROCESSING'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(18): error C2371: 'PipelineWorkItemState' : redefinition; different basic types
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(18) : see declaration of 'PipelineWorkItemState'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(24): error C2011: 'CvPipelineWorkItem' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(24) : see declaration of 'CvPipelineWorkItem'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(77): error C2011: 'CvPipelineStage' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(77) : see declaration of 'CvPipelineStage'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(137): error C2011: 'CvPipeline' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(137) : see declaration of 'CvPipeline'
1>i:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\CvPipeline.h(172): error C2011: 'CvPipelineSyncPointStage' : 'class' type redefinition
1> f:\games\civilization 4\beyond the sword\mods\chronicles of mankind\cvgamecoredll\CvPipeline.h(172) : see declaration of 'CvPipelineSyncPointStage'
1> jom: I:\Games\Civilization 4\Beyond the Sword\Mods\Chronicles of Mankind\CvGameCoreDLL\project\Makefile [temp_files\Release\.\CvPlayer.obj] Error 2
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "set TARGET=Release
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake source_list /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake fastdep /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake precompile /NOLOGO
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: bin\jom build /NOLOGO" exited with code 2.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I was/am expecting the file path is wrong (disc letters were changed with the Win10 install) but I don't know where to set it up
