Problem SSU install on Orbiter2016

Wolf

Donator
Donator
Joined
Feb 10, 2008
Messages
1,094
Reaction score
26
Points
48
Location
Milan
I am trying to get SSU running in Orbiter2016 and followed DaveS instructions here:
http://www.orbiter-forum.com/showthread.php?t=30336

problem is when it comes to copy the Afxres file into the specified folder. It looks like I do not have that folder in my PC or I am not able to find it (nor MicrosoftSDK neither Windows/Platform folders appear)

I have downloaded Visual C++ 2010 but when I try to install it I got a message saying a more recent version of Visual C++ is already installed in my PC.

So I am lost here... any help?

Thanks

I have got Windows7 Home premium in my PC
 
Try getting Visual Studio 2017 Community Edition, we have updated project files for it.
 
Try getting Visual Studio 2017 Community Edition, we have updated project files for it.

I have it already installed, still I don't seem to have the folder to place the Afxres file...
 
I have it already installed, still I don't seem to have the folder to place the Afxres file...

I am not sure if this is even needed if you are using the proper solution files for 2017.

Its an old Microsoft Foundation Classes Artifact, that got somehow into SSU with older versions of Visual Studio. Since we are not using any MFC, it should be removed.
 
I have it already installed, still I don't seem to have the folder to place the Afxres file...
For VS2017, the afxres.h file should go into C:\Program Files (x86)\Windows Kits\10\Include\10.0.1.15063.0\shared. For VC++2010 Express, it's C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include.

---------- Post added at 12:26 PM ---------- Previous post was at 12:23 PM ----------

I am not sure if this is even needed if you are using the proper solution files for 2017.

Its an old Microsoft Foundation Classes Artifact, that got somehow into SSU with older versions of Visual Studio. Since we are not using any MFC, it should be removed.
It seems to be used by the rc files. So if it isn't present, then the build will fail when it is compiling the resources.

Code:
Find all "afxres", Subfolders, Find Results 1, Entire Solution, ""
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\Atlantis.rc(10):#include "afxres.h"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\Atlantis.rc(55):    "#include ""afxres.h""\r\n"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\Crawler.rc(10):#include "afxres.h"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\Crawler.rc(37):    "#include ""afxres.h""\r\n"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\Pad\SSU_Pad.rc(10):#include "afxres.h"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\Pad\SSU_Pad.rc(90):    "#include ""afxres.h""\r\n"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\SLC6\SSU_SLC6.rc(10):#include "afxres.h"
  E:\SSU2016\Orbitersdk\Space Shuttle Ultra\SLC6\SSU_SLC6.rc(34):    "#include ""afxres.h""\r\n"
  Matching lines: 8    Matching files: 4    Total files searched: 563
 
Updated the rc files with the fixes outlined in the StackOverflow article. So afxres.h should not be needed anymore.

---------- Post added at 01:26 PM ---------- Previous post was at 01:01 PM ----------

as I said I do not have those folders in C\Program Files(x86)\
No Windowskits\10\include or MicrosoftSDK folders appear..
Are you running a 64 bit or 32 bit operating system? The Program Files(x86) folder only exists on 64 bit Windows. On 32 bit Windows, everything goes into the regular Program Files folder. You could also do an SVN Update on your SSU folder to grab the updated rc files that doesn't depend on afxres.h anymore.
 
Are you running a 64 bit or 32 bit operating system? The Program Files(x86) folder only exists on 64 bit Windows. On 32 bit Windows, everything goes into the regular Program Files folder. You could also do an SVN Update on your SSU folder to grab the updated rc files that doesn't depend on afxres.h anymore.

I have a 64 bit OS

---------- Post added at 03:05 PM ---------- Previous post was at 02:46 PM ----------

Updated the rc files with the fixes outlined in the StackOverflow article. So afxres.h should not be needed anymore

How do I do that?
 
I have a 64 bit OS

---------- Post added at 03:05 PM ---------- Previous post was at 02:46 PM ----------



How do I do that?
Right click on the folder and select SVN Update.
 
I mean how do I update the rc files. What file am I suppose to open, where can I find it, etc
 
I mean how do I update the rc files. What file am I suppose to open, where can I find it, etc

If in doubt: Root folder for your checkout and update there. It will find what changed.
 
