Thanks Fromafar.
This worked, dbgen is fine now.
I updated all my files to the latest revision (882) but I still get the same "warning LNK4017" warning.
I'll take a look, but I don't know what I'm looking for.
Apparently dinput.h and dsound.h are not included in the Windows SDK, they're only in the DirectX SDK. I will have to install the DXSDK alongside the Windows SDK. Then I'll have to figure out which folders to use.
The Windows SDK readme doesn't make any mention of uninstalling DXSDK to install the Windows SDK (only earlier Platform SDK'S), so it should be fine.
Originally posted by Fromafar
The warnings for dbgen are Microsoft inventions. Adding _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_WARNINGS to the preprocessor definitions should get rid of those.
The warnings for dbgen are Microsoft inventions. Adding _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_WARNINGS to the preprocessor definitions should get rid of those.
The single warning with each map generator can be solved by removing 1 line from the Module Definition file. I will add the modified file to the archive.
It looks like there are only 2 main errors when compiling ctp2.
Firstly, you have to check some of the database files (specifically: RiskRecord, PollutionRecord, and MapRecord). It looks like these have not been (re)generated correctly.
Firstly, you have to check some of the database files (specifically: RiskRecord, PollutionRecord, and MapRecord). It looks like these have not been (re)generated correctly.
Secondly, there are some errors in refclock.h. Those are probably caused by your manual mixing of new Windows Platform SDK and old DXSDK files. Better remove the borrowed files, and check that your include and library paths are correct and complete.
The Windows SDK readme doesn't make any mention of uninstalling DXSDK to install the Windows SDK (only earlier Platform SDK'S), so it should be fine.
Comment