slaver0110
Member
- Joined
- Mar 21, 2011
- Messages
- 72
- Reaction score
- 2
- Points
- 6
I had to do a full reinstall of VisualStudio2015 Community last night, and now I'm getting crashes out of vessel compiles that worked before.
I'm pretty sure I've botched the setup for VS2015 to work with the OrbiterSDK, as I'm getting debug and odd compile files in my Modules directory, and my guess is that because of that things aren't compiling properly.
The vessel I've been working on now crashes Orbiter every time I use the RCS, even though the code is the backup from before I reinstalled VS2015.
the procedure I use for setting up a new project is:
I'm thinking that there's something I've missed in the setup.
I've tried compiling into a fresh Orbiter2016 install (just in case), but with the same result.
I found ADSWNJ's setup https://www.orbiter-forum.com/showthread.php?t=34971&highlight=property+sheet but I'm still getting crashes.
Is there something in my setup that I have wrong here?
Thanks in advance, and Cheers!!
I'm pretty sure I've botched the setup for VS2015 to work with the OrbiterSDK, as I'm getting debug and odd compile files in my Modules directory, and my guess is that because of that things aren't compiling properly.
The vessel I've been working on now crashes Orbiter every time I use the RCS, even though the code is the backup from before I reinstalled VS2015.
the procedure I use for setting up a new project is:
Code:
1. Start up new project, empty, DLL.
2. Right-click the project name in PropertyManager and add vessel.props.
3. Right-click Debug in PropertyManager and add debug.props.
4. Verify orbiter.root is correct.
5. Right-click project-name --> Properties --> Debugging.
6. Set "Command" to Orbiter.exe and "Working Directory" to the Orbiter root dir.
7. Make sure Character Set is "Multi-byte".
8. In Project Properties --> General, set "Output Dir" to Orbiter\Modules\
9. In Prokect Properties --> Linker --> General, verify output file as Orbiter\Modules\<projectname>.dll
10. compile as debug, then release afterwards.
I've tried compiling into a fresh Orbiter2016 install (just in case), but with the same result.
I found ADSWNJ's setup https://www.orbiter-forum.com/showthread.php?t=34971&highlight=property+sheet but I'm still getting crashes.
Is there something in my setup that I have wrong here?
Thanks in advance, and Cheers!!