I got that too. You aren't using the makefile I take it. I tried it without a makefile on C++ because it never works that way for me and I didn't have one for v3.19. I believe the makefile tells it that windows.h is under Platform SDK along with a variety of other files which weren't listed because it quit after windows.h. I'm not experienced with C++. I found that by accident.Ok, I'm all the way to the end, did the BTS fixes that were tacked on, and still get a 'fatal error C1038: cannot open include file: 'windows.h' No such file or directory'
What's the deal with that?
Do I need a makefile for this? If so where do I get the BTS v3.19 makefile? If I can't how do I edit it?
I removed it then it said it couldn't find CvGameCoreDLL.res under Final Release Win32.You should try to remove 'CvGameCoreDLL.rc' from the project.
Sorry, deleted it from the folder but I didn't remove it from the project so it thought it was there. It works now and I have my 50civ dll. Thanks for this. I'll be sure to credit you and the two you quoted in my mod.Have you tried compiling it with no changes at all? If you can do that, then this isn't the topic for you. If you can't do that, then tell us what your errors are.
Your one little change can have many knock-on effects.
I have a problem with codeblocks, when I get to CvTextScreen.cpp I get an error that says it cannot find "CvTextMgr.h". I looked everywhere in my files, but that item doesn't exist. How do I proceed if it gives me errors every time?
I have had this problem. He was probably adding all the files to his project. According to other tutorials.As far as I can tell from looking at the file just now, it appears to be a remnant from an older version of the code but no one realised they could remove it. Everything it does has probably been superseded by stuff in the rest of the C++, the python and/or the XML.
The weird thing is, pretty much everyone in this topic has managed to compile the dll without ever getting this error. Are you compiling this according to instructions in the original post?