-
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
.dllfile. -
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
.slnfile.cmake ../
Note: In the above mentioned command
../is the path whereCMakeLists.txtfile is present, which refers to the c++ files. -
Open
.slnfile in VS from thebuild/directory. In this case it will beFlightSim.sln, as this name is provided in CMakeList. -
In visual studio under
FlightSimsolution, selecthla_pluginand go to- Project > Properties
- Under Configuration Properties > General > Windows SDK Version, select Windows 10.xx SDK
- Set Build to
Release -> 64and buildhla_plugin. - Inside
build/Releasefolder, you will get the.dllfile 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