Catalog · How the catalog works
Hello-World-SDK-4
- ★ 4 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Hello-World-SDK-4
Using X-Plane Hello World (SDK4) Sample code from
https://developer.x-plane.com/code-sample/hello-world-sdk-3/
Create a CMake project with GitHub Actions
Building Hello-World-SDK-4 from source
On windows
-
Install required software using Chocolatey using admin command prompt:
choco install git choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"' choco install mingw --version 8.1.0You can also install the same programs manually if you prefer.
-
Checkout and configure the project:
git clone https://github.com/sparker256/Hello-World-SDK-4.git cd Hello-World-SDK-4 cmake -G "MinGW Makefiles" -S .\src -B .\build -DCMAKE_BUILD_TYPE=RelWithDebInfo -
Build the project and copy the plugin DLL into the appropriate directory:
cmake --build .\build xcopy .\build\win.xpl .\HelloWorldSdk4\64\
On Ubuntu:
- Install required software:
sudo apt-get install -y --no-install-recommends build-essential cmake git freeglut3-dev libudev-dev libopenal-dev - Checkout and configure the project:
git clone https://github.com/sparker256/Hello-World-SDK-4.git cd Hello-World-SDK-4 cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo - Build the project and copy the plugin DLL into the appropriate directory:
cmake --build ./build cp ./build/lin.xpl ./HelloWorldSdk4/64/
On OS X:
- Install XCode, Git, CMake (Homebrew can be convenient for this).
- Checkout and configure the project:
git clone https://github.com/sparker256/Hello-World-SDK-4.git cd Hello-World-SDK-4 cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo - Build the project and copy the plugin DLL into the appropriate directory:
cmake --build ./build cp ./build/mac.xpl ./HelloWorldSdk4/64/

