Menu

SDKInstall

geehalel

Notes on making the plugin devel environment:

  • based on this howto
  • download XPlane 10 Demo installer (got the 64 bits version)
  • unzip and run the installer, default install in /X-Plane 10 Demo (bunch of small files slows down this)
  • test the demo, runs (slowly) on an old i5-2400 without GPU
  • install qt stuff:
    • on Ubuntu 15.10 , just install qtcreator with apt-get install qtcreator
    • on Windows 10
    • on Fedora 22: just install qtcreator with dnf install qtcreator
  • get the latest SDK
  • create a git repo on sourceforge
mkdir gh-xp-plugins-init
cd gh-xp-plugins-init/
git init
unzip  ../xp10/XPSDK213.zip
git add SDK/
git commit -a -m 'Initial commit (SDK)'
git remote add origin ssh://geehalel@git.code.sf.net/p/gh-xp-plugins/code
git push -u origin master

Testing the plugin devel environment

mkdir -p tests/SDK210Tests
cd tests/SDK210Tests
unzip /tmp/SDK210Tests.zip SDK210Tests.cpp
  • create a qmake project file (see in source tree)
  • build the plugin (in a separate directory /opt/builds/... here)
cd /opt/builds/x86_64/xp10/SDK210Tests
qmake -qt=5 /gh-xp-plugins-init/tests/SDK210Tests/SDK210Tests.pro
make
  • install the plugin in XP10 demo folder
mkdir /X-Plane 10 Demo/Resources/plugins/SDK210Tests/64
cd /X-Plane 10 Demo/Resources/plugins/SDK210Tests/64
cp /opt/builds/x86_64/xp10/SDK210Tests/liblin.xpl.so ./lin.xpl
  • run the demo and test this example plugin
  • when using qtcreator, do not include .pro.user files used to build projects on local machines

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.