Author Topic: Raspberry Pi Image for Pi2, Pi3 and Pi4 - with RetroPie  (Read 610910 times)

Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #75 on: May 02, 2016, 04:54:09 AM »

Hi guys, I've fixed up the custom version of SFML some more and I think we can now get rid of the X dependency when running attract-mode on the pi.
It is working for me on my (admittedly outdated) pi testing setup.  I haven't tried it yet with floob's image.  Any help testing would be greatly appreciated.
You "just" have to be prepared to recompile SFML to get it going... here it is (see the readme.md for instructions):  https://github.com/mickelson/sfml-pi


Sounds good! I'll give it a go. I did this on my existing image on a Pi3.
Although I had this error to start with


Code: [Select]
pi@retropie:~ $ sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg8-dev libfreetype6-dev libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version.
libflac-dev is already the newest version.
libogg-dev is already the newest version.
libopenal-dev is already the newest version.
libudev-dev is already the newest version.
libvorbis-dev is already the newest version.
libfreetype6-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 libsdl1.2-dev : Depends: libdirectfb-dev (>= 0.9.22) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


More output when I follow step 2:
http://pastebin.com/raw/YTZTyBkY

« Last Edit: May 02, 2016, 05:14:39 AM by Floob »
RetroPie Help Guides: https://goo.gl/3gcNsT

Omamez

  • Sr. Member
  • ****
  • Posts: 222
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #76 on: May 02, 2016, 06:27:18 AM »
I also go same error as floobs for the first sudo commad

and then when I tried to cmake I got this on rpi 3


http://pastebin.com/ZLkYSNit
« Last Edit: May 02, 2016, 06:46:54 AM by Omamez »

efraimsangil

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #77 on: May 02, 2016, 06:32:51 AM »
I am following this guide and at moment I don't have any problems...

https://github.com/mickelson/attract/wiki/Compiling-on-the-Raspberry-Pi-(Raspbian-Jessie)

Omamez

  • Sr. Member
  • ****
  • Posts: 222
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #78 on: May 02, 2016, 06:49:14 AM »
mine went through ok - only problem is how do I know if it works its compiled ok

efraimsangil

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #79 on: May 02, 2016, 07:30:40 AM »
mine went through ok - only problem is how do I know if it works its compiled ok

When Attract mode is compiled you see:

Code: [Select]
Compiling obj/gameswflib/gameswf_styles.o...
Compiling obj/gameswflib/gameswf_tesselate.o...
Compiling obj/gameswflib/gameswf_text.o...
Compiling obj/gameswflib/gameswf_tools.o...
Compiling obj/gameswflib/gameswf_types.o...
Compiling obj/gameswflib/gameswf_value.o...
Compiling obj/gameswflib/gameswf_video_impl.o...
Compiling obj/gameswflib/gameswf_mutex.o...
Compiling obj/gameswflib/gameswf_sound_handler_openal.o...
Compiling obj/gameswflib/gameswf_freetype.o...
Compiling obj/gameswflib/gameswf_render_handler_ogles.o...
Archiving obj/libgameswf.a...
mkdir -p obj/audiolib
Compiling obj/audiolib/ALCheck.o...
Compiling obj/audiolib/AudioDevice.o...
Compiling obj/audiolib/Listener.o...
Compiling obj/audiolib/SoundSource.o...
Compiling obj/audiolib/SoundStream.o...
Archiving obj/libaudio.a...
Creating executable: attract

Omamez

  • Sr. Member
  • ****
  • Posts: 222
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #80 on: May 02, 2016, 07:37:56 AM »
@ efraimsangil I think you are referring to AM compiling

I'am actually talking about SFML what raygun posted last http://forum.attractmode.org/index.php?topic=705.msg5408#msg5408


efraimsangil

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #81 on: May 02, 2016, 07:41:09 AM »
@ efraimsangil I think you are referring to AM compiling

I'am actually talking about SFML what raygun posted last http://forum.attractmode.org/index.php?topic=705.msg5408#msg5408

Ok... this is the messages compiling SMFL:

Code: [Select]
pi@retropie:~/develop/sfml-pi/build $ cmake -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DFREETYPE_INCLUDE_DIR_freetype2=/usr/include -DFREETYPE_INCLUDE_DIR_ft2build=/usr/include/freetype2 -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so -DSFML_BCMHOST=1 -DSFML_OPENGL_ES=1 ..
-- libudev stable: 1
-- Found UDev: /usr/lib/arm-linux-gnueabihf/libudev.so
--    include: /usr/include
-- Found OpenAL: /usr/lib/arm-linux-gnueabihf/libopenal.so 
-- Found VORBIS: /usr/lib/arm-linux-gnueabihf/libvorbis.so 
-- Found FLAC: /usr/lib/arm-linux-gnueabihf/libFLAC.so 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/develop/sfml-pi/build

