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

Follow the given steps to make -j4 and get an error. #101

Open
lxhxxbc opened this issue Dec 19, 2024 · 1 comment
Open

Follow the given steps to make -j4 and get an error. #101

lxhxxbc opened this issue Dec 19, 2024 · 1 comment

Comments

@lxhxxbc
Copy link

lxhxxbc commented Dec 19, 2024

error:
/usr/bin/ld:/home/pi/pyorbbecsdk/sdk/lib/arm64/libOrbbecSDK.so: file format not recognized; treating as linker script
/usr/bin/ld:/home/pi/pyorbbecsdk/sdk/lib/arm64/libOrbbecSDK.so:0: syntax error
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/pyorbbecsdk.dir/build.make:289: pyorbbecsdk.cpython-311-aarch64-linux-gnu.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/pyorbbecsdk.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

@jian-dong
Copy link
Contributor

It looks like you might have extracted the files on a Windows system and then copied them to your ARM device. Please make sure to extract the files directly on your Linux environment instead of unzipping them on Windows. Extracting on Windows can lead to incompatible file formats, which is likely causing the linker errors you're encountering.

If you continue to experience issues after extracting on Linux, feel free to provide more details, and I'll be happy to help further!

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