-
Install PitchRTI and its starter kit from its website.
-
Install SimGe FOM generator app.
-
To run & compile C++ code we need gcc compiler. Download here. Also, CMake package is needed.
-
Visual Studio with Visual Studio 2017 (VC141) platform toolset and Windows 10.xx SDK - For building
.dll
file. -
Make sure that all the paths to pitchRTI, GCC compiler & CMake are set in system environment.
-
Create a
build/
folder & change directory to it.mkdir build && cd build
-
Next compile the project and create a
.sln
file.cmake ../
Note: In the above mentioned command
../
is the path whereCMakeLists.txt
file is present, which refers to the c++ files. -
Open
.sln
file in VS from thebuild/
directory. In this case it will beFlightSim.sln
, as this name is provided in CMakeList. -
In visual studio under
FlightSim
solution, selecthla_plugin
and go to- Project > Properties
- Under Configuration Properties > General > Windows SDK Version, select Windows 10.xx SDK
- Set Build to
Release -> 64
and buildhla_plugin
. - Inside
build/Release
folder, you will get the.dll
file of the project.
Done, now use the .dll
file in you Unity app 😊👌.
💡 Note: For detail setup and working view Documentation.md 🌏 Reference: HlaUnity project