4/7/2024 0 Comments Xplane 11 key hackUsing Qt-Creator as IDE, because it is easy to use and lightweight compared to the Eclipse monster The following setup is what I’m going to describe in detail: Instead, if your build environment consists of the same tools everywhere, developing will feel the same everywhere, greatly speeding up your progress. If you use different tools to get the same task done, you will be in the constant state of wondering “wait, how the heck did I always do this on Linux?”. The key point to set up a development environment for cross-platform development is to use the same tools on every platform. The version control system – helps with your workflow over time and is invaluable even if you are a one-man project The build system – organizing your input and putting the compiler and linker to work The compiler and linker – they do the hard work in the background to transform your human-readable sourcecode into machine-readable binaries The editor or IDE – the frontend where you hack your sourcecode and press a key to get the build done The essential parts of your development environment are: So we need a general way of getting things done that works EVERYWHERE and – even more important – everywhere IN THE SAME WAY.įrom 10 years of experience in programming, thereof 5 in C++ and 3 in X-Plane plugin development, I condensed the following guide. Doing everything “by hand” becomes a daunting task, managing your builds on three platform gets complicated. At first glance, X-Plane plugin development seems to be rather easy: All you have to do is to write some C sourcecode using a plain-text editor, point your compiler to the SDK headers, point your linker to the libs, tell the linker to create a shared library, hit enter and you’re done.īut alas, it’s a bit more involved when it comes to real life: There are three different platforms to handle, multiple source files have to be organized, sometimes third-party libs are needed. I firmly believe that the only dumb question is the unasked one. So please, don’t ask questions via pm, but discuss in public where others can profit from everyones knowledge. Instead of getting into lengthy discussions in private that are of no use to other forum members I decided to elaborate a bit more and write a complete guide. I’ve been asked by two forum members independently on how to setup an IDE for cross-platform development. This lead to heated discussions on cross-platform development. Moreover, there have been discussions on how it is crucial for the success of a project that it targets the entire audience of X-Plane. In the past there have been various discussions on which IDE to use, what compiler to prefer and how to get X to work with Y to achieve Z.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |