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

Need help cross compile with ALSA #304

Open
jlask opened this issue Mar 2, 2023 · 1 comment
Open

Need help cross compile with ALSA #304

jlask opened this issue Mar 2, 2023 · 1 comment

Comments

@jlask
Copy link

jlask commented Mar 2, 2023

I have a working cross compile for 32 bit mips (using Ingenic SDK toolchain) which is compiled for a uclibc kernel. I am able to get rtsp video stream just fine using my compiled version.

However, I cannot figure out how to get cmake to find the ALSA package. I have done the "sudo apt-get install libasound2-dev" but that just installs the 64-bit version. I even installed the i386 version. But I cannot figure out how to install a mips version.

I tried this on Debian, Linuxmint, and Ubuntu - all fail to find the ALSA library using cmake.

Can you guide me in what needs to be done so that cmake finds ALSA for a 32-bit mips compile?

I see you have precompiled Debian packages for mips, but the system I want to use it on is not Debian based. I also would like to understand how to cross compile with ALSA.

@mpromonet
Copy link
Owner

Hi,

I guess you need to install mips package.
Did you tried to cross compile https://github.com/alsa-project/alsa-lib ?

Best Regards,
Michel.

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