I mean how do I update the rc files. What file am I suppose to open, where can I find it, etc
When you select SVN Update, TortoiseSVN will automatically check the repository for any updated/added files and download them. You don't have to do anything. If the source code has been updated, you'll have to recompile them.
 
I updated the files and then followed the same steps highlighted in your post to recompile but what I get is "14 projects failed". I also tried using the Atlantis2013 file but same result...
I am lost here
(using Visual Studio Community 2017)
 
I updated the files and then followed the same steps highlighted in your post to recompile but what I get is "14 projects failed". I also tried using the Atlantis2013 file but same result...
I am lost here
(using Visual Studio Community 2017)
What are the errors?
Try "Clean Solution" before compilling.
 
Tried with Atlantis2017 and cleaned before compiling.

These are the messages (sorry it's in italian)

shuttle ultra\vc\atlantispanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\PanelR13L.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\vc\atlantispanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\PanelR13U.cpp)
11>RMSSystem.cpp
11>RSLS_old.cpp
11>d:\ssu\orbitersdk\space shuttle ultra\vc\atlantispanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\PanelR2.cpp)
11>ShuttleBus.cpp
11>d:\ssu\orbitersdk\space shuttle ultra\vc\atlantispanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\PanelR4.cpp)
11>SSME.cpp
11>d:\ssu\orbitersdk\space shuttle ultra\dps\ram32.h(27): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine dps\RAM32.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\atlantis.h(41): fatal error C1083: Non è possibile aprire il file inclusione: 'orbitersdk.h': No such file or directory (compilazione del file di origine vc\PushButton.cpp)
11>StandardCurvedMechMeter.cpp
11>StandardLight.cpp
11>d:\ssu\orbitersdk\space shuttle ultra\dps\ram32.h(27): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine dps\RAM32S.cpp)
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\PushButtonIndicator.cpp)
11>StandardLinearMechMeter.cpp
11>StandardRotarySwitch.cpp
11>d:\ssu\orbitersdk\space shuttle ultra\dps\shuttlebus.cpp(5): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory
11>StandardSwitch.cpp
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\StandardLight.cpp)
11>StandardSwitchCover.cpp
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\StandardCurvedMechMeter.cpp)
11>StbdMPMSystem.cpp
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\StandardLinearMechMeter.cpp)
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\StandardRotarySwitch.cpp)
11>Stopwatch.cpp
11>Talkback.cpp
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\StandardSwitchCover.cpp)
11>VideoControlUnit.cpp
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\Talkback.cpp)
11>WSB.cpp
11>d:\ssu\orbitersdk\space shuttle ultra\atlantissubsystem.h(34): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine RMSSystem.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\atlantissubsystem.h(34): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine dps\RSLS_old.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\atlantissubsystem.h(34): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine mps\SSME.cpp)
11>d:\ssu\orbitersdk\libultra\include\basicpanel.h(28): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine vc\StandardSwitch.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\atlantissubsystem.h(34): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine StbdMPMSystem.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\atlantissubsystem.h(34): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine WSB.cpp)
11>d:\ssu\orbitersdk\space shuttle ultra\atlantissubsystem.h(34): fatal error C1083: Non è possibile aprire il file inclusione: 'OrbiterAPI.h': No such file or directory (compilazione del file di origine VideoControlUnit.cpp)
11>Compilazione progetto "Atlantis_2017.vcxproj" NON COMPLETATA.
========== Compilazione: 1 completate, 14 non riuscite, 0 aggiornate, 1 ignorate ==========

the last line says: Compiling: 1 completed, 14 failed, 0 updates, 1 ignored

Basically for each failure it says: fatal error C1083: "Unable to open the inclusion file"

I might have done a gross mistake: is the SSU folder supposed to be in the main Orbiter2016 folder?
 
Last edited:
So the folder containing SSU files must be phisically positioned where?
 
So the folder containing SSU files must be phisically positioned where?
Anywhere you like. The only requirement is that it is its own Orbiter installation, you can have more than one, that is if you installed it through the zip file method and not the msi installer. I have four separate Orbiter installations, two vanilla (clean) Orbiter 2010-P1 and Orbiter 2016 beta installations and two SSU installations, 2010-P1 and 2016 development.
 
Last edited:
Back
Top