BetterPushbackC icon indicating copy to clipboard operation
BetterPushbackC copied to clipboard

Building on Linux

Open KSI65 opened this issue 1 year ago • 10 comments

Hi,

The instructions for building a release seem to be incorrect. There is no qmake sub-directory in this plugin source like there is in X-RAAS2.

Also, building on linux is different as there are no link libraries for linux and command line options need to be passed as described here:

https://developer.x-plane.com/article/building-and-installing-plugins/

Any idea on how to do this would be appreciated. Thanks.

KSI65 avatar Jul 15 '23 10:07 KSI65

You may use the workflow in #487 for reference.

CHH2000day avatar Oct 25 '23 07:10 CHH2000day

Thanks for the pointer. Building still fails because it's looking for acfutils and can't find it even though the directory exists.

KSI65 avatar Oct 25 '23 09:10 KSI65

Thanks for the pointer. Building still fails because it's looking for acfutils and can't find it even though the directory exists.

You need to clone this project and all its submodules recursivly by adding "--recurse-submodules" in your git clone command

CHH2000day avatar Oct 25 '23 10:10 CHH2000day

It doesn't matter. Also, the X-Plane SDK is missing in the code. The README should also reflect this.

KSI65 avatar Oct 25 '23 10:10 KSI65

It doesn't matter. Also, the X-Plane SDK is missing in the code. The README should also reflect this.

It DOES matter. X-Plane sdk comes with libacfutils.And you DO NEED to clone this project and all its submodules to get everything you need to finish your building process

CHH2000day avatar Oct 25 '23 10:10 CHH2000day

Sorry. What I meant is that it doesn't matter to me that the building process doesn't work.

KSI65 avatar Oct 25 '23 11:10 KSI65

You may paste the log here,or, you can just use my fork and use github action to build the binary

CHH2000day avatar Oct 25 '23 11:10 CHH2000day

What did you mean by "X-Plane SDK comes with libacfutils"? X-Plane SDK is from Laminar Research. Libacfutils comes from skiselkov. Also, the CMakelists.txt file in this project stops at SDK 302. The latest SDK for XP12 is 401.

KSI65 avatar Oct 25 '23 17:10 KSI65

What did you mean by "X-Plane SDK comes with libacfutils"? X-Plane SDK is from Laminar Research. Libacfutils comes from skiselkov. Also, the CMakelists.txt file in this project stops at SDK 302. The latest SDK for XP12 is 401.

https://github.com/skiselkov/libacfutils/tree/a4e207044db003335dc8772e7257de10a3bf067e/SDK Check it out,it's a redistribution.

CHH2000day avatar Oct 25 '23 17:10 CHH2000day

OK. I think it's more accurate/better to say that libacfutils comes with X-Plane SDK.

KSI65 avatar Oct 25 '23 18:10 KSI65