Support SSU VC++ Fail

Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
Hi,
I've been trying to recompile SSU for Orbiter Beta. I followed all the steps but I ran into one problem. The problem seems to involve Atlantis_2019 (I didn't use 2017, but I tried it though.)


In the guiled I used I saw that after you build your Atlantis in VC++ (I'm using 2019) you should get "========== Build: 16 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========". For me I got, "========== Build: 0 succeeded, 15 failed, 0 up-to-date, 1 skipped ==========" The photo below should show what is happening. Screenshot (449).png
 
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
Okay if you what the highlighted text says here you go.
 

Attachments

  • SSU issue.txt
    63.3 KB · Views: 5
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
I just tried to load Atlantis in Orbit scn and I got in Orbiter.log

**** Orbiter.log
000000.000: Build Sep 14 2019 [v.190914]
000000.000: Timer precision: 1e-07 sec
000000.000: Found 0 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 190914, API 190914]
000000.000: Module AtmConfig.dll ......... [Build 190914, API 190914]
000000.000: Module DGConfigurator.dll .... [Build 190914, API 190914]
000000.000: Module ProjectApolloConfigurator.dll [Build 210730, API 190914]
000000.000: Module OrbiterSound.dll ...... [Build 200811, API 160828]
000000.000: Module DialogTemplate.dll .... [Build 190914, API 190914]
000000.000: Module LaunchpadParamTemplate.dll [Build 190914, API 190914]
000000.000: Module Meshdebug.dll ......... [Build 190914, API 190914]
000000.000: ---------------------------------------------------------------
000000.000: BaseDir : C:\Orbiter 2016\
000000.000: ConfigDir : C:\Orbiter 2016\Config\
000000.000: MeshDir : C:\Orbiter 2016\Meshes\
000000.000: TextureDir : C:\ORBITER 2016\Textures\
000000.000: HightexDir : C:\Orbiter 2016\Textures2\
000000.000: ScenarioDir: C:\Orbiter 2016\Scenarios\
000000.000: ---------------------------------------------------------------
000000.000: D3D9 DLLs : C:\WINDOWS\SYSTEM32\d3dx9_43.dll [v 9.29.952.3111]
000000.000: : C:\WINDOWS\SYSTEM32\d3d9.dll [v 10.0.19041.928]
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client.dll ........ [Build 210722, API 190914]
000000.000: Module TrackIR.dll ........... [Build 190914, API 190914]
000000.000: TrackIR module not found.
000000.000: Module CustomMFD.dll ......... [Build 190914, API 190914]
000000.000: Module GenericCamera.dll ..... [Build 210722, API 190914]
000000.000: Module MFDTemplate.dll ....... [Build 190914, API 190914]
000000.000: Module transx.dll ............ [Build 190914, API 190914]
000000.000: Module LuaMFD.dll ............ [Build 190914, API 190914]
000000.000: Module LuaConsole.dll ........ [Build 190914, API 190914]
000000.000: Module ScriptMFD.dll ......... [Build 190914, API 190914]
000000.000: Module DX9ExtMFD.dll ......... [Build 210722, API 190914]
000000.000: Module ExtMFD.dll ............ [Build 190914, API 190914]
000000.000: Module FlightData.dll ........ [Build 190914, API 190914]
000000.000: Module Framerate.dll ......... [Build 190914, API 190914]
000000.000: Module Rcontrol.dll .......... [Build 190914, API 190914]
000000.000: Module ScnEditor.dll ......... [Build 190914, API 190914]
000000.000: Module ApolloRTCCMFD.dll ..... [Build 210730, API 190914]
000000.000: Module ProjectApolloMFD.dll .. [Build 210730, API 190914]
000000.000:
000000.000: **** Creating simulation session
000000.000: D3D9: [DirectX 9 Initialized]
000000.000: D3D9: 3D-Adapter.............. : Intel(R) Iris(R) Plus Graphics
000000.000: D3D9: MaxTextureWidth......... : 8192
000000.000: D3D9: MaxTextureHeight........ : 8192
000000.000: D3D9: MaxTextureRepeat........ : 8192
000000.000: D3D9: VolTexAddressCaps....... : 0x3F
000000.000: D3D9: NumSimultaneousRTs...... : 4
000000.000: D3D9: VertexDeclCaps.......... : 0x37F
000000.000: D3D9: MiscCaps................ : 0x2FCCF2
000000.000: D3D9: XNA Math Support........ : Yes
000000.000: D3D9: Vertex Texture.......... : Yes
000000.000: D3D9: Separate AlphaBlend..... : Yes
000000.000: D3D9: Shadow Mapping.......... : Yes
000000.000: D3D9: D3DFMT_A16B16G16R16F.... : Yes
000000.000: D3D9: D3DFMT_A32B32G32R32F.... : Yes
000000.000: D3D9: D3DFMT_D32F_LOCKABLE.... : No
000000.000: D3D9: D3DFMT_A2R10G10B10...... : Yes
000000.000: D3D9: D3DFMT_L8............... : Yes
000000.000: D3D9: D3DDTCAPS_DEC3N......... : No
000000.000: D3D9: D3DDTCAPS_FLOAT16_2..... : Yes
000000.000: D3D9: D3DDTCAPS_FLOAT16_4..... : Yes
000000.000: D3D9: Runs under WINE......... : No
000000.000: D3D9: D3D9Build Date.......... : 210722
000000.000: D3D9: Available Texture Memory : 2005 MB
000000.000: D3D9: [3DDevice Initialized]
000000.000: D3D9: [Loading Constellations]
000000.000: D3D9: [D3D9Client Initialized]
000000.000: Module Sun.dll ............... [Build 190914, API 190914]
000000.000: VSOP87(E) Sun: Precision 1.0e-06, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 190914, API 190914]
000000.000: VSOP87(B) Mercury: Precision 1.0e-05, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 190914, API 190914]
000000.000: Module VenusAtm2006.dll ...... [Build 190914, API 190914]
000000.000: VSOP87(B) Venus: Precision 1.0e-05, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 190914, API 190914]
000000.000: Module EarthAtmNRLMSISE00.dll [Build 190914, API 190914]
000000.000: VSOP87(B) Earth: Precision 1.0e-08, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 190914, API 190914]
000000.000: ELP82: Precision 1.0e-05, Terms 116/829
000000.000: Module Mars.dll .............. [Build 190914, API 190914]
000000.000: Module MarsAtm2006.dll ....... [Build 190914, API 190914]
000000.000: VSOP87(B) Mars: Precision 1.0e-05, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 190914, API 190914]
000000.000: Module Jupiter.dll ........... [Build 190914, API 190914]
000000.000: VSOP87(B) Jupiter: Precision 1.0e-06, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 190914, API 190914]
000000.000: Module Europa.dll ............ [Build 190914, API 190914]
000000.000: Module Ganymede.dll .......... [Build 190914, API 190914]
000000.000: Module Callisto.dll .......... [Build 190914, API 190914]
000000.000: Module Satsat.dll ............ [Build 190914, API 190914]
000000.000: Module Saturn.dll ............ [Build 190914, API 190914]
000000.000: VSOP87(B) Saturn: Precision 1.0e-06, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 190914, API 190914]
000000.000: SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 190914, API 190914]
000000.000: SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 190914, API 190914]
000000.000: SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 190914, API 190914]
000000.000: SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 190914, API 190914]
000000.000: SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 190914, API 190914]
000000.000: SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 190914, API 190914]
000000.000: SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 190914, API 190914]
000000.000: VSOP87(B) Uranus: Precision 1.0e-06, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 190914, API 190914]
000000.000: VSOP87(B) Neptune: Precision 1.0e-06, Terms 391/2024
000000.000: Finished initialising world
000000.000: ============================ ERROR: ===========================
000000.000: Could not load vessel module: SpaceShuttleUltra
000000.000: [Vessel::LoadModule | ..\Vessel.cpp | 5745]
000000.000: ===============================================================
000000.000: ============================ ERROR: ===========================
000000.000: Scenario parse error for vessel Atlantis: base '_TIME 0 0 0 0.0' not found on body 'Earth'.
000000.000: [Vessel::parseScenarioLine2 | ..\Vesselstatus.cpp | 176]
000000.000: ===============================================================
000000.000: >>> TERMINATING <<<
 
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
Okay if you what the highlighted text says here you go.
Update: So far I have after rebuilding and modifying my Virsual C++, "========== Build: 12 succeeded, 4 failed, 0 up-to-date, 1 skipped ==========" Any help is much appreciated. For Atlantis_2017
 
Last edited:
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
In terms of Atlantis_2019 I get, "========== Build: 11 succeeded, 4 failed, 0 up-to-date, 1 skipped ==========" As stated before help is much appreciated.
 

jedidia

shoemaker without legs
Addon Developer
Joined
Mar 19, 2008
Messages
10,875
Reaction score
2,129
Points
203
Location
between the planets
Well, without the actual error messages, there's not much anybody can help...
 

turtle91

Active member
Joined
Nov 1, 2010
Messages
319
Reaction score
7
Points
33
From the build-log:
C:\Orbiter 2016\shuttleultra\Orbitersdk\Space Shuttle Ultra\VAB\VAB.h(3,10): fatal error C1083: Cannot open include file: 'OrbiterAPI.h': No such file or directory (compiling source file VAB.cpp)

Looks to me, that VS is not set-up correct to build the project. The linker cannot find the Orbiter API.
However, I am not an expert or a developer. I am sure somebody might be more helpful here.

C:\Orbiter 2016\shuttleultra\Orbitersdk\libUltra\include\BasicValve.h(30,10): fatal error C1083: Cannot open include file: 'orbitersdk.h': No such file or directory (compiling source file src\BasicValve.cpp)

Another example, where VS has no clue where the Orbiter-includes(so the Orbiter SDK) are.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,434
Reaction score
689
Points
203
Try changing "Debug" to "Release".
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,434
Reaction score
689
Points
203
Question, what should I do with the .h and .lib files. Since I'm using Orbiter sound 5.0
You have to use OrbiterSound 4.0 as SSU has not yet been updated to use OrbiterSound 5.0.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,434
Reaction score
689
Points
203
I just set up a test environment to see if SSU would be build out of the box and it did, so something is off on your end.
 

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,434
Reaction score
689
Points
203
These should be the installed components:
 

Attachments

  • VS_required_components.jpg
    VS_required_components.jpg
    88.6 KB · Views: 6
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
Just retried everything and nothing worked. Here's a screen shoot of what I have, and a text document on what the output said. Screenshot (450).png
 

Attachments

  • Orbiter SSU VC++ Fail.txt
    63.3 KB · Views: 2

DaveS

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 4, 2008
Messages
9,434
Reaction score
689
Points
203
Try pressing Ctrl-Alt-F7 or go to Build>Rebuild Solution to clear out the temp files from the failed attempts and attempt a fresh build.
 
Joined
May 1, 2021
Messages
487
Reaction score
126
Points
43
Location
Los Angeles
Try pressing Ctrl-Alt-F7 or go to Build>Rebuild Solution to clear out the temp files from the failed attempts and attempt a fresh build.
Just tried that and (Check out the file bellow)
 

Attachments

  • SSU rebuild solution Failed.txt
    63.4 KB · Views: 4
Top