skiselkov / BetterPushbackC

This is the BetterPushback plugin for X-Plane 11 and X-Plane 12
Other
496 stars 146 forks source link

Building on Linux #481

Open KSI65 opened 1 year ago

KSI65 commented 1 year ago

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.

CHH2000day commented 9 months ago

You may use the workflow in #487 for reference.

KSI65 commented 9 months ago

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

CHH2000day commented 9 months ago

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

KSI65 commented 9 months ago

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

CHH2000day commented 9 months ago

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

KSI65 commented 9 months ago

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

CHH2000day commented 9 months ago

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

KSI65 commented 9 months ago

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.

CHH2000day commented 9 months ago

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.

KSI65 commented 9 months ago

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