Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Linux #481

Open
KSI65 opened this issue Jul 15, 2023 · 10 comments
Open

Building on Linux #481

KSI65 opened this issue Jul 15, 2023 · 10 comments

Comments

@KSI65
Copy link

KSI65 commented Jul 15, 2023

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
Copy link

CHH2000day commented Oct 25, 2023

You may use the workflow in #487 for reference.

@KSI65
Copy link
Author

KSI65 commented Oct 25, 2023

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

@CHH2000day
Copy link

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
Copy link
Author

KSI65 commented Oct 25, 2023

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

@CHH2000day
Copy link

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
Copy link
Author

KSI65 commented Oct 25, 2023

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

@CHH2000day
Copy link

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

@KSI65
Copy link
Author

KSI65 commented Oct 25, 2023

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
Copy link

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
Copy link
Author

KSI65 commented Oct 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants