Problem Having trouble compiling ShuttleA

johnnymanly

Donator
Donator
Joined
Mar 17, 2008
Messages
179
Reaction score
116
Points
43
Location
Southwest Pennsylginia
Website
sites.google.com
I'm trying to compile the ShuttleA for Orbiter 2024 on windows 10 using VS2022 and I'm getting an error.
It's probably something simple but I don't know what to do with it. Any Idea?

comp-error-001.jpg
 
Well thanks again for your help. ShuttleA builds fine but won't run on 2024. It crashes from the loading screen, though it runs on 2016.
I don't know how to debug but I built a debug version anyway. I tried to run the debugger from VS 2022 but this is as far as I got.
Any idea how I should procede?
comp-error-003.jpg
:confused:
 

Attachments

What is the timestamp of your .lib files ? (orbitersdk\lib directory) ?
 
I'm trying to compile this one too. This sample is quite important to understand Virtual Cockpits, as DeltaGlider is alas rather hermetic.

So I had the same issue you encountered (the error is in the sample!), and the fix proposed by @Gondos works.

I also had an issue with #include afxres.h (can be solved by replacing it by #include windows.h). All good.

Now I have this one :

1>ShuttleA.rc(41): error RC2104: undefined keyword or key name: IDC_STATIC

1763337246952.png
 
OK. Same result, more or less. I could compile the dll, and I could load one of the Shuttle-A scenarios in 2024, but then the module isn't really loaded.

A simple sample (not one that relies on 12 source files and dependencies) with very basic VC implementation would be useful.

Oh, and we don't even have a solution for the DeltaGlider in O2024....
 
Last edited:
Nope. It is simply old stuff that hasn't been updated for ages, it is quite normal there are compatibility issues.
 
Back
Top