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

How to compile? #64

Open
March911 opened this issue Sep 26, 2023 · 3 comments
Open

How to compile? #64

March911 opened this issue Sep 26, 2023 · 3 comments

Comments

@March911
Copy link

1.Can I use an x86 architecture system to complete the compilation according to your prompts?

2.What is the final compiled product? Is it an. so file

Thank you very much!

@michaelgruner
Copy link
Contributor

Hi @March911:

1.Can I use an x86 architecture system to complete the compilation according to your prompts?

Yes, you can build the project in a x86 architecture.

2.What is the final compiled product? Is it an. so file

The project builds a GStreamer plug-in. This is a specially formatted .so file that is loaded at runtime by the GStreamer core.

Are you using GStreamer?

If not, you might be more interested in using Pylon directly. Pylon is the SDK provided by Basler to interact with their cameras programmatically.

If yes, you're in the right place ;)

@March911
Copy link
Author

yes,i'm using GStreamer.

  1. I would like to know if it is possible to use cross compilation tools on x86 to compile. so files for the arm64 architecture. Currently, I have been prompted that some dependent library formats are not compatible (x86) (including libgstreamer 1.0. so, libgstvideo 1.0. so, and others)

  2. I have compiled libgstpylon.so based on your prompts on x86. Is this the final product? But I want to compile a version of arm64 because I ultimately want to use it in the gstreamer framework under the arm64 architecture machine. I hope you will not hesitate to give me your advice!
    thanks!

@thiesmoeller
Copy link
Collaborator

thiesmoeller commented Sep 27, 2023

See this reference to the yocto cross build process
https://github.com/basler/meta-basler-tools/tree/kirkstone/recipes-multimedia/gstreamer

For cross builds with meson you have to setup a meson cross file that describes your toolchain

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

3 participants