BTS-specific SDK issues

kevinman4404

Lightning Warrior
Joined
Mar 31, 2007
Messages
837
Location
Ontario
Hey. I have had zero problems compiling in the past. Just today, having done nothing to my computer that I can remember for ages, I am running into problems whenever compiling a BTS SDK. I can compile, for example, the 1.61 SDK no problem.

But with BTS stuff, trying different stuff to solve it (like combining it with the 1.61) I get one or some of the following errors:

~Cannot open precompiled header file: 'Final Release/CvGameCoreDLL.pch'
~missing List.hpp
~missing other junk, some that is not found in ANY sdks... sorry I don't remember any other names
----basically, when i fix, for example, the list.hpp, another missing file will crop up, etc. etc.
~a hole load of junk if I combine the two SDKs


Sorry I'm not copying down exact errors, it would be hard to recreate all of them


Any suggestions towards fixing this weird, sudden problem with BTS sdks would be greatly appreciated.

Kevin
 
Some files changed since Vanilla so a compiler set up from Vanilla Civ4 might well not work. I dont know, never tried it. At the very least you will need a appropriate makefile for BTS. Have you tried to follow one of the more recent tutorials on compiler setup ?
These will tell you what you need to do and what files to use or remove.
 
I'll let you know...

I just completely reinstalled all my civ4 stuff and I have no problem compiling the sdk that comes with the unpatched BTS.

Let me know if this changes anything; some stuff is different, for example RFC's dlls, which are patched dlls, the ones I am having trouble compiling, do not have a precompile.h and some boost files and such...

If there is an apparent problem in this, or if it changes anything, let me know, and if not I will update having tried the compiler setup tutorials.

The weirdest part is that it all worked before, every single (working) SDK that I have tried, no matter what the patch
 
Well many mods will only deliver the changed files of the SDK (hence your Boost folder or somethng missing). You need to merge it (copy the files from the mod overwriting the original ones) onto the base SDK. You need a matching version of both of course.

You also need a matching Makefile for each new version.
(Unless you are using the original VS 2003 in which case you can just load up the project file from Firaxis.)
 
Back
Top Bottom