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

Build error #272

Open
coreybruce opened this issue Aug 1, 2020 · 3 comments
Open

Build error #272

coreybruce opened this issue Aug 1, 2020 · 3 comments
Assignees
Labels
A-linux Area : Linux E-easy Effort: Easy. Good for newcomers T-nominated Status: nominated to next release

Comments

@coreybruce
Copy link

coreybruce commented Aug 1, 2020

Followed the compiling instructions for Linux on my raspberry pi 4 8gb running Manjaro Arm which is a ARM64 OS and ran into error at 80%

[ 80%] Linking CXX executable xuolauncher /usr/bin/ld: cannot find -lbcm_host /usr/bin/ld: cannot find -lbcm_host collect2: error: ld returned 1 exit status make[2]: *** [tools/xuoi/CMakeFiles/xuolauncher.dir/build.make:227: tools/xuoi/xuolauncher] Error 1 make[1]: *** [CMakeFiles/Makefile2:756: tools/xuoi/CMakeFiles/xuolauncher.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 [corey@manjaro-pi stuff]$

@Nirad
Copy link
Member

Nirad commented Aug 3, 2020

make sure you have /opt/vc/lib and add a line link_directories(/opt/vc/lib) in CMakeList.txt

@Nirad Nirad self-assigned this Aug 5, 2020
@Nirad Nirad added A-linux Area : Linux E-easy Effort: Easy. Good for newcomers T-nominated Status: nominated to next release labels Aug 5, 2020
@coreybruce
Copy link
Author

You should be not using /opt/vc/lib on Raspberry Pi 4. The vc stands for VideoCore library which is used only in Raspberry Pi 1, 2, and 3.

matusnovak/rpi-opengl-without-x#3 (comment)

@fungos
Copy link
Contributor

fungos commented Oct 3, 2020

Do you know if there is a docker env to emulate your rpi4 environment? I can use that to maintain this building for rpi4 even without having a rpi4 myself (and I'm not really willing to buy one at the moment just for this).

@fungos fungos assigned fungos and unassigned Nirad Oct 3, 2020
@fungos fungos added this to In progress in GFX 2.0 - Next Beta Release Oct 4, 2020
@fungos fungos pinned this issue Oct 16, 2020
@fungos fungos moved this from In progress to To do in GFX 2.0 - Next Beta Release Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linux Area : Linux E-easy Effort: Easy. Good for newcomers T-nominated Status: nominated to next release
Projects
Development

No branches or pull requests

3 participants