So I am trying to make a rms solution. Mainly so I can adapt it for the shuttle 2016. but for other projects.
So getting the h and rc and cpp from here:
http://svn.code.sf.net/p/shuttleultra/code/trunk/Orbitersdk/SSRMS/
I added to a new solution and tried to build.
I am getting 8 external external. But I can't seem to find where they are defined in the LEESystem h and SSRMS.h
Then when I try to edit the rc i get this error:
Not sure if they are somewhere in the SSU code?
RotateVector
GetRotMatrixZ
GetRotMatrixY
GetRotMatrixX
GetYZX_PYRAnglesFromMatrix
linterp
CalculateCameraRotationAngle
---------- Post added at 05:02 PM ---------- Previous post was at 07:15 AM ----------
Well I thought I found the issue. I needed UltraMath.h. I had it in my
C:\Orbiter2016\Orbitersdk\include folder.
But i added it to the solution but the same issue
---------- Post added 09-06-18 at 05:25 AM ---------- Previous post was 09-05-18 at 05:02 PM ----------
Not sure if my setup is correct?
I do have UltraMath,... in the include folder
---------- Post added at 07:39 AM ---------- Previous post was at 05:25 AM ----------
So it seems I need to add libUltra to the solution. But not sure how to?
http://svn.code.sf.net/p/shuttleultra/code/trunk/Orbitersdk/libUltra/
So getting the h and rc and cpp from here:
http://svn.code.sf.net/p/shuttleultra/code/trunk/Orbitersdk/SSRMS/
I added to a new solution and tried to build.
I am getting 8 external external. But I can't seem to find where they are defined in the LEESystem h and SSRMS.h
Then when I try to edit the rc i get this error:

Not sure if they are somewhere in the SSU code?
RotateVector
GetRotMatrixZ
GetRotMatrixY
GetRotMatrixX
GetYZX_PYRAnglesFromMatrix
linterp
CalculateCameraRotationAngle
Code:
Error 29 error LNK2001: unresolved external symbol "void __cdecl RotateVector(union VECTOR3 const &,union VECTOR3 const &,union VECTOR3 &)" ([email protected]@[email protected]@[email protected]@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 31 error LNK2001: unresolved external symbol "void __cdecl GetRotMatrixZ(double,union MATRIX3 &)" ([email protected]@[email protected]@@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 26 error LNK2001: unresolved external symbol "void __cdecl GetRotMatrixY(double,union MATRIX3 &)" ([email protected]@[email protected]@@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 24 error LNK2001: unresolved external symbol "void __cdecl GetRotMatrixX(double,union MATRIX3 &)" ([email protected]@[email protected]@@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 28 error LNK2001: unresolved external symbol "union VECTOR3 __cdecl RotateVector(union VECTOR3 const &,double,union VECTOR3 const &)" ([email protected]@[email protected]@[email protected]@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 25 error LNK2001: unresolved external symbol "union VECTOR3 __cdecl GetYZX_PYRAnglesFromMatrix(union MATRIX3 const &)" ([email protected]@[email protected]@ABTMAT [email protected]@@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 27 error LNK2001: unresolved external symbol "double __cdecl linterp(double,double,double,double,double)" ([email protected]@[email protected]) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 30 error LNK2001: unresolved external symbol "double __cdecl CalculateCameraRotationAngle(union VECTOR3 &,union VECTOR3 const &)" ([email protected]@[email protected]@ABT [email protected]@Z) C:\Orbiter2016\Orbitersdk\samples\newarm\SSRMS.obj newarm
Error 32 error LNK1120: 8 unresolved externals C:\Orbiter2016\Modules\newarm.dll newarm
---------- Post added at 05:02 PM ---------- Previous post was at 07:15 AM ----------
Well I thought I found the issue. I needed UltraMath.h. I had it in my
C:\Orbiter2016\Orbitersdk\include folder.
But i added it to the solution but the same issue

Code:
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>newarm</ProjectName>
<ProjectGuid>{1A57C099-C6AF-43A7-8899-83608A6FF011}</ProjectGuid>
<RootNamespace>MSL_ROVER</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>12.0.21005.1</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>..\..\..\Modules\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>..\..\..\Modules\</OutDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>C:\ORBITER2016\\Orbitersdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;E3VIP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>orbiter.lib;orbitersdk.lib;orbitersoundsdk35.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>C:\ORBITER2016\\Orbitersdk\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>msvcrt.lib libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>C:\ORBITER2016\Orbitersdk\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;E3VIP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader />
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>orbiter.lib;Orbitersdk.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>./../../../Modules/newarm.dll</OutputFile>
<AdditionalLibraryDirectories>C:\ORBITER2016\Orbitersdk\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>msvcrt;msvcprt;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="LEESystem.CPP" />
<ClCompile Include="SSRMS.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\include\UltraMath.h" />
<ClInclude Include="LEESystem.H" />
<ClInclude Include="resource.h" />
<ClInclude Include="SSRMS.h" />
</ItemGroup>
<ItemGroup>
<Library Include="DlgCtrl.lib" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="newarm.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="Bitmaps\warning.bmp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
Code:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "newarm", "newarm.vcxproj", "{1A57C099-C6AF-43A7-8899-83608A6FF011}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1A57C099-C6AF-43A7-8899-83608A6FF011}.Debug|Win32.ActiveCfg = Debug|Win32
{1A57C099-C6AF-43A7-8899-83608A6FF011}.Debug|Win32.Build.0 = Debug|Win32
{1A57C099-C6AF-43A7-8899-83608A6FF011}.Release|Win32.ActiveCfg = Release|Win32
{1A57C099-C6AF-43A7-8899-83608A6FF011}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
---------- Post added 09-06-18 at 05:25 AM ---------- Previous post was 09-05-18 at 05:02 PM ----------
Not sure if my setup is correct?

I do have UltraMath,... in the include folder
---------- Post added at 07:39 AM ---------- Previous post was at 05:25 AM ----------
So it seems I need to add libUltra to the solution. But not sure how to?
http://svn.code.sf.net/p/shuttleultra/code/trunk/Orbitersdk/libUltra/
Last edited: