I decided to try to code something.
I've gone through the Free Compiler Setup at orbiterwiki http://www.orbiterwiki.org/wiki/Free_Compiler_Setup
I made exactly what is written there and compiled the ShuttlePB.
But now I'm getting a CTD when I use any thruster.
I'll write step-by-step what I've done so someone can find what I've done wrong:
I've gone through the Free Compiler Setup at orbiterwiki http://www.orbiterwiki.org/wiki/Free_Compiler_Setup
I made exactly what is written there and compiled the ShuttlePB.
But now I'm getting a CTD when I use any thruster.
I'll write step-by-step what I've done so someone can find what I've done wrong:
- Downloaded and installed Visual C++ 2005 Express Edition from here: http://www.microsoft.com/express/2005/.
- Made a new clean Orbiter with Orbiter Base (060929) and SDK (060929).
- Downloaded Microsoft Windows Server 2003 R2 Platform SDK (PSDK-x86.exe) and installed it like it is described.
- Set the configuration to Release, added all include and library paths.
- Changed "#include <fstream.h>" to "#include <fstream>" in the OrbiterAPI.h file.
- Did this: http://www.orbiterwiki.org/wiki/Free_Compiler_Setup#C.2B.2B_language_change
- Added to "Additional Dependencies kernel32.lib,user32.lib and gdi32.lib, and to "Ignore Specific Library" msvcirt.lib
- Clicked Build/Build ShuttlePB.
- Tested it in Orbiter, ignited main engines, CTD
.