And

Code: [Select]
pi@retropie:~/develop/sfml-pi/build $ sudo make install
Scanning dependencies of target sfml-system
[  1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.o
[  2%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.o
[  3%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Lock.cpp.o
[  4%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.o
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.o
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.o
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.o
[  8%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.o
[  9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Time.cpp.o
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/FileInputStream.cpp.o
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/MemoryInputStream.cpp.o
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ClockImpl.cpp.o
[ 13%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/MutexImpl.cpp.o
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/SleepImpl.cpp.o
[ 15%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ThreadImpl.cpp.o
[ 16%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ThreadLocalImpl.cpp.o
Linking CXX shared library ../../../lib/libsfml-system.so
[ 16%] Built target sfml-system
Scanning dependencies of target sfml-window
[ 17%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.o
[ 18%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.o
[ 21%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.o
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.o
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.o
[ 24%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.o
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Touch.cpp.o
[ 26%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Sensor.cpp.o
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/SensorManager.cpp.o
[ 28%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.o
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.o
[ 30%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.o
[ 31%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/EGLCheck.cpp.o
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/EglContext.cpp.o
[ 33%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/Display.cpp.o
[ 34%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/InputImpl.cpp.o
[ 35%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/SensorImpl.cpp.o
[ 36%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/VideoModeImpl.cpp.o
[ 37%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/WindowImplX11.cpp.o
[ 38%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/JoystickImpl.cpp.o
Linking CXX shared library ../../../lib/libsfml-window.so
[ 38%] Built target sfml-window
Scanning dependencies of target sfml-network
[ 40%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Ftp.cpp.o
[ 41%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Http.cpp.o
[ 42%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/IpAddress.cpp.o
[ 43%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Packet.cpp.o
[ 44%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Socket.cpp.o
[ 45%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/SocketSelector.cpp.o
[ 46%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpListener.cpp.o
[ 47%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/TcpSocket.cpp.o
[ 48%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/UdpSocket.cpp.o
[ 49%] Building CXX object src/SFML/Network/CMakeFiles/sfml-network.dir/Unix/SocketImpl.cpp.o
Linking CXX shared library ../../../lib/libsfml-network.so
[ 49%] Built target sfml-network
Scanning dependencies of target sfml-graphics
[ 50%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/BlendMode.cpp.o
[ 51%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Color.cpp.o
[ 52%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Font.cpp.o
[ 53%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLCheck.cpp.o
[ 54%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/GLExtensions.cpp.o
[ 55%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Image.cpp.o
[ 56%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/ImageLoader.cpp.o
[ 57%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderStates.cpp.o
[ 58%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTexture.cpp.o
[ 60%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTarget.cpp.o
[ 61%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderWindow.cpp.o
[ 62%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shader.cpp.o
[ 63%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Texture.cpp.o
[ 64%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/TextureSaver.cpp.o
[ 65%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Transform.cpp.o
[ 66%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Transformable.cpp.o
[ 67%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/View.cpp.o
[ 68%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Vertex.cpp.o
[ 69%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Shape.cpp.o
[ 70%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/CircleShape.cpp.o
[ 71%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RectangleShape.cpp.o
[ 72%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/ConvexShape.cpp.o
[ 73%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Sprite.cpp.o
[ 74%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Text.cpp.o
[ 75%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/VertexArray.cpp.o
[ 76%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTextureImpl.cpp.o
[ 77%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTextureImplFBO.cpp.o
[ 78%] Building CXX object src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/RenderTextureImplDefault.cpp.o
Linking CXX shared library ../../../lib/libsfml-graphics.so
[ 78%] Built target sfml-graphics
Scanning dependencies of target sfml-audio
[ 80%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/ALCheck.cpp.o
[ 81%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/AlResource.cpp.o
[ 82%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/AudioDevice.cpp.o
[ 83%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Listener.cpp.o
[ 84%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Music.cpp.o
[ 85%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/Sound.cpp.o
[ 86%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundBuffer.cpp.o
[ 87%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundBufferRecorder.cpp.o
[ 88%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/InputSoundFile.cpp.o
[ 89%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/OutputSoundFile.cpp.o
[ 90%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundRecorder.cpp.o
[ 91%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundSource.cpp.o
[ 92%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundStream.cpp.o
[ 93%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileFactory.cpp.o
[ 94%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileReaderFlac.cpp.o
[ 95%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileReaderOgg.cpp.o
[ 96%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileReaderWav.cpp.o
[ 97%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileWriterFlac.cpp.o
[ 98%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileWriterOgg.cpp.o
[100%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundFileWriterWav.cpp.o
Linking CXX shared library ../../../lib/libsfml-audio.so
[100%] Built target sfml-audio
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/./include
-- Installing: /usr/local/./include/SFML
-- Installing: /usr/local/./include/SFML/Config.hpp
-- Installing: /usr/local/./include/SFML/Network
-- Installing: /usr/local/./include/SFML/Network/SocketSelector.hpp
-- Installing: /usr/local/./include/SFML/Network/TcpListener.hpp
-- Installing: /usr/local/./include/SFML/Network/UdpSocket.hpp
-- Installing: /usr/local/./include/SFML/Network/Socket.hpp
-- Installing: /usr/local/./include/SFML/Network/IpAddress.hpp
-- Installing: /usr/local/./include/SFML/Network/TcpSocket.hpp
-- Installing: /usr/local/./include/SFML/Network/Export.hpp
-- Installing: /usr/local/./include/SFML/Network/Ftp.hpp
-- Installing: /usr/local/./include/SFML/Network/Packet.hpp
-- Installing: /usr/local/./include/SFML/Network/SocketHandle.hpp
-- Installing: /usr/local/./include/SFML/Network/Http.hpp
-- Installing: /usr/local/./include/SFML/Window.hpp
-- Installing: /usr/local/./include/SFML/Network.hpp
-- Installing: /usr/local/./include/SFML/Window
-- Installing: /usr/local/./include/SFML/Window/Mouse.hpp
-- Installing: /usr/local/./include/SFML/Window/Window.hpp
-- Installing: /usr/local/./include/SFML/Window/VideoMode.hpp
-- Installing: /usr/local/./include/SFML/Window/Joystick.hpp
-- Installing: /usr/local/./include/SFML/Window/GlResource.hpp
-- Installing: /usr/local/./include/SFML/Window/Export.hpp
-- Installing: /usr/local/./include/SFML/Window/Context.hpp
-- Installing: /usr/local/./include/SFML/Window/Event.hpp
-- Installing: /usr/local/./include/SFML/Window/Sensor.hpp
-- Installing: /usr/local/./include/SFML/Window/Touch.hpp
-- Installing: /usr/local/./include/SFML/Window/ContextSettings.hpp
-- Installing: /usr/local/./include/SFML/Window/WindowHandle.hpp
-- Installing: /usr/local/./include/SFML/Window/Keyboard.hpp
-- Installing: /usr/local/./include/SFML/Window/WindowStyle.hpp
-- Installing: /usr/local/./include/SFML/System.hpp
-- Installing: /usr/local/./include/SFML/Main.hpp
-- Installing: /usr/local/./include/SFML/Graphics.hpp
-- Installing: /usr/local/./include/SFML/Audio.hpp
-- Installing: /usr/local/./include/SFML/OpenGL.hpp
-- Installing: /usr/local/./include/SFML/System
-- Installing: /usr/local/./include/SFML/System/InputStream.hpp
-- Installing: /usr/local/./include/SFML/System/MemoryInputStream.hpp
-- Installing: /usr/local/./include/SFML/System/ThreadLocalPtr.inl
-- Installing: /usr/local/./include/SFML/System/Utf.hpp
-- Installing: /usr/local/./include/SFML/System/NonCopyable.hpp
-- Installing: /usr/local/./include/SFML/System/Sleep.hpp
-- Installing: /usr/local/./include/SFML/System/ThreadLocalPtr.hpp
-- Installing: /usr/local/./include/SFML/System/FileInputStream.hpp
-- Installing: /usr/local/./include/SFML/System/Thread.hpp
-- Installing: /usr/local/./include/SFML/System/Mutex.hpp
-- Installing: /usr/local/./include/SFML/System/String.hpp
-- Installing: /usr/local/./include/SFML/System/Clock.hpp
-- Installing: /usr/local/./include/SFML/System/Vector3.hpp
-- Installing: /usr/local/./include/SFML/System/Vector2.inl
-- Installing: /usr/local/./include/SFML/System/Export.hpp
-- Installing: /usr/local/./include/SFML/System/Lock.hpp
-- Installing: /usr/local/./include/SFML/System/Vector3.inl
-- Installing: /usr/local/./include/SFML/System/String.inl
-- Installing: /usr/local/./include/SFML/System/Vector2.hpp
-- Installing: /usr/local/./include/SFML/System/Thread.inl
-- Installing: /usr/local/./include/SFML/System/Err.hpp
-- Installing: /usr/local/./include/SFML/System/Time.hpp
-- Installing: /usr/local/./include/SFML/System/Utf.inl
-- Installing: /usr/local/./include/SFML/System/ThreadLocal.hpp
-- Installing: /usr/local/./include/SFML/Graphics
-- Installing: /usr/local/./include/SFML/Graphics/CircleShape.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Rect.inl
-- Installing: /usr/local/./include/SFML/Graphics/RenderWindow.hpp
-- Installing: /usr/local/./include/SFML/Graphics/RectangleShape.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Drawable.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Font.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Transform.hpp
-- Installing: /usr/local/./include/SFML/Graphics/BlendMode.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Shader.hpp
-- Installing: /usr/local/./include/SFML/Graphics/VertexArray.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Image.hpp
-- Installing: /usr/local/./include/SFML/Graphics/ConvexShape.hpp
-- Installing: /usr/local/./include/SFML/Graphics/View.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Glyph.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Texture.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Color.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Text.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Export.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Vertex.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Sprite.hpp
-- Installing: /usr/local/./include/SFML/Graphics/RenderTexture.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Shape.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Rect.hpp
-- Installing: /usr/local/./include/SFML/Graphics/Transformable.hpp
-- Installing: /usr/local/./include/SFML/Graphics/PrimitiveType.hpp
-- Installing: /usr/local/./include/SFML/Graphics/RenderTarget.hpp
-- Installing: /usr/local/./include/SFML/Graphics/RenderStates.hpp
-- Installing: /usr/local/./include/SFML/Audio
-- Installing: /usr/local/./include/SFML/Audio/InputSoundFile.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundFileFactory.hpp
-- Installing: /usr/local/./include/SFML/Audio/OutputSoundFile.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundRecorder.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundBuffer.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundStream.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundBufferRecorder.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundSource.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundFileFactory.inl
-- Installing: /usr/local/./include/SFML/Audio/AlResource.hpp
-- Installing: /usr/local/./include/SFML/Audio/Export.hpp
-- Installing: /usr/local/./include/SFML/Audio/Music.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundFileWriter.hpp
-- Installing: /usr/local/./include/SFML/Audio/SoundFileReader.hpp
-- Installing: /usr/local/./include/SFML/Audio/Listener.hpp
-- Installing: /usr/local/./include/SFML/Audio/Sound.hpp
-- Installing: /usr/local/share/SFML/license.txt
-- Installing: /usr/local/share/SFML/readme.txt
-- Installing: /usr/local/share/SFML/cmake/Modules/FindSFML.cmake
-- Installing: /usr/local/lib/libsfml-system.so.2.2.0
-- Installing: /usr/local/lib/libsfml-system.so.2.2
-- Installing: /usr/local/lib/libsfml-system.so
-- Installing: /usr/local/lib/libsfml-window.so.2.2.0
-- Installing: /usr/local/lib/libsfml-window.so.2.2
-- Installing: /usr/local/lib/libsfml-window.so
-- Removed runtime path from "/usr/local/lib/libsfml-window.so.2.2.0"
-- Installing: /usr/local/lib/libsfml-network.so.2.2.0
-- Installing: /usr/local/lib/libsfml-network.so.2.2
-- Installing: /usr/local/lib/libsfml-network.so
-- Removed runtime path from "/usr/local/lib/libsfml-network.so.2.2.0"
-- Installing: /usr/local/lib/libsfml-graphics.so.2.2.0
-- Installing: /usr/local/lib/libsfml-graphics.so.2.2
-- Installing: /usr/local/lib/libsfml-graphics.so
-- Removed runtime path from "/usr/local/lib/libsfml-graphics.so.2.2.0"
-- Installing: /usr/local/lib/libsfml-audio.so.2.2.0
-- Installing: /usr/local/lib/libsfml-audio.so.2.2
-- Installing: /usr/local/lib/libsfml-audio.so
-- Removed runtime path from "/usr/local/lib/libsfml-audio.so.2.2.0"

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #82 on: May 02, 2016, 08:24:34 AM »
Look forward to someone figuring this out and sharing a image. I tried to comple but I'm lost on the first step. lol
The link to Compiling SFML with CMake doesn't give any clear instructions for Linux which I assume is what I'd want for the Pi?

Omamez

  • Sr. Member
  • ****
  • Posts: 222
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #83 on: May 02, 2016, 09:13:09 AM »
Quick Tuturial

Step.1 - download putty and Open
Step.2 - insert ip of the raspberry pi and port 22
Step.3 - insert username= pi - password=raspberry
step.4 - sudo apt-get update
step.5 - sudo apt-get upgrade
step.6 - git clone https://github.com/mickelson/sfml-pi.git
step.7 - once downloaded then
step.8 - sudo apt-get install cmake libflac-dev libogg-dev libvorbis-dev libopenal-dev libjpeg8-dev libfreetype6-dev libudev-dev
step.9 - then type "cd SFML" don't added the quotations marks
step.10 - type "mkdir build" don't added the quotations marks
step.11 - then type "cd build" don't added the quotations marks
step.12 - cmake .. -DSFML_RPI=1 -DEGL_INCLUDE_DIR=/opt/vc/include -DEGL_LIBRARY=/opt/vc/lib/libEGL.so -DGLES_INCLUDE_DIR=/opt/vc/include -DGLES_LIBRARY=/opt/vc/lib/libGLESv1_CM.so

step.13 - sudo make install
step.14 - sudo ldconfig


if successful you will see what efraimsangil got as a log all done via your pc and putty






Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #84 on: May 02, 2016, 09:38:14 AM »
Quick Tuturial


I know how to compile a img, I had my RPi 3 image working before this post exsisted. LOL
I was asking about the CMake since it just returned errors.
Steps 6-8 which still return errors so I'll have to wait until someone figures it out and is nice enough to share.  ;)

noxx

  • Full Member
  • ***
  • Posts: 29
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #85 on: May 02, 2016, 10:13:55 AM »
https://github.com/mickelson/attract/blob/master/Readme.md

read the section on romlists.

hi,

i want all my games in one List/Screen

i read this, but i dont understand this....
Quote
ROMLISTS: Collection/Rom lists are saved in the "romlist" subdirectory of your Attract-Mode config directory.

i ve no romlist directory in my config directory

\\RETROPIE\configs

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #86 on: May 02, 2016, 10:46:55 AM »
https://github.com/mickelson/attract/blob/master/Readme.md

read the section on romlists.

hi,

i want all my games in one List/Screen

i read this, but i dont understand this....
Quote
ROMLISTS: Collection/Rom lists are saved in the "romlist" subdirectory of your Attract-Mode config directory.

i ve no romlist directory in my config directory

\\RETROPIE\configs

I believe the directory you want to look in is  /home/pi/.attract/romlists

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #87 on: May 02, 2016, 11:57:35 AM »
Hi guys, I've fixed up the custom version of SFML some more and I think we can now get rid of the X dependency when running attract-mode on the pi.

It is working for me on my (admittedly outdated) pi testing setup.  I haven't tried it yet with floob's image.  Any help testing would be greatly appreciated.

You "just" have to be prepared to recompile SFML to get it going... here it is (see the readme.md for instructions):  https://github.com/mickelson/sfml-pi

Man, I just compiled SFML for a new setup Sat. LOL!
Ok,
I'll be happy to test!
If this works then Advmame may work for us.

Finhead

  • Sr. Member
  • ****
  • Posts: 125
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #88 on: May 02, 2016, 12:11:50 PM »
Ok I think I got this complied and working even with a few errors.

Advmame is now working fine for me other than video is not full screen, it runs in the upper left corner at a max resolution of 448 X 576. The Advmame menu only allows that as the max resolution.
 The game works perfectly just scaled. Anyone hav any idea on how to get this to full screen?

Floob

  • Full Member
  • ***
  • Posts: 84
    • View Profile
Re: Raspberry Pi Image for Pi 2 and Pi 3
« Reply #89 on: May 02, 2016, 12:21:31 PM »

WooHoo!
Got it working without X.


Ok, there may be a few glitches, but I'm sure raygun can sort those.
My testing below is based on RetroPie 3.7 as opposed to a clean Raspbian Jessie.


So I run it here (first run created .cfg files fine, this is second/subsequent runs):


Code: [Select]
pi@retropie:~/develop/attract $ attract
Starting Attract-Mode v2.0.0 (Linux)
Config: /home/pi/.attract/attract.cfg
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
glGetError 0x500
glGetError 0x500
glGetError 0x500


Quitting outputs
Code: [Select]
pi@retropie:~ $ D
-bash: D: command not found


This now means the runcommand function is working!
https://github.com/RetroPie/RetroPie-Setup/wiki/runcommand
RetroPie Help Guides: https://goo.gl/3gcNsT