v4l2rtspserver icon indicating copy to clipboard operation
v4l2rtspserver copied to clipboard

Need help cross compile with ALSA

Open jlask opened this issue 2 years ago • 1 comments

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.

jlask avatar Mar 02 '23 22:03 jlask

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.

mpromonet avatar Mar 05 '23 17:03 mpromonet