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

Unable to build main branch #45

Closed
SBCV-apegram opened this issue May 18, 2022 · 2 comments
Closed

Unable to build main branch #45

SBCV-apegram opened this issue May 18, 2022 · 2 comments
Labels

Comments

@SBCV-apegram
Copy link
Contributor

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

@SBCV-apegram
Copy link
Contributor Author

SBCV-apegram commented May 18, 2022

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!

@github-actions github-actions bot added the stale label Jun 15, 2022
@github-actions
Copy link

No update to this issue for 30 days. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant