Unable to build main branch
Closed this issue · 2 comments
Describe the bug
Building using easy-setup.sh
or manually results in the following error:
/usr/bin/ld: skipping incompatible /home/apegram/raspindi/src/../lib/ndi/libndi.so when searching for -lndi
/usr/bin/ld: cannot find -lndi
/usr/bin/ld: skipping incompatible /home/apegram/raspindi/src/../lib/ndi/libndi.so when searching for -lndi
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/raspindi.dir/build.make:104: src/raspindi] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: src/CMakeFiles/raspindi.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
To Reproduce
git clone https://github.com/raspberry-pi-camera/raspindi.git && cd ./raspindi
./easy-setup.sh
Expected behavior
A completed, usable build
Additional context
This is run on a clean install of Raspberry Pi OS Lite (64-bit) on a Raspberry Pi CM4104032
Never mind, I solved the issue by installing the NDI SDK and copying over the 64-bit libraries.
curl -s https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v5_Linux.tar.gz | tar xvz -C /tmp/
cd ./lib/ndi
yes y | bash /tmp/Install_NDI_SDK_v5_Linux.sh > /dev/null
rm libndi.so*
cp ./NDI\ SDK\ for\ Linux/lib/aarch64-rpi4-linux-gnueabi/libndi.so* ./
rm -r NDI\ SDK\ for\ Linux/
cd ../../
Build now completes as expected and works wonderfully!
No update to this issue for 30 days. Closing