skiselkov / BetterPushbackC

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

Use github action to build bin for win&lin #487

Open CHH2000day opened 11 months ago

CHH2000day commented 11 months ago

Use github action to build debug & release binary for linux and windows. I don't have any macos device so there's no build job for macos at this moment

CHH2000day commented 11 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.

Plaease move back to your own issue for further discussion. The raseon,to be short,you need to recursively clone this project and its submodules

KSI65 commented 11 months ago

Sorry. Posted back in my own issue. Also, in your readme, you should remove the qmake reference since it's not in the project.

KSI65 commented 11 months ago

Hi, I tried to load your binary into X-Plane 12. But it didn't load. The error message in log.txt dlerror:/media/xp12/X-Plane 12/Resources/plugins/BetterPushback/lin_x64/BetterPushback.xpl: undefined symbol: lacf_glew_per_thread_ctx

CHH2000day commented 11 months ago

It might be a problem with libacfutils. I may not be able help you further since I only have headless linux devices and I am not a c/cpp developer.

KSI65 commented 11 months ago

No problem. I just thought you would want to know. I'm not sure that headless linux devices are a problem because in the end, the only way to test the build is by loading it in X-Plane 12. I spent many days trying to get the code to build on linux. But I couldn't. I gave up because there's so much change between what is working perfectly in XP11 and XP12. And the instructions for building are not clear & libacfutils is a big issue.

jonaseberle commented 11 months ago

@CHH2000day thank you for your work on that! That would help more people to be able to build and thus work on it.

I tested your Github actions build on Linux/Manjaro and have the same error unfortunately:

dlerror:/home/xxxx/Storage/X-Plane 12/Resources/plugins/BetterPushback/lin_x64/BetterPushback.xpl: undefined symbol: lacf_glew_per_thread_ctx

I have glew:2.2.0 on my system but libacfutils uses glew:1.13. 1.3 gets built and is used to build libacfutils but somehow the static build is not included in lin_x64/BetterPushback.xpl. I already tried to fix that locally but did not succeed. I hope somebody else knows how to adapt the build.

CHH2000day commented 11 months ago

@KSI65 @jonaseberle It seems the libacfutils build for linux failed due to a missing dependency.Please try this new build

jonaseberle commented 11 months ago

Thank you @CHH2000day! That was it! I can confirm the build works on Linux/Manjaro.

KSI65 commented 11 months ago

It also works on Linux Mint. Thanks @CHH2000day.