mpromonet / v4l2rtspserver

RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9
The Unlicense
1.86k stars 428 forks source link

Need help cross compile with ALSA #304

Open jlask opened 1 year ago

jlask commented 1 year ago

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 commented 1 year ago

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.