-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Raspberry Pi Error #984
Comments
Hi RaspberyPye, I am trying the same (compiling on a RaspberryPi 4) and got the same error.
Still I get the error. The command that fails is
This command is in file Editing However, how could I make |
For building on raspberry pi (4), I had to install libglvnd-dev instead of libglu1-mesa-dev (as adviced by apt-get). Then I followed advice on #794 (comment) and added as the 2nd line in CMakeLists.txt:
and that's all. I've managed to compile tic80 and the linker no longer complained about lbcm_host (there is a bcm_host.h in /opt/vc/include/) (note: I'm running raspbian 10) |
Dup of #1017 |
I am trying to build from sources and have reached the 'make' command, however i encounter an error:
/usr/bin/ld: cannot find -lbcm_host
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/player-sdl.dir/build.make:93: bin/player-sdl] Error 1
make[1]: *** [CMakeFiles/Makefile2:200: CMakeFiles/player-sdl.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I have found a similar error on this forum, but the solution was confusing. Here it is:
#794
I don't understand the solution, where would i put that code? I tried placing it on line 4, but got this error:
/usr/bin/ld: lib/libSDL2.a(SDL_dynapi.c.o): undefined reference to symbol 'dlopen@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/player-sdl.dir/build.make:93: bin/player-sdl] Error 1
make[1]: *** [CMakeFiles/Makefile2:200: CMakeFiles/player-sdl.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I don't know what to do and i appreciate the help,
Love what you're doing with TIC-80, i just wish i could access it!
Thanks!
The text was updated successfully, but these errors were encountered: