OK, I've had some success getting the source to compile. Here's a quick summary of what I had to do:
Firstly, download both the DirectX things as mentioned in the readme, and set up the VC++ paths as mentioned.
Set up the environment variable as instructed in the readme, and then reboot (Otherwise the change will not be noticed).
I worked with the workspace ctp2_code\ctp\civctp.dsw in MSDev (That is the MS Visual C++ IDE) from MS Visual Studio 6.0.
The next thing that went wrong was that none of the custom build instructions using flex or byacc worked, so I had to copy/paste out the command lines and do them myself at a command prompt (You can find the command lines it is trying to run by right-clicking on the file it's trying to build, choosing "Settings..." and going to the "Custom Build" tab).
After that, the lack of miles sound system is the next problem. This is referenced in civsound.h, and I think the best solution is to rewrite the CivSound class with stub methods. I haven't got the time to do that, because I have to get to bed, but I'll try to find some more time tomorrow.
Any other suggestions are welcome.
Firstly, download both the DirectX things as mentioned in the readme, and set up the VC++ paths as mentioned.
Set up the environment variable as instructed in the readme, and then reboot (Otherwise the change will not be noticed).
I worked with the workspace ctp2_code\ctp\civctp.dsw in MSDev (That is the MS Visual C++ IDE) from MS Visual Studio 6.0.
The next thing that went wrong was that none of the custom build instructions using flex or byacc worked, so I had to copy/paste out the command lines and do them myself at a command prompt (You can find the command lines it is trying to run by right-clicking on the file it's trying to build, choosing "Settings..." and going to the "Custom Build" tab).
After that, the lack of miles sound system is the next problem. This is referenced in civsound.h, and I think the best solution is to rewrite the CivSound class with stub methods. I haven't got the time to do that, because I have to get to bed, but I'll try to find some more time tomorrow.
Any other suggestions are welcome.
Comment