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

Compile Pi4 Fails #35

Closed
2play opened this issue Apr 2, 2021 · 3 comments
Closed

Compile Pi4 Fails #35

2play opened this issue Apr 2, 2021 · 3 comments

Comments

@2play
Copy link

2play commented Apr 2, 2021

As per read me both git clone and tar source fail with

Scanning dependencies of target video [ 8%] Building CXX object video/CMakeFiles/video.dir/video.cpp.o In file included from /home/pi/code/hypseus-1.3.0/src/video/video.h:29, from /home/pi/code/hypseus-1.3.0/src/video/video.cpp:36: /home/pi/code/hypseus-1.3.0/src/video/SDL_FontCache.h:37:10: fatal error: SDL_ttf.h: No such file or directory #include "SDL_ttf.h" ^~~~~~~~~~~ compilation terminated. make[2]: *** [video/CMakeFiles/video.dir/build.make:63: video/CMakeFiles/video.dir/video.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:719: video/CMakeFiles/video.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

Best I got was at 26% by setting
CFLAGS="-O3 -march=armv8-a+crc+simd -mtune=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard" CXXFLAGS="-O3 -march=armv8-a+crc+simd -mtune=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard"

[ 26%] Building CXX object video/CMakeFiles/video.dir/video.cpp.o In file included from /home/pi/code/hypseus-1.3.0/src/video/video.h:29, from /home/pi/code/hypseus-1.3.0/src/video/video.cpp:36: /home/pi/code/hypseus-1.3.0/src/video/SDL_FontCache.h:37:10: fatal error: SDL_ttf.h: No such file or directory #include "SDL_ttf.h" ^~~~~~~~~~~ compilation terminated. make[2]: *** [video/CMakeFiles/video.dir/build.make:63: video/CMakeFiles/video.dir/video.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:719: video/CMakeFiles/video.dir/all] Error 2 make: *** [Makefile:106: all] Error 2

Any ideas?

@DirtBagXon
Copy link

No such file or directory #include "SDL_ttf.h" is your clue.

Try this compile for RPi: https://github.com/DirtBagXon/hypseus-singe/blob/master/RETROPIE.md

@2play
Copy link
Author

2play commented Apr 5, 2021

Thank you @DirtBagXon
I will do this morning and reply. Guide is very straightforward!

@2play
Copy link
Author

2play commented Apr 6, 2021

You are the man! Thank you for the kind support!
All work great and I use hypseus even as its own emu setup

@2play 2play closed this as completed Apr 6, 2021
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