problem with Make
make Looking for bcm_host.h bcm_host.h found Looking for libMali.so libMali.so not found CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindFreetype.cmake:106 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred! Makefile:120: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1
I was following the tutorial and i get this error ...
This is on the raspberry pi 2 b
Do you have the lib freetype on your raspberry ?
Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS)
For some reason the RPi 2 FreeType package changed around the include directory. Try running with
cmake . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype/
Looking for bcm_host.h bcm_host.h found Looking for libMali.so libMali.so not found -- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so -- Looking for FreeImage... -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'freeimage' -- package 'freeimage' not found -- Found FreeImage: optimized;/usr/lib/libfreeimage.so;debug;/usr/lib/libfreeimage.so -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found. -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL2: /usr/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.so;-lpthread -- Boost version: 1.49.0 -- Found the following Boost libraries: -- system -- filesystem -- date_time -- locale -- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") -- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.26.0") -- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version "1.0.25") CMake Error at CMakeLists.txt:77 (message): You need at least G++ 4.7 to compile EmulationStation!
-- Configuring incomplete, errors occurred!
After a lot of messing around it seems to be working now :) THNX. What is the fun when you dont have some trouble :)
cmake . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype/ returns "/usr/include/freetype/ does not exist" what am I doing wrong here?
Got the same problem like binaryangel0100
pi@raspberry ~/EmulationStation $ cmake -DCMAKE_CXX_COMPILER=g++-4.7 . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype/ CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:81 (FILE): file Internal CMake error when trying to open file: /home/pi/EmulationStation/CMakeFiles/CompilerIdC/CMakeCCompilerId.c for writing. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE) /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:130 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (project)
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:81 (FILE): file Internal CMake error when trying to open file: /home/pi/EmulationStation/CMakeFiles/CompilerIdC/CMakeCCompilerId.c for writing. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE) /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:130 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (project)
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:81 (FILE): file Internal CMake error when trying to open file: /home/pi/EmulationStation/CMakeFiles/CompilerIdC/CMakeCCompilerId.c for writing. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE) /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:130 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (project)
-- The C compiler identification is unknown CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:81 (FILE): file Internal CMake error when trying to open file: /home/pi/EmulationStation/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp for writing. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE) /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:138 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (project)
CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:81 (FILE): file Internal CMake error when trying to open file: /home/pi/EmulationStation/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp for writing. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:91 (CMAKE_DETERMINE_COMPILER_ID_WRITE) /usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake:39 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:138 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:3 (project)
-- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++-4.7 -- Check for working CXX compiler: /usr/bin/g++-4.7 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done Looking for bcm_host.h bcm_host.h found Looking for libMali.so libMali.so not found CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find Freetype (missing: FREETYPE_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindFreetype.cmake:106 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred! pi@raspberry ~/EmulationStation $ cmake -DCMAKE_CXX_COMPILER=g++-4.7 . Looking for bcm_host.h bcm_host.h found Looking for libMali.so libMali.so not found CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find Freetype (missing: FREETYPE_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindFreetype.cmake:106 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:45 (find_package)
-- Configuring incomplete, errors occurred! You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_CXX_COMPILER= g++-4.7
-- Generating done -- Build files have been written to: /home/pi/EmulationStation
I found it! It works!
cmake . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype/ -DCMAKE_CXX_COMPILER=g++-4.7
Then run
make
Excuse me, typo there.
cmake . -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ -DCMAKE_CXX_COMPILER=g++-4.7
Notice the "2" after "/freetype"
Then run
make
Not for me!
@binaryangel0100 May I see what command you ran before running "make"?
As stated in your solution
Just
sudo rm -r /Emulationstation
and start from cloning the git repo and it should work
Yes! This fixed it compiling now! Currently at 12% thank you so much!
Sent from my Sony Xperia™ smartphone
---- LodeVlaeminck wrote ----
Just
sudo rm -r /Emulationstation
and start from cloning the git repo and it should work
— Reply to this email directly or view it on GitHub.
https://drive.google.com/open?id=0B0P7l1XOwwdIUExKRWMwRTdOYnc&authuser=0 what!!!!!! the HELL MAN AFTER ALL THAT!!
@binaryangel0100 Its working dude, it just cant start because you need to run it from a desktop environment, try emulationstation -h and see what result you get.
No i've ran it in the GUI and nothing happens and I mean nothing
What was the output of emulationstation -h ?
help... but didn't help me enough to run ES
what desktop environment are you running?
raspian
does it boot into command line or directly to desktop? because the screen shots are obviously from command line.
command line
in order for emulation station to start you have to boot into desktop and then run emulation station from a terminal window.
facepalm ONE HOUR AGO I SAID "No i've ran it in the GUI and nothing happens and I mean nothing" and you don't need to run it in the GUI at all once you type emulationstation it then kicks you into ES anyway or so every youtube Video leads me to believe
video link?
https://www.youtube.com/watch?v=vq99cf1cuk8
are you using retropie?
no I'm using the stand alone version
just to prove my point that terminal is still terminal regardless of interface https://drive.google.com/file/d/0B0P7l1XOwwdIU0I2VDZ5NHpPbTQ/view?usp=sharing