Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Solved] error: command 'gcc' failed with exit status 1 (pysfml-cython)  (Read 17815 times)

0 Members and 1 Guest are viewing this topic.

shackra

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://swt.encyclomundi.org
Hello, I'm new here and I have a problem (like everyone else :) ) while I tried to compile PySFML for Python2. I'm in Parabola GNU/Linux and I installed the package sfml-1.99git and csfml-199git (C bindings) for my 64bits distribution right from my respository.

I must say, Cython's PySFML have a huge API incompatibility :-/ since I compiled it from AUR.

So, I downloaded PySFML1-6 source and I did python setup.py build and I get this error:

Code: [Select]
jorge@Abril:~/coders/utilidades/SFML-1.6/python$ python setup.py build
running build
running build_py
running build_ext
building 'PySFML.sf' extension
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I../include -I/usr/include/python2.7 -c src/Clock.cpp -o build/temp.linux-x86_64-2.7/src/Clock.o
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I../include -I/usr/include/python2.7 -c src/Color.cpp -o build/temp.linux-x86_64-2.7/src/Color.o
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I../include -I/usr/include/python2.7 -c src/Drawable.cpp -o build/temp.linux-x86_64-2.7/src/Drawable.o
src/Drawable.cpp: En la función ‘PyObject* PySfDrawable_new(PyTypeObject*, PyObject*, PyObject*)’:
src/Drawable.cpp:60:34: error: no se puede asignar un objeto de tipo abstracto ‘CustomDrawable’
src/Drawable.hpp:35:7: nota:   porque las siguientes funciones virtual son pure dentro de ‘CustomDrawable’:
/usr/include/SFML/Graphics/Drawable.hpp:498:18: nota: virtual void sf::Drawable::Render(sf::RenderTarget&, sf::Renderer&) const
src/Drawable.cpp: En la función ‘PyObject* PySfDrawable_SetCenter(PySfDrawable*, PyObject*)’:
src/Drawable.cpp:116:13: error: ‘class CustomDrawable’ no tiene un miembro llamado ‘SetCenter’
src/Drawable.cpp: En la función ‘PyObject* PySfDrawable_GetCenter(PySfDrawable*)’:
src/Drawable.cpp:122:33: error: ‘class CustomDrawable’ no tiene un miembro llamado ‘GetCenter’
error: command 'gcc' failed with exit status 1
jorge@Abril:~/coders/utilidades/SFML-1.6/python$
(Is in spanish because I cant remember how to switch the output to english directly from GNU bash)

if you want to know which files the two SFML packages provides, here is:
Code: [Select]
jorge@Abril:~/coders/utilidades/SFML-1.6/python$ sudo pacman -Ql sfml
sfml /usr/
sfml /usr/include/
sfml /usr/include/SFML/
sfml /usr/include/SFML/Audio.hpp
sfml /usr/include/SFML/Audio/
sfml /usr/include/SFML/Audio/Listener.hpp
sfml /usr/include/SFML/Audio/Music.hpp
sfml /usr/include/SFML/Audio/Sound.hpp
sfml /usr/include/SFML/Audio/SoundBuffer.hpp
sfml /usr/include/SFML/Audio/SoundBufferRecorder.hpp
sfml /usr/include/SFML/Audio/SoundRecorder.hpp
sfml /usr/include/SFML/Audio/SoundSource.hpp
sfml /usr/include/SFML/Audio/SoundStream.hpp
sfml /usr/include/SFML/Config.hpp
sfml /usr/include/SFML/Graphics.hpp
sfml /usr/include/SFML/Graphics/
sfml /usr/include/SFML/Graphics/Color.hpp
sfml /usr/include/SFML/Graphics/Drawable.hpp
sfml /usr/include/SFML/Graphics/Font.hpp
sfml /usr/include/SFML/Graphics/Glyph.hpp
sfml /usr/include/SFML/Graphics/Image.hpp
sfml /usr/include/SFML/Graphics/Matrix3.hpp
sfml /usr/include/SFML/Graphics/Matrix3.inl
sfml /usr/include/SFML/Graphics/Rect.hpp
sfml /usr/include/SFML/Graphics/Rect.inl
sfml /usr/include/SFML/Graphics/RenderTarget.hpp
sfml /usr/include/SFML/Graphics/RenderTexture.hpp
sfml /usr/include/SFML/Graphics/RenderWindow.hpp
sfml /usr/include/SFML/Graphics/Renderer.hpp
sfml /usr/include/SFML/Graphics/Shader.hpp
sfml /usr/include/SFML/Graphics/Shape.hpp
sfml /usr/include/SFML/Graphics/Sprite.hpp
sfml /usr/include/SFML/Graphics/Text.hpp
sfml /usr/include/SFML/Graphics/Texture.hpp
sfml /usr/include/SFML/Graphics/View.hpp
sfml /usr/include/SFML/Network.hpp
sfml /usr/include/SFML/Network/
sfml /usr/include/SFML/Network/Ftp.hpp
sfml /usr/include/SFML/Network/Http.hpp
sfml /usr/include/SFML/Network/IpAddress.hpp
sfml /usr/include/SFML/Network/Packet.hpp
sfml /usr/include/SFML/Network/Socket.hpp
sfml /usr/include/SFML/Network/SocketHandle.hpp
sfml /usr/include/SFML/Network/SocketSelector.hpp
sfml /usr/include/SFML/Network/TcpListener.hpp
sfml /usr/include/SFML/Network/TcpSocket.hpp
sfml /usr/include/SFML/Network/UdpSocket.hpp
sfml /usr/include/SFML/OpenGL.hpp
sfml /usr/include/SFML/System.hpp
sfml /usr/include/SFML/System/
sfml /usr/include/SFML/System/Clock.hpp
sfml /usr/include/SFML/System/Err.hpp
sfml /usr/include/SFML/System/InputStream.hpp
sfml /usr/include/SFML/System/Lock.hpp
sfml /usr/include/SFML/System/Mutex.hpp
sfml /usr/include/SFML/System/NonCopyable.hpp
sfml /usr/include/SFML/System/Resource.hpp
sfml /usr/include/SFML/System/Resource.inl
sfml /usr/include/SFML/System/ResourcePtr.inl
sfml /usr/include/SFML/System/Sleep.hpp
sfml /usr/include/SFML/System/String.hpp
sfml /usr/include/SFML/System/Thread.hpp
sfml /usr/include/SFML/System/Thread.inl
sfml /usr/include/SFML/System/ThreadLocal.hpp
sfml /usr/include/SFML/System/ThreadLocalPtr.hpp
sfml /usr/include/SFML/System/ThreadLocalPtr.inl
sfml /usr/include/SFML/System/Utf.hpp
sfml /usr/include/SFML/System/Utf.inl
sfml /usr/include/SFML/System/Vector2.hpp
sfml /usr/include/SFML/System/Vector2.inl
sfml /usr/include/SFML/System/Vector3.hpp
sfml /usr/include/SFML/System/Vector3.inl
sfml /usr/include/SFML/Window.hpp
sfml /usr/include/SFML/Window/
sfml /usr/include/SFML/Window/Context.hpp
sfml /usr/include/SFML/Window/ContextSettings.hpp
sfml /usr/include/SFML/Window/Event.hpp
sfml /usr/include/SFML/Window/GlResource.hpp
sfml /usr/include/SFML/Window/Joystick.hpp
sfml /usr/include/SFML/Window/Keyboard.hpp
sfml /usr/include/SFML/Window/Mouse.hpp
sfml /usr/include/SFML/Window/VideoMode.hpp
sfml /usr/include/SFML/Window/Window.hpp
sfml /usr/include/SFML/Window/WindowHandle.hpp
sfml /usr/include/SFML/Window/WindowStyle.hpp
sfml /usr/lib/
sfml /usr/lib/libsfml-audio.so
sfml /usr/lib/libsfml-audio.so.2
sfml /usr/lib/libsfml-audio.so.2.0
sfml /usr/lib/libsfml-graphics.so
sfml /usr/lib/libsfml-graphics.so.2
sfml /usr/lib/libsfml-graphics.so.2.0
sfml /usr/lib/libsfml-network.so
sfml /usr/lib/libsfml-network.so.2
sfml /usr/lib/libsfml-network.so.2.0
sfml /usr/lib/libsfml-system.so
sfml /usr/lib/libsfml-system.so.2
sfml /usr/lib/libsfml-system.so.2.0
sfml /usr/lib/libsfml-window.so
sfml /usr/lib/libsfml-window.so.2
sfml /usr/lib/libsfml-window.so.2.0
sfml /usr/share/
sfml /usr/share/SFML/
sfml /usr/share/SFML/doc/
sfml /usr/share/SFML/doc/html/
sfml /usr/share/SFML/doc/html/Audio_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Clock_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Color_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Config_8hpp_source.htm
sfml /usr/share/SFML/doc/html/ContextSettings_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Context_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Drawable_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Err_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Event_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Font_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Ftp_8hpp_source.htm
sfml /usr/share/SFML/doc/html/GlResource_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Glyph_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Graphics_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Http_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Image_8hpp_source.htm
sfml /usr/share/SFML/doc/html/InputStream_8hpp_source.htm
sfml /usr/share/SFML/doc/html/IpAddress_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Joystick_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Keyboard_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Listener_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Lock_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Matrix3_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Matrix3_8inl_source.htm
sfml /usr/share/SFML/doc/html/Mouse_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Music_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Mutex_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Network_8hpp_source.htm
sfml /usr/share/SFML/doc/html/NonCopyable_8hpp_source.htm
sfml /usr/share/SFML/doc/html/OpenGL_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Packet_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Rect_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Rect_8inl_source.htm
sfml /usr/share/SFML/doc/html/RenderTarget_8hpp_source.htm
sfml /usr/share/SFML/doc/html/RenderTexture_8hpp_source.htm
sfml /usr/share/SFML/doc/html/RenderWindow_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Renderer_8hpp_source.htm
sfml /usr/share/SFML/doc/html/ResourcePtr_8inl_source.htm
sfml /usr/share/SFML/doc/html/Resource_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Resource_8inl_source.htm
sfml /usr/share/SFML/doc/html/Shader_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Shape_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Sleep_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SocketHandle_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SocketSelector_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Socket_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SoundBufferRecorder_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SoundBuffer_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SoundRecorder_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SoundSource_8hpp_source.htm
sfml /usr/share/SFML/doc/html/SoundStream_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Sound_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Sprite_8hpp_source.htm
sfml /usr/share/SFML/doc/html/String_8hpp_source.htm
sfml /usr/share/SFML/doc/html/System_8hpp_source.htm
sfml /usr/share/SFML/doc/html/TcpListener_8hpp_source.htm
sfml /usr/share/SFML/doc/html/TcpSocket_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Text_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Texture_8hpp_source.htm
sfml /usr/share/SFML/doc/html/ThreadLocalPtr_8hpp_source.htm
sfml /usr/share/SFML/doc/html/ThreadLocalPtr_8inl_source.htm
sfml /usr/share/SFML/doc/html/ThreadLocal_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Thread_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Thread_8inl_source.htm
sfml /usr/share/SFML/doc/html/UdpSocket_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Utf_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Utf_8inl_source.htm
sfml /usr/share/SFML/doc/html/Vector2_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Vector2_8inl_source.htm
sfml /usr/share/SFML/doc/html/Vector3_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Vector3_8inl_source.htm
sfml /usr/share/SFML/doc/html/VideoMode_8hpp_source.htm
sfml /usr/share/SFML/doc/html/View_8hpp_source.htm
sfml /usr/share/SFML/doc/html/WindowHandle_8hpp_source.htm
sfml /usr/share/SFML/doc/html/WindowStyle_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Window_2Window_8hpp_source.htm
sfml /usr/share/SFML/doc/html/Window_8hpp_source.htm
sfml /usr/share/SFML/doc/html/annotated.htm
sfml /usr/share/SFML/doc/html/bc_s.png
sfml /usr/share/SFML/doc/html/classes.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Clock-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Clock.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Color-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Color.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Context-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Context.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Context.png
sfml /usr/share/SFML/doc/html/classsf_1_1ContextSettings-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Drawable-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Drawable.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Drawable.png
sfml /usr/share/SFML/doc/html/classsf_1_1Event-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Event.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Font-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Font.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Font.png
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp.png
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1DirectoryResponse-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1DirectoryResponse.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1DirectoryResponse.png
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1ListingResponse-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1ListingResponse.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1ListingResponse.png
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1Response-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1Response.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Ftp_1_1Response.png
sfml /usr/share/SFML/doc/html/classsf_1_1GlResource-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1GlResource.htm
sfml /usr/share/SFML/doc/html/classsf_1_1GlResource.png
sfml /usr/share/SFML/doc/html/classsf_1_1Glyph-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Glyph.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Http-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Http.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Http.png
sfml /usr/share/SFML/doc/html/classsf_1_1Http_1_1Request-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Http_1_1Request.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Http_1_1Response-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Http_1_1Response.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Image-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Image.htm
sfml /usr/share/SFML/doc/html/classsf_1_1InputStream-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1InputStream.htm
sfml /usr/share/SFML/doc/html/classsf_1_1IpAddress-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1IpAddress.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Joystick-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Joystick.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Keyboard-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Keyboard.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Listener-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Listener.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Lock-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Lock.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Lock.png
sfml /usr/share/SFML/doc/html/classsf_1_1Matrix3-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Matrix3.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Mouse-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Mouse.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Music-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Music.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Music.png
sfml /usr/share/SFML/doc/html/classsf_1_1Mutex-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Mutex.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Mutex.png
sfml /usr/share/SFML/doc/html/classsf_1_1NonCopyable-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1NonCopyable.htm
sfml /usr/share/SFML/doc/html/classsf_1_1NonCopyable.png
sfml /usr/share/SFML/doc/html/classsf_1_1Packet-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Packet.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Rect-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Rect.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderTarget-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderTarget.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderTarget.png
sfml /usr/share/SFML/doc/html/classsf_1_1RenderTexture-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderTexture.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderTexture.png
sfml /usr/share/SFML/doc/html/classsf_1_1RenderWindow-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderWindow.htm
sfml /usr/share/SFML/doc/html/classsf_1_1RenderWindow.png
sfml /usr/share/SFML/doc/html/classsf_1_1Renderer-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Renderer.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Renderer.png
sfml /usr/share/SFML/doc/html/classsf_1_1Resource-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Resource.htm
sfml /usr/share/SFML/doc/html/classsf_1_1ResourcePtr-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1ResourcePtr.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Shader-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Shader.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Shader.png
sfml /usr/share/SFML/doc/html/classsf_1_1Shape-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Shape.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Shape.png
sfml /usr/share/SFML/doc/html/classsf_1_1Socket-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Socket.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Socket.png
sfml /usr/share/SFML/doc/html/classsf_1_1SocketSelector-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SocketSelector.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Sound-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Sound.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Sound.png
sfml /usr/share/SFML/doc/html/classsf_1_1SoundBuffer-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundBuffer.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundBuffer.png
sfml /usr/share/SFML/doc/html/classsf_1_1SoundBufferRecorder-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundBufferRecorder.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundBufferRecorder.png
sfml /usr/share/SFML/doc/html/classsf_1_1SoundRecorder-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundRecorder.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundRecorder.png
sfml /usr/share/SFML/doc/html/classsf_1_1SoundSource-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundSource.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundSource.png
sfml /usr/share/SFML/doc/html/classsf_1_1SoundStream-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundStream.htm
sfml /usr/share/SFML/doc/html/classsf_1_1SoundStream.png
sfml /usr/share/SFML/doc/html/classsf_1_1Sprite-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Sprite.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Sprite.png
sfml /usr/share/SFML/doc/html/classsf_1_1String-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1String.htm
sfml /usr/share/SFML/doc/html/classsf_1_1TcpListener-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1TcpListener.htm
sfml /usr/share/SFML/doc/html/classsf_1_1TcpListener.png
sfml /usr/share/SFML/doc/html/classsf_1_1TcpSocket-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1TcpSocket.htm
sfml /usr/share/SFML/doc/html/classsf_1_1TcpSocket.png
sfml /usr/share/SFML/doc/html/classsf_1_1Text-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Text.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Text.png
sfml /usr/share/SFML/doc/html/classsf_1_1Texture-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Texture.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Texture.png
sfml /usr/share/SFML/doc/html/classsf_1_1Thread-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Thread.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Thread.png
sfml /usr/share/SFML/doc/html/classsf_1_1ThreadLocal-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1ThreadLocal.htm
sfml /usr/share/SFML/doc/html/classsf_1_1ThreadLocal.png
sfml /usr/share/SFML/doc/html/classsf_1_1ThreadLocalPtr-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1ThreadLocalPtr.htm
sfml /usr/share/SFML/doc/html/classsf_1_1ThreadLocalPtr.png
sfml /usr/share/SFML/doc/html/classsf_1_1UdpSocket-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1UdpSocket.htm
sfml /usr/share/SFML/doc/html/classsf_1_1UdpSocket.png
sfml /usr/share/SFML/doc/html/classsf_1_1Utf.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Utf_3_0116_01_4-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Utf_3_0116_01_4.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Utf_3_0132_01_4-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Utf_3_0132_01_4.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Utf_3_018_01_4-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Utf_3_018_01_4.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Vector2-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Vector2.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Vector3-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Vector3.htm
sfml /usr/share/SFML/doc/html/classsf_1_1VideoMode-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1VideoMode.htm
sfml /usr/share/SFML/doc/html/classsf_1_1View-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1View.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Window-members.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Window.htm
sfml /usr/share/SFML/doc/html/classsf_1_1Window.png
sfml /usr/share/SFML/doc/html/closed.png
sfml /usr/share/SFML/doc/html/doxygen.css
sfml /usr/share/SFML/doc/html/doxygen.png
sfml /usr/share/SFML/doc/html/files.htm
sfml /usr/share/SFML/doc/html/functions.htm
sfml /usr/share/SFML/doc/html/functions_0x62.htm
sfml /usr/share/SFML/doc/html/functions_0x63.htm
sfml /usr/share/SFML/doc/html/functions_0x64.htm
sfml /usr/share/SFML/doc/html/functions_0x65.htm
sfml /usr/share/SFML/doc/html/functions_0x66.htm
sfml /usr/share/SFML/doc/html/functions_0x67.htm
sfml /usr/share/SFML/doc/html/functions_0x68.htm
sfml /usr/share/SFML/doc/html/functions_0x69.htm
sfml /usr/share/SFML/doc/html/functions_0x6a.htm
sfml /usr/share/SFML/doc/html/functions_0x6b.htm
sfml /usr/share/SFML/doc/html/functions_0x6c.htm
sfml /usr/share/SFML/doc/html/functions_0x6d.htm
sfml /usr/share/SFML/doc/html/functions_0x6e.htm
sfml /usr/share/SFML/doc/html/functions_0x6f.htm
sfml /usr/share/SFML/doc/html/functions_0x70.htm
sfml /usr/share/SFML/doc/html/functions_0x71.htm
sfml /usr/share/SFML/doc/html/functions_0x72.htm
sfml /usr/share/SFML/doc/html/functions_0x73.htm
sfml /usr/share/SFML/doc/html/functions_0x74.htm
sfml /usr/share/SFML/doc/html/functions_0x75.htm
sfml /usr/share/SFML/doc/html/functions_0x76.htm
sfml /usr/share/SFML/doc/html/functions_0x77.htm
sfml /usr/share/SFML/doc/html/functions_0x78.htm
sfml /usr/share/SFML/doc/html/functions_0x79.htm
sfml /usr/share/SFML/doc/html/functions_0x7a.htm
sfml /usr/share/SFML/doc/html/functions_0x7e.htm
sfml /usr/share/SFML/doc/html/functions_enum.htm
sfml /usr/share/SFML/doc/html/functions_eval.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x62.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x63.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x64.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x65.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x66.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x67.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x68.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x69.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x6a.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x6b.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x6c.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x6d.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x6e.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x6f.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x70.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x71.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x72.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x73.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x74.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x75.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x76.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x77.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x78.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x79.htm
sfml /usr/share/SFML/doc/html/functions_eval_0x7a.htm
sfml /usr/share/SFML/doc/html/functions_func.htm
sfml /usr/share/SFML/doc/html/functions_func_0x62.htm
sfml /usr/share/SFML/doc/html/functions_func_0x63.htm
sfml /usr/share/SFML/doc/html/functions_func_0x64.htm
sfml /usr/share/SFML/doc/html/functions_func_0x65.htm
sfml /usr/share/SFML/doc/html/functions_func_0x66.htm
sfml /usr/share/SFML/doc/html/functions_func_0x67.htm
sfml /usr/share/SFML/doc/html/functions_func_0x68.htm
sfml /usr/share/SFML/doc/html/functions_func_0x69.htm
sfml /usr/share/SFML/doc/html/functions_func_0x6b.htm
sfml /usr/share/SFML/doc/html/functions_func_0x6c.htm
sfml /usr/share/SFML/doc/html/functions_func_0x6d.htm
sfml /usr/share/SFML/doc/html/functions_func_0x6e.htm
sfml /usr/share/SFML/doc/html/functions_func_0x6f.htm
sfml /usr/share/SFML/doc/html/functions_func_0x70.htm
sfml /usr/share/SFML/doc/html/functions_func_0x72.htm
sfml /usr/share/SFML/doc/html/functions_func_0x73.htm
sfml /usr/share/SFML/doc/html/functions_func_0x74.htm
sfml /usr/share/SFML/doc/html/functions_func_0x75.htm
sfml /usr/share/SFML/doc/html/functions_func_0x76.htm
sfml /usr/share/SFML/doc/html/functions_func_0x77.htm
sfml /usr/share/SFML/doc/html/functions_func_0x7a.htm
sfml /usr/share/SFML/doc/html/functions_func_0x7e.htm
sfml /usr/share/SFML/doc/html/functions_type.htm
sfml /usr/share/SFML/doc/html/functions_vars.htm
sfml /usr/share/SFML/doc/html/group__audio.htm
sfml /usr/share/SFML/doc/html/group__graphics.htm
sfml /usr/share/SFML/doc/html/group__network.htm
sfml /usr/share/SFML/doc/html/group__system.htm
sfml /usr/share/SFML/doc/html/group__window.htm
sfml /usr/share/SFML/doc/html/hierarchy.htm
sfml /usr/share/SFML/doc/html/index.htm
sfml /usr/share/SFML/doc/html/jquery.js
sfml /usr/share/SFML/doc/html/logo-bg.jpg
sfml /usr/share/SFML/doc/html/logo.jpg
sfml /usr/share/SFML/doc/html/mainpage_8hpp_source.htm
sfml /usr/share/SFML/doc/html/modules.htm
sfml /usr/share/SFML/doc/html/nav_f.png
sfml /usr/share/SFML/doc/html/nav_h.png
sfml /usr/share/SFML/doc/html/open.png
sfml /usr/share/SFML/doc/html/structsf_1_1ContextSettings.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1JoystickButtonEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1JoystickButtonEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1JoystickConnectEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1JoystickConnectEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1JoystickMoveEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1JoystickMoveEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1KeyEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1KeyEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1MouseButtonEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1MouseButtonEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1MouseMoveEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1MouseMoveEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1MouseWheelEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1MouseWheelEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1SizeEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1SizeEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1TextEvent-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1Event_1_1TextEvent.htm
sfml /usr/share/SFML/doc/html/structsf_1_1SoundStream_1_1Chunk-members.htm
sfml /usr/share/SFML/doc/html/structsf_1_1SoundStream_1_1Chunk.htm
sfml /usr/share/SFML/doc/html/tab_a.png
sfml /usr/share/SFML/doc/html/tab_b.png
sfml /usr/share/SFML/doc/html/tab_h.png
sfml /usr/share/SFML/doc/html/tab_s.png
sfml /usr/share/SFML/doc/html/tabs.css
sfml /usr/share/SFML/examples/
sfml /usr/share/SFML/examples/X11/
sfml /usr/share/SFML/examples/X11/X11
sfml /usr/share/SFML/examples/ftp/
sfml /usr/share/SFML/examples/ftp/ftp
sfml /usr/share/SFML/examples/opengl/
sfml /usr/share/SFML/examples/opengl/opengl
sfml /usr/share/SFML/examples/opengl/resources/
sfml /usr/share/SFML/examples/opengl/resources/background.jpg
sfml /usr/share/SFML/examples/opengl/resources/texture.jpg
sfml /usr/share/SFML/examples/pong/
sfml /usr/share/SFML/examples/pong/pong
sfml /usr/share/SFML/examples/pong/resources/
sfml /usr/share/SFML/examples/pong/resources/background.jpg
sfml /usr/share/SFML/examples/pong/resources/ball.png
sfml /usr/share/SFML/examples/pong/resources/ball.wav
sfml /usr/share/SFML/examples/pong/resources/paddle_left.png
sfml /usr/share/SFML/examples/pong/resources/paddle_right.png
sfml /usr/share/SFML/examples/pong/resources/sansation.ttf
sfml /usr/share/SFML/examples/shader/
sfml /usr/share/SFML/examples/shader/resources/
sfml /usr/share/SFML/examples/shader/resources/background.jpg
sfml /usr/share/SFML/examples/shader/resources/blur.sfx
sfml /usr/share/SFML/examples/shader/resources/colorize.sfx
sfml /usr/share/SFML/examples/shader/resources/edge.sfx
sfml /usr/share/SFML/examples/shader/resources/fisheye.sfx
sfml /usr/share/SFML/examples/shader/resources/nothing.sfx
sfml /usr/share/SFML/examples/shader/resources/pixelate.sfx
sfml /usr/share/SFML/examples/shader/resources/sansation.ttf
sfml /usr/share/SFML/examples/shader/resources/sprite.png
sfml /usr/share/SFML/examples/shader/resources/wave.jpg
sfml /usr/share/SFML/examples/shader/resources/wave.sfx
sfml /usr/share/SFML/examples/shader/shader
sfml /usr/share/SFML/examples/sockets/
sfml /usr/share/SFML/examples/sockets/sockets
sfml /usr/share/SFML/examples/sound-capture/
sfml /usr/share/SFML/examples/sound-capture/sound-capture
sfml /usr/share/SFML/examples/sound/
sfml /usr/share/SFML/examples/sound/resources/
sfml /usr/share/SFML/examples/sound/resources/canary.wav
sfml /usr/share/SFML/examples/sound/resources/orchestral.ogg
sfml /usr/share/SFML/examples/sound/sound
sfml /usr/share/SFML/examples/voip/
sfml /usr/share/SFML/examples/voip/voip
sfml /usr/share/SFML/examples/window/
sfml /usr/share/SFML/examples/window/window
sfml /usr/share/SFML/license.txt
sfml /usr/share/cmake-2.8/
sfml /usr/share/cmake-2.8/Modules/
sfml /usr/share/cmake-2.8/Modules/FindSFML.cmake
sfml /usr/share/licenses/
sfml /usr/share/licenses/sfml/
sfml /usr/share/licenses/sfml/LICENSE
...and...
Code: [Select]
jorge@Abril:~/coders/utilidades/SFML-1.6/python$ sudo pacman -Ql csfml
csfml /usr/
csfml /usr/include/
csfml /usr/include/SFML/
csfml /usr/include/SFML/Audio.h
csfml /usr/include/SFML/Audio/
csfml /usr/include/SFML/Audio/Listener.h
csfml /usr/include/SFML/Audio/Music.h
csfml /usr/include/SFML/Audio/Sound.h
csfml /usr/include/SFML/Audio/SoundBuffer.h
csfml /usr/include/SFML/Audio/SoundBufferRecorder.h
csfml /usr/include/SFML/Audio/SoundRecorder.h
csfml /usr/include/SFML/Audio/SoundStatus.h
csfml /usr/include/SFML/Audio/SoundStream.h
csfml /usr/include/SFML/Audio/Types.h
csfml /usr/include/SFML/Config.h
csfml /usr/include/SFML/Graphics.h
csfml /usr/include/SFML/Graphics/
csfml /usr/include/SFML/Graphics/BlendMode.h
csfml /usr/include/SFML/Graphics/Color.h
csfml /usr/include/SFML/Graphics/Font.h
csfml /usr/include/SFML/Graphics/Glyph.h
csfml /usr/include/SFML/Graphics/Image.h
csfml /usr/include/SFML/Graphics/Rect.h
csfml /usr/include/SFML/Graphics/RenderTexture.h
csfml /usr/include/SFML/Graphics/RenderWindow.h
csfml /usr/include/SFML/Graphics/Shader.h
csfml /usr/include/SFML/Graphics/Shape.h
csfml /usr/include/SFML/Graphics/Sprite.h
csfml /usr/include/SFML/Graphics/Text.h
csfml /usr/include/SFML/Graphics/Texture.h
csfml /usr/include/SFML/Graphics/Types.h
csfml /usr/include/SFML/Graphics/View.h
csfml /usr/include/SFML/Network.h
csfml /usr/include/SFML/Network/
csfml /usr/include/SFML/Network/Ftp.h
csfml /usr/include/SFML/Network/Http.h
csfml /usr/include/SFML/Network/IpAddress.h
csfml /usr/include/SFML/Network/Packet.h
csfml /usr/include/SFML/Network/SocketSelector.h
csfml /usr/include/SFML/Network/SocketStatus.h
csfml /usr/include/SFML/Network/TcpListener.h
csfml /usr/include/SFML/Network/TcpSocket.h
csfml /usr/include/SFML/Network/Types.h
csfml /usr/include/SFML/Network/UdpSocket.h
csfml /usr/include/SFML/OpenGL.h
csfml /usr/include/SFML/System.h
csfml /usr/include/SFML/System/
csfml /usr/include/SFML/System/Clock.h
csfml /usr/include/SFML/System/InputStream.h
csfml /usr/include/SFML/System/Mutex.h
csfml /usr/include/SFML/System/Sleep.h
csfml /usr/include/SFML/System/Thread.h
csfml /usr/include/SFML/System/Types.h
csfml /usr/include/SFML/Window.h
csfml /usr/include/SFML/Window/
csfml /usr/include/SFML/Window/Context.h
csfml /usr/include/SFML/Window/Event.h
csfml /usr/include/SFML/Window/Joystick.h
csfml /usr/include/SFML/Window/Keyboard.h
csfml /usr/include/SFML/Window/Mouse.h
csfml /usr/include/SFML/Window/Types.h
csfml /usr/include/SFML/Window/VideoMode.h
csfml /usr/include/SFML/Window/Window.h
csfml /usr/include/SFML/Window/WindowHandle.h
csfml /usr/lib/
csfml /usr/lib/libcsfml-audio.so
csfml /usr/lib/libcsfml-audio.so.2
csfml /usr/lib/libcsfml-audio.so.2.0
csfml /usr/lib/libcsfml-graphics.so
csfml /usr/lib/libcsfml-graphics.so.2
csfml /usr/lib/libcsfml-graphics.so.2.0
csfml /usr/lib/libcsfml-network.so
csfml /usr/lib/libcsfml-network.so.2
csfml /usr/lib/libcsfml-network.so.2.0
csfml /usr/lib/libcsfml-system.so
csfml /usr/lib/libcsfml-system.so.2
csfml /usr/lib/libcsfml-system.so.2.0
csfml /usr/lib/libcsfml-window.so
csfml /usr/lib/libcsfml-window.so.2
csfml /usr/lib/libcsfml-window.so.2.0
csfml /usr/share/
csfml /usr/share/CSFML/
csfml /usr/share/CSFML/doc/
csfml /usr/share/CSFML/doc/html/
csfml /usr/share/CSFML/doc/html/Audio_2Types_8h.htm
csfml /usr/share/CSFML/doc/html/Audio_2Types_8h_source.htm
csfml /usr/share/CSFML/doc/html/Audio_8h.htm
csfml /usr/share/CSFML/doc/html/Audio_8h_source.htm
csfml /usr/share/CSFML/doc/html/BlendMode_8h.htm
csfml /usr/share/CSFML/doc/html/BlendMode_8h_source.htm
csfml /usr/share/CSFML/doc/html/Clock_8h.htm
csfml /usr/share/CSFML/doc/html/Clock_8h_source.htm
csfml /usr/share/CSFML/doc/html/Color_8h.htm
csfml /usr/share/CSFML/doc/html/Color_8h_source.htm
csfml /usr/share/CSFML/doc/html/Config_8h.htm
csfml /usr/share/CSFML/doc/html/Config_8h_source.htm
csfml /usr/share/CSFML/doc/html/Context_8h.htm
csfml /usr/share/CSFML/doc/html/Context_8h_source.htm
csfml /usr/share/CSFML/doc/html/Event_8h.htm
csfml /usr/share/CSFML/doc/html/Event_8h_source.htm
csfml /usr/share/CSFML/doc/html/Font_8h.htm
csfml /usr/share/CSFML/doc/html/Font_8h_source.htm
csfml /usr/share/CSFML/doc/html/Ftp_8h.htm
csfml /usr/share/CSFML/doc/html/Ftp_8h_source.htm
csfml /usr/share/CSFML/doc/html/Glyph_8h.htm
csfml /usr/share/CSFML/doc/html/Glyph_8h_source.htm
csfml /usr/share/CSFML/doc/html/Graphics_2Types_8h.htm
csfml /usr/share/CSFML/doc/html/Graphics_2Types_8h_source.htm
csfml /usr/share/CSFML/doc/html/Graphics_8h.htm
csfml /usr/share/CSFML/doc/html/Graphics_8h_source.htm
csfml /usr/share/CSFML/doc/html/Http_8h.htm
csfml /usr/share/CSFML/doc/html/Http_8h_source.htm
csfml /usr/share/CSFML/doc/html/Image_8h.htm
csfml /usr/share/CSFML/doc/html/Image_8h_source.htm
csfml /usr/share/CSFML/doc/html/InputStream_8h.htm
csfml /usr/share/CSFML/doc/html/InputStream_8h_source.htm
csfml /usr/share/CSFML/doc/html/IpAddress_8h.htm
csfml /usr/share/CSFML/doc/html/IpAddress_8h_source.htm
csfml /usr/share/CSFML/doc/html/Joystick_8h.htm
csfml /usr/share/CSFML/doc/html/Joystick_8h_source.htm
csfml /usr/share/CSFML/doc/html/Keyboard_8h.htm
csfml /usr/share/CSFML/doc/html/Keyboard_8h_source.htm
csfml /usr/share/CSFML/doc/html/Listener_8h.htm
csfml /usr/share/CSFML/doc/html/Listener_8h_source.htm
csfml /usr/share/CSFML/doc/html/Mouse_8h.htm
csfml /usr/share/CSFML/doc/html/Mouse_8h_source.htm
csfml /usr/share/CSFML/doc/html/Music_8h.htm
csfml /usr/share/CSFML/doc/html/Music_8h_source.htm
csfml /usr/share/CSFML/doc/html/Mutex_8h.htm
csfml /usr/share/CSFML/doc/html/Mutex_8h_source.htm
csfml /usr/share/CSFML/doc/html/Network_2Types_8h.htm
csfml /usr/share/CSFML/doc/html/Network_2Types_8h_source.htm
csfml /usr/share/CSFML/doc/html/Network_8h.htm
csfml /usr/share/CSFML/doc/html/Network_8h_source.htm
csfml /usr/share/CSFML/doc/html/OpenGL_8h.htm
csfml /usr/share/CSFML/doc/html/OpenGL_8h_source.htm
csfml /usr/share/CSFML/doc/html/Packet_8h.htm
csfml /usr/share/CSFML/doc/html/Packet_8h_source.htm
csfml /usr/share/CSFML/doc/html/Rect_8h.htm
csfml /usr/share/CSFML/doc/html/Rect_8h_source.htm
csfml /usr/share/CSFML/doc/html/RenderTexture_8h.htm
csfml /usr/share/CSFML/doc/html/RenderTexture_8h_source.htm
csfml /usr/share/CSFML/doc/html/RenderWindow_8h.htm
csfml /usr/share/CSFML/doc/html/RenderWindow_8h_source.htm
csfml /usr/share/CSFML/doc/html/Shader_8h.htm
csfml /usr/share/CSFML/doc/html/Shader_8h_source.htm
csfml /usr/share/CSFML/doc/html/Shape_8h.htm
csfml /usr/share/CSFML/doc/html/Shape_8h_source.htm
csfml /usr/share/CSFML/doc/html/Sleep_8h.htm
csfml /usr/share/CSFML/doc/html/Sleep_8h_source.htm
csfml /usr/share/CSFML/doc/html/SocketSelector_8h.htm
csfml /usr/share/CSFML/doc/html/SocketSelector_8h_source.htm
csfml /usr/share/CSFML/doc/html/SocketStatus_8h.htm
csfml /usr/share/CSFML/doc/html/SocketStatus_8h_source.htm
csfml /usr/share/CSFML/doc/html/SoundBufferRecorder_8h.htm
csfml /usr/share/CSFML/doc/html/SoundBufferRecorder_8h_source.htm
csfml /usr/share/CSFML/doc/html/SoundBuffer_8h.htm
csfml /usr/share/CSFML/doc/html/SoundBuffer_8h_source.htm
csfml /usr/share/CSFML/doc/html/SoundRecorder_8h.htm
csfml /usr/share/CSFML/doc/html/SoundRecorder_8h_source.htm
csfml /usr/share/CSFML/doc/html/SoundStatus_8h.htm
csfml /usr/share/CSFML/doc/html/SoundStatus_8h_source.htm
csfml /usr/share/CSFML/doc/html/SoundStream_8h.htm
csfml /usr/share/CSFML/doc/html/SoundStream_8h_source.htm
csfml /usr/share/CSFML/doc/html/Sound_8h.htm
csfml /usr/share/CSFML/doc/html/Sound_8h_source.htm
csfml /usr/share/CSFML/doc/html/Sprite_8h.htm
csfml /usr/share/CSFML/doc/html/Sprite_8h_source.htm
csfml /usr/share/CSFML/doc/html/System_2Types_8h.htm
csfml /usr/share/CSFML/doc/html/System_2Types_8h_source.htm
csfml /usr/share/CSFML/doc/html/System_8h.htm
csfml /usr/share/CSFML/doc/html/System_8h_source.htm
csfml /usr/share/CSFML/doc/html/TcpListener_8h.htm
csfml /usr/share/CSFML/doc/html/TcpListener_8h_source.htm
csfml /usr/share/CSFML/doc/html/TcpSocket_8h.htm
csfml /usr/share/CSFML/doc/html/TcpSocket_8h_source.htm
csfml /usr/share/CSFML/doc/html/Text_8h.htm
csfml /usr/share/CSFML/doc/html/Text_8h_source.htm
csfml /usr/share/CSFML/doc/html/Texture_8h.htm
csfml /usr/share/CSFML/doc/html/Texture_8h_source.htm
csfml /usr/share/CSFML/doc/html/Thread_8h.htm
csfml /usr/share/CSFML/doc/html/Thread_8h_source.htm
csfml /usr/share/CSFML/doc/html/UdpSocket_8h.htm
csfml /usr/share/CSFML/doc/html/UdpSocket_8h_source.htm
csfml /usr/share/CSFML/doc/html/VideoMode_8h.htm
csfml /usr/share/CSFML/doc/html/VideoMode_8h_source.htm
csfml /usr/share/CSFML/doc/html/View_8h.htm
csfml /usr/share/CSFML/doc/html/View_8h_source.htm
csfml /usr/share/CSFML/doc/html/WindowHandle_8h.htm
csfml /usr/share/CSFML/doc/html/WindowHandle_8h_source.htm
csfml /usr/share/CSFML/doc/html/Window_2Types_8h.htm
csfml /usr/share/CSFML/doc/html/Window_2Types_8h_source.htm
csfml /usr/share/CSFML/doc/html/Window_2Window_8h.htm
csfml /usr/share/CSFML/doc/html/Window_2Window_8h_source.htm
csfml /usr/share/CSFML/doc/html/Window_8h.htm
csfml /usr/share/CSFML/doc/html/Window_8h_source.htm
csfml /usr/share/CSFML/doc/html/annotated.htm
csfml /usr/share/CSFML/doc/html/bc_s.png
csfml /usr/share/CSFML/doc/html/classes.htm
csfml /usr/share/CSFML/doc/html/closed.png
csfml /usr/share/CSFML/doc/html/doxygen.css
csfml /usr/share/CSFML/doc/html/doxygen.png
csfml /usr/share/CSFML/doc/html/files.htm
csfml /usr/share/CSFML/doc/html/functions.htm
csfml /usr/share/CSFML/doc/html/functions_vars.htm
csfml /usr/share/CSFML/doc/html/globals.htm
csfml /usr/share/CSFML/doc/html/globals_0x73.htm
csfml /usr/share/CSFML/doc/html/globals_defs.htm
csfml /usr/share/CSFML/doc/html/globals_enum.htm
csfml /usr/share/CSFML/doc/html/globals_eval.htm
csfml /usr/share/CSFML/doc/html/globals_func.htm
csfml /usr/share/CSFML/doc/html/globals_type.htm
csfml /usr/share/CSFML/doc/html/globals_vars.htm
csfml /usr/share/CSFML/doc/html/index.htm
csfml /usr/share/CSFML/doc/html/jquery.js
csfml /usr/share/CSFML/doc/html/logo-bg.jpg
csfml /usr/share/CSFML/doc/html/logo.jpg
csfml /usr/share/CSFML/doc/html/mainpage_8hpp.htm
csfml /usr/share/CSFML/doc/html/mainpage_8hpp_source.htm
csfml /usr/share/CSFML/doc/html/nav_f.png
csfml /usr/share/CSFML/doc/html/nav_h.png
csfml /usr/share/CSFML/doc/html/open.png
csfml /usr/share/CSFML/doc/html/structsfColor.htm
csfml /usr/share/CSFML/doc/html/structsfContextSettings.htm
csfml /usr/share/CSFML/doc/html/structsfFloatRect.htm
csfml /usr/share/CSFML/doc/html/structsfGlyph.htm
csfml /usr/share/CSFML/doc/html/structsfInputStream.htm
csfml /usr/share/CSFML/doc/html/structsfIntRect.htm
csfml /usr/share/CSFML/doc/html/structsfIpAddress.htm
csfml /usr/share/CSFML/doc/html/structsfJoystickButtonEvent.htm
csfml /usr/share/CSFML/doc/html/structsfJoystickConnectEvent.htm
csfml /usr/share/CSFML/doc/html/structsfJoystickMoveEvent.htm
csfml /usr/share/CSFML/doc/html/structsfKeyEvent.htm
csfml /usr/share/CSFML/doc/html/structsfMouseButtonEvent.htm
csfml /usr/share/CSFML/doc/html/structsfMouseMoveEvent.htm
csfml /usr/share/CSFML/doc/html/structsfMouseWheelEvent.htm
csfml /usr/share/CSFML/doc/html/structsfSizeEvent.htm
csfml /usr/share/CSFML/doc/html/structsfSoundStreamChunk.htm
csfml /usr/share/CSFML/doc/html/structsfTextEvent.htm
csfml /usr/share/CSFML/doc/html/structsfVideoMode.htm
csfml /usr/share/CSFML/doc/html/tab_a.png
csfml /usr/share/CSFML/doc/html/tab_b.png
csfml /usr/share/CSFML/doc/html/tab_h.png
csfml /usr/share/CSFML/doc/html/tab_s.png
csfml /usr/share/CSFML/doc/html/tabs.css
csfml /usr/share/CSFML/doc/html/unionsfEvent.htm
csfml /usr/share/CSFML/license.txt
csfml /usr/share/licenses/
csfml /usr/share/licenses/csfml/
csfml /usr/share/licenses/csfml/LICENSE
jorge@Abril:~/coders/utilidades/SFML-1.6/python$

sorry if the threatd is too large.
thanks!
« Last Edit: November 04, 2013, 10:20:14 am by Sonkun »

GNU User
Python programmer
Blog

shackra

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://swt.encyclomundi.org
error: command 'gcc' failed with exit status 1
« Reply #1 on: January 05, 2012, 09:22:37 pm »
Oh! I finally realized what's wrong here, I must have the SMFL-1.6 version to compiled the SFML 1.6 bindings for Python, not the SFML 1.99. Yay!.

But, well, I got a error while I try to compile the SFML full sdk, so, maybe I'll post it at the respective forum.

GNU User
Python programmer
Blog

bastien

  • Full Member
  • ***
  • Posts: 231
    • View Profile
    • http://bastien-leonard.alwaysdata.net
error: command 'gcc' failed with exit status 1
« Reply #2 on: January 05, 2012, 10:05:55 pm »
You shouldn't use 1.6 in my opinion, it's unmaintained and 2.0 should be released pretty soon, it's already quite stable anyway.
If you choose to use pySFML 2 - Cython, be aware that it probably won't compile with the latest SFML 2 source until I fix it. :? You need to use the SFML source just before when Laurent merged the “drawables” branch.
Check out pysfml-cython, an up to date Python 2/3 binding for SFML 2: https://github.com/bastienleonard/pysfml-cython

shackra

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://swt.encyclomundi.org
Re: error: command 'gcc' failed with exit status 1
« Reply #3 on: August 04, 2012, 08:18:14 am »
and the problems came again!
jorge@Abril:~/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git$ LC_ALL=C makepkg -s
==> Determining latest git revision...
  -> Version found: 20120804
==> Making package: python2-pysfml2-git 20120804-1 (Sat Aug  4 00:12:18 CST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Connecting to GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into '/home/jorge/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git/src/pysfml2-cython-build'...
done.

If the build fails, run patch.py and try again
----------------------------------------------

running build
running build_ext
cythoning src/sfml.pyx to src/sfml.cpp
building 'sfml' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/sfml.cpp -o build/temp.linux-x86_64-2.7/src/sfml.o
In file included from src/sfml.cpp:280:0:
src/hacks.hpp:45:41: error: 'Transformable' is not a member of 'sf'
src/hacks.hpp:45:60: error: 't' was not declared in this scope
src/hacks.hpp:73:53: error: 'sf::RenderStates' has not been declared
src/hacks.hpp:98:29: error: 'sf::Time' has not been declared
src/hacks.hpp:104:1: error: expected class-name before '{' token
src/hacks.hpp:107:13: error: 'Int64' in namespace 'sf' does not name a type
src/hacks.hpp:108:13: error: 'Int64' in namespace 'sf' does not name a type
src/hacks.hpp:109:13: error: 'Int64' in namespace 'sf' does not name a type
src/hacks.hpp:110:13: error: 'Int64' in namespace 'sf' does not name a type
src/sfml.cpp:456:3: error: 'Transform' in namespace 'sf' does not name a type
src/sfml.cpp:523:3: error: 'Transformable' in namespace 'sf' does not name a type
src/sfml.cpp:574:3: error: 'Time' in namespace 'sf' does not name a type
src/sfml.cpp:706:3: error: 'Texture' in namespace 'sf' does not name a type
src/sfml.cpp:812:3: error: 'ContextSettings' in namespace 'sf' does not name a type
src/sfml.cpp:825:3: error: 'Shader' in namespace 'sf' does not name a type
src/sfml.cpp:891:3: error: 'Vertex' in namespace 'sf' does not name a type
src/sfml.cpp:905:3: error: 'RenderStates' in namespace 'sf' does not name a type
src/sfml.cpp:1185:69: error: '__Pyx_PyInt_to_py_sf__Int64' declared as an 'inline' variable
src/sfml.cpp:1185:60: error: 'Int64' is not a member of 'sf'
src/sfml.cpp:1406:80: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:1406:95: error: expected primary-expression before ')' token
src/sfml.cpp:1407:60: warning: 'wrap_time_instance' initialized and declared 'extern' [enabled by default]
src/sfml.cpp:1407:56: error: 'Time' is not a member of 'sf'
src/sfml.cpp:1407:66: error: expected primary-expression before ')' token
src/sfml.cpp:1415:76: error: 'Texture' is not a member of 'sf'
src/sfml.cpp:1415:89: error: expected primary-expression before ',' token
src/sfml.cpp:1415:91: error: expected primary-expression before 'struct'
src/sfml.cpp:1415:129: error: expected primary-expression before 'int'
src/sfml.cpp:1415:132: error: expression list treated as compound expression in initializer [-fpermissive]
src/sfml.cpp:1419:74: error: 'Shader' is not a member of 'sf'
src/sfml.cpp:1419:86: error: expected primary-expression before ',' token
src/sfml.cpp:1419:88: error: expected primary-expression before 'int'
src/sfml.cpp:1419:91: error: expression list treated as compound expression in initializer [-fpermissive]
src/sfml.cpp:1420:93: error: 'ContextSettings' is not a member of 'sf'
src/sfml.cpp:1420:114: error: expected primary-expression before ')' token
src/sfml.cpp:1421:69: warning: 'wrap_render_states_instance' initialized and declared 'extern' [enabled by default]
src/sfml.cpp:1421:65: error: 'RenderStates' is not a member of 'sf'
src/sfml.cpp:1421:83: error: expected primary-expression before ')' token
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_5Mouse_2is_button_pressed(PyObject*, int)':
src/sfml.cpp:3508:15: error: 'isButtonPressed' is not a member of 'sf::Mouse'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_5Mouse_4get_position(PyObject*, __pyx_obj_4sfml_RenderWindow*)':
src/sfml.cpp:3621:19: error: 'getPosition' is not a member of 'sf::Mouse'
src/sfml.cpp:3633:19: error: 'getPosition' is not a member of 'sf::Mouse'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_5Mouse_6set_position(PyObject*, PyObject*, __pyx_obj_4sfml_RenderWindow*)':
src/sfml.cpp:3809:5: error: 'setPosition' is not a member of 'sf::Mouse'
src/sfml.cpp:3821:5: error: 'setPosition' is not a member of 'sf::Mouse'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_2is_connected(PyObject*, unsigned int)':
src/sfml.cpp:3939:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_4get_button_count(PyObject*, unsigned int)':
src/sfml.cpp:4003:43: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_6has_axis(PyObject*, unsigned int, int)':
src/sfml.cpp:4104:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4104:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4104:15: error: expected ')' before '__pyx_v_axis'
src/sfml.cpp:4104:113: error: expected ')' before ';' token
src/sfml.cpp:4104:113: error: expected ')' before ';' token
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_8is_button_pressed(PyObject*, unsigned int, unsigned int)':
src/sfml.cpp:4205:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_10get_axis_position(PyObject*, unsigned int, int)':
src/sfml.cpp:4306:38: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4306:88: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4306:103: error: expected ')' before '__pyx_v_axis'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_12update(PyObject*)':
src/sfml.cpp:4355:7: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Keyboard_2is_key_pressed(PyObject*, int)':
src/sfml.cpp:4464:15: error: 'sf::Keyboard' has not been declared
src/sfml.cpp:4464:15: error: 'sf::Keyboard' has not been declared
src/sfml.cpp:4464:15: error: expected ')' before '__pyx_v_key'
src/sfml.cpp:4464:98: error: expected ')' before ';' token
src/sfml.cpp:4464:98: error: expected ')' before ';' token
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_4left___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5030:52: error: 'sf::IntRect' has no member named 'left'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_4left_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5089:25: error: 'sf::IntRect' has no member named 'left'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_3top___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5132:52: error: 'sf::IntRect' has no member named 'top'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_3top_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5191:25: error: 'sf::IntRect' has no member named 'top'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_5width___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5234:52: error: 'sf::IntRect' has no member named 'width'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_5width_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5293:25: error: 'sf::IntRect' has no member named 'width'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_6height___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5336:52: error: 'sf::IntRect' has no member named 'height'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_6height_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5395:25: error: 'sf::IntRect' has no member named 'height'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_8contains(__pyx_obj_4sfml_IntRect*, int, int)':
src/sfml.cpp:5485:15: error: 'sf::IntRect' has no member named 'contains'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_12intersects(__pyx_obj_4sfml_IntRect*, __pyx_obj_4sfml_IntRect*, __pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5690:17: error: 'sf::IntRect' has no member named 'intersects'
src/sfml.cpp:5715:17: error: 'sf::IntRect' has no member named 'intersects'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_4left___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6458:56: error: 'sf::FloatRect' has no member named 'left'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_4left_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6517:25: error: 'sf::FloatRect' has no member named 'left'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_3top___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6560:56: error: 'sf::FloatRect' has no member named 'top'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_3top_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6619:25: error: 'sf::FloatRect' has no member named 'top'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_5width___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6662:56: error: 'sf::FloatRect' has no member named 'width'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_5width_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6721:25: error: 'sf::FloatRect' has no member named 'width'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_6height___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6764:56: error: 'sf::FloatRect' has no member named 'height'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_6height_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6823:25: error: 'sf::FloatRect' has no member named 'height'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_8contains(__pyx_obj_4sfml_FloatRect*, int, int)':
src/sfml.cpp:6913:15: error: 'sf::FloatRect' has no member named 'contains'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_12intersects(__pyx_obj_4sfml_FloatRect*, __pyx_obj_4sfml_FloatRect*, __pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:7118:17: error: 'sf::FloatRect' has no member named 'intersects'
src/sfml.cpp:7143:17: error: 'sf::FloatRect' has no member named 'intersects'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9Transform___init__(__pyx_obj_4sfml_Transform*, PyObject*)':
src/sfml.cpp:9516:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:9516:32: error: expected type-specifier
src/sfml.cpp:9516:32: error: expected ';'
src/sfml.cpp:9608:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:9608:32: error: expected type-specifier
src/sfml.cpp:9608:32: error: expected ';'
src/sfml.cpp: In function 'void __pyx_pf_4sfml_9Transform_2__dealloc__(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:9690:24: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_4__str__(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:9748:39: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_6__mul__(PyObject*, PyObject*)':
src/sfml.cpp:9931:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:9931:18: error: '__pyx_v_p_t' was not declared in this scope
src/sfml.cpp:10022:25: error: expected type-specifier
src/sfml.cpp:10022:25: error: expected ';'
src/sfml.cpp:10031:77: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10031:140: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10041:81: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp:10078:77: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_8__imul__(__pyx_obj_4sfml_Transform*, PyObject*)':
src/sfml.cpp:10187:20: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10187:84: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_6matrix___get__(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10263:39: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_10combine(__pyx_obj_4sfml_Transform*, __pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10362:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10362:18: error: '__pyx_v_p' was not declared in this scope
src/sfml.cpp:10378:19: error: expected type-specifier
src/sfml.cpp:10378:19: error: expected ';'
src/sfml.cpp:10387:34: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10387:70: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10397:75: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_12copy(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10435:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10435:18: error: '__pyx_v_p' was not declared in this scope
src/sfml.cpp:10451:19: error: expected type-specifier
src/sfml.cpp:10451:19: error: expected ';'
src/sfml.cpp:10461:75: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_14get_inverse(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10499:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10499:18: error: '__pyx_v_p' was not declared in this scope
src/sfml.cpp:10515:19: error: expected type-specifier
src/sfml.cpp:10515:19: error: expected ';'
src/sfml.cpp:10524:34: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10534:75: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_16rotate(__pyx_obj_4sfml_Transform*, PyObject*, PyObject*, PyObject*)':
src/sfml.cpp:10670:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10708:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_18scale(__pyx_obj_4sfml_Transform*, float, float, PyObject*, PyObject*)':
src/sfml.cpp:10890:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10927:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_20transform_point(__pyx_obj_4sfml_Transform*, float, float)':
src/sfml.cpp:11060:29: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_22transform_rect(__pyx_obj_4sfml_Transform*, __pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:11150:34: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_24translate(__pyx_obj_4sfml_Transform*, float, float)':
src/sfml.cpp:11256:17: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: At global scope:
src/sfml.cpp:11285:84: error: redefinition of '__pyx_obj_4sfml_Transform* __pyx_f_4sfml_wrap_transform_instance'
src/sfml.cpp:1406:42: error: '__pyx_obj_4sfml_Transform* __pyx_f_4sfml_wrap_transform_instance' previously defined here
src/sfml.cpp:11285:80: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:11285:95: error: '__pyx_v_p_cpp_instance' was not declared in this scope
src/sfml.cpp:1130:27: warning: inline function 'void __Pyx_ExceptionSave(PyObject**, PyObject**, PyObject**)' used but never defined [enabled by default]
src/sfml.cpp:329:26: warning: inline function 'int __Pyx_PyObject_IsTrue(PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:989:27: warning: inline function 'void __Pyx_ErrRestore(PyObject*, PyObject*, PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:976:27: warning: inline function 'void __Pyx_RaiseUnboundLocalError(const char*)' used but never defined [enabled by default]
src/sfml.cpp:987:26: warning: inline function 'int __Pyx_CheckKeywordStrings(PyObject*, const char*, int)' used but never defined [enabled by default]
src/sfml.cpp:1197:26: warning: inline function 'int __Pyx_PyInt_AsInt(PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:999:27: warning: inline function 'void __Pyx_RaiseTooManyValuesError(Py_ssize_t)' used but never defined [enabled by default]
src/sfml.cpp:997:27: warning: inline function 'void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t)' used but never defined [enabled by default]
src/sfml.cpp:1191:35: warning: inline function 'unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:1010:26: warning: inline function 'int __Pyx_TypeTest(PyObject*, PyTypeObject*)' used but never defined [enabled by default]
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().
    Aborting...
jorge@Abril:~/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git$
 

This is, indeed, quite annoying. Is something wrong in your code or it's me?
I'm using the lastest sfml version from GIT:

jorge@Abril:~$ LC_ALL=C pacman -Qi sfml-git
Name           : sfml-git
Version        : 20120803-3
URL            : http://www.sfml-dev.org/
Licenses       : zlib
Groups         : None
Provides       : sfml
Depends On     : libsndfile  libxrandr  libjpeg  openal  glew  freetype2
Optional Deps  : None
Required By    : None
Conflicts With : sfml
Replaces       : None
Installed Size : 8996.00 KiB
Packager       : Jorge Araya Navarro <jorgean@lavabit.com>
Architecture   : x86_64
Build Date     : Fri Aug 3 20:12:56 2012
Install Date   : Fri Aug 3 23:54:47 2012
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : A simple, fast, cross-platform, and object-oriented multimedia API.

jorge@Abril:~$
 

GNU User
Python programmer
Blog

bastien

  • Full Member
  • ***
  • Posts: 231
    • View Profile
    • http://bastien-leonard.alwaysdata.net
Re: error: command 'gcc' failed with exit status 1
« Reply #4 on: August 05, 2012, 10:55:50 pm »
I just updated the repo to compile with the latest SFML. I'm not sure why you're getting so many errors though. Please let me know if you still encounter errors.
Check out pysfml-cython, an up to date Python 2/3 binding for SFML 2: https://github.com/bastienleonard/pysfml-cython

shackra

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://swt.encyclomundi.org
Re: error: command 'gcc' failed with exit status 1
« Reply #5 on: August 06, 2012, 06:22:01 am »
I just updated the repo to compile with the latest SFML. I'm not sure why you're getting so many errors though. Please let me know if you still encounter errors.

Really? because the exact same error appears again! :(

jorge@Abril:~/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git$ LC_ALL=C makepkg -si
==> Determining latest git revision...
  -> Version found: 20120805
==> Making package: python2-pysfml2-git 20120805-1 (Sun Aug  5 22:19:12 CST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'pysfml2-cython'...
remote: Counting objects: 2342, done.
remote: Compressing objects: 100% (669/669), done.
remote: Total 2342 (delta 1595), reused 2226 (delta 1482)
Receiving objects: 100% (2342/2342), 1.78 MiB | 232 KiB/s, done.
Resolving deltas: 100% (1595/1595), done.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into '/home/jorge/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git/src/pysfml2-cython-build'...
done.

If the build fails, run patch.py and try again
----------------------------------------------

running build
running build_ext
cythoning src/sfml.pyx to src/sfml.cpp
building 'sfml' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/sfml.cpp -o build/temp.linux-x86_64-2.7/src/sfml.o
In file included from src/sfml.cpp:280:0:
src/hacks.hpp:45:41: error: 'Transformable' is not a member of 'sf'
src/hacks.hpp:45:60: error: 't' was not declared in this scope
src/hacks.hpp:73:53: error: 'sf::RenderStates' has not been declared
src/hacks.hpp:98:29: error: 'sf::Time' has not been declared
src/hacks.hpp:104:1: error: expected class-name before '{' token
src/hacks.hpp:107:13: error: 'Int64' in namespace 'sf' does not name a type
src/hacks.hpp:108:13: error: 'Int64' in namespace 'sf' does not name a type
src/hacks.hpp:109:13: error: 'Int64' in namespace 'sf' does not name a type
src/hacks.hpp:110:13: error: 'Int64' in namespace 'sf' does not name a type
src/sfml.cpp:456:3: error: 'Transform' in namespace 'sf' does not name a type
src/sfml.cpp:523:3: error: 'Transformable' in namespace 'sf' does not name a type
src/sfml.cpp:574:3: error: 'Time' in namespace 'sf' does not name a type
src/sfml.cpp:706:3: error: 'Texture' in namespace 'sf' does not name a type
src/sfml.cpp:812:3: error: 'ContextSettings' in namespace 'sf' does not name a type
src/sfml.cpp:825:3: error: 'Shader' in namespace 'sf' does not name a type
src/sfml.cpp:891:3: error: 'Vertex' in namespace 'sf' does not name a type
src/sfml.cpp:905:3: error: 'RenderStates' in namespace 'sf' does not name a type
src/sfml.cpp:1185:69: error: '__Pyx_PyInt_to_py_sf__Int64' declared as an 'inline' variable
src/sfml.cpp:1185:60: error: 'Int64' is not a member of 'sf'
src/sfml.cpp:1406:80: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:1406:95: error: expected primary-expression before ')' token
src/sfml.cpp:1407:60: warning: 'wrap_time_instance' initialized and declared 'extern' [enabled by default]
src/sfml.cpp:1407:56: error: 'Time' is not a member of 'sf'
src/sfml.cpp:1407:66: error: expected primary-expression before ')' token
src/sfml.cpp:1415:76: error: 'Texture' is not a member of 'sf'
src/sfml.cpp:1415:89: error: expected primary-expression before ',' token
src/sfml.cpp:1415:91: error: expected primary-expression before 'struct'
src/sfml.cpp:1415:129: error: expected primary-expression before 'int'
src/sfml.cpp:1415:132: error: expression list treated as compound expression in initializer [-fpermissive]
src/sfml.cpp:1419:74: error: 'Shader' is not a member of 'sf'
src/sfml.cpp:1419:86: error: expected primary-expression before ',' token
src/sfml.cpp:1419:88: error: expected primary-expression before 'int'
src/sfml.cpp:1419:91: error: expression list treated as compound expression in initializer [-fpermissive]
src/sfml.cpp:1420:93: error: 'ContextSettings' is not a member of 'sf'
src/sfml.cpp:1420:114: error: expected primary-expression before ')' token
src/sfml.cpp:1421:69: warning: 'wrap_render_states_instance' initialized and declared 'extern' [enabled by default]
src/sfml.cpp:1421:65: error: 'RenderStates' is not a member of 'sf'
src/sfml.cpp:1421:83: error: expected primary-expression before ')' token
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_5Mouse_2is_button_pressed(PyObject*, int)':
src/sfml.cpp:3506:15: error: 'isButtonPressed' is not a member of 'sf::Mouse'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_5Mouse_4get_position(PyObject*, __pyx_obj_4sfml_RenderWindow*)':
src/sfml.cpp:3619:19: error: 'getPosition' is not a member of 'sf::Mouse'
src/sfml.cpp:3631:19: error: 'getPosition' is not a member of 'sf::Mouse'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_5Mouse_6set_position(PyObject*, PyObject*, __pyx_obj_4sfml_RenderWindow*)':
src/sfml.cpp:3807:5: error: 'setPosition' is not a member of 'sf::Mouse'
src/sfml.cpp:3819:5: error: 'setPosition' is not a member of 'sf::Mouse'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_2is_connected(PyObject*, unsigned int)':
src/sfml.cpp:3937:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_4get_button_count(PyObject*, unsigned int)':
src/sfml.cpp:4001:43: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_6has_axis(PyObject*, unsigned int, int)':
src/sfml.cpp:4102:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4102:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4102:15: error: expected ')' before '__pyx_v_axis'
src/sfml.cpp:4102:113: error: expected ')' before ';' token
src/sfml.cpp:4102:113: error: expected ')' before ';' token
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_8is_button_pressed(PyObject*, unsigned int, unsigned int)':
src/sfml.cpp:4203:15: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_10get_axis_position(PyObject*, unsigned int, int)':
src/sfml.cpp:4304:38: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4304:88: error: 'sf::Joystick' has not been declared
src/sfml.cpp:4304:103: error: expected ')' before '__pyx_v_axis'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Joystick_12update(PyObject*)':
src/sfml.cpp:4353:7: error: 'sf::Joystick' has not been declared
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_8Keyboard_2is_key_pressed(PyObject*, int)':
src/sfml.cpp:4462:15: error: 'sf::Keyboard' has not been declared
src/sfml.cpp:4462:15: error: 'sf::Keyboard' has not been declared
src/sfml.cpp:4462:15: error: expected ')' before '__pyx_v_key'
src/sfml.cpp:4462:98: error: expected ')' before ';' token
src/sfml.cpp:4462:98: error: expected ')' before ';' token
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_4left___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5061:52: error: 'sf::IntRect' has no member named 'left'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_4left_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5120:25: error: 'sf::IntRect' has no member named 'left'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_3top___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5163:52: error: 'sf::IntRect' has no member named 'top'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_3top_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5222:25: error: 'sf::IntRect' has no member named 'top'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_5width___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5265:52: error: 'sf::IntRect' has no member named 'width'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_5width_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5324:25: error: 'sf::IntRect' has no member named 'width'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_6height___get__(__pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5367:52: error: 'sf::IntRect' has no member named 'height'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_7IntRect_6height_2__set__(__pyx_obj_4sfml_IntRect*, int)':
src/sfml.cpp:5426:25: error: 'sf::IntRect' has no member named 'height'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_8contains(__pyx_obj_4sfml_IntRect*, int, int)':
src/sfml.cpp:5516:15: error: 'sf::IntRect' has no member named 'contains'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_7IntRect_12intersects(__pyx_obj_4sfml_IntRect*, __pyx_obj_4sfml_IntRect*, __pyx_obj_4sfml_IntRect*)':
src/sfml.cpp:5721:17: error: 'sf::IntRect' has no member named 'intersects'
src/sfml.cpp:5746:17: error: 'sf::IntRect' has no member named 'intersects'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_4left___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6522:56: error: 'sf::FloatRect' has no member named 'left'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_4left_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6581:25: error: 'sf::FloatRect' has no member named 'left'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_3top___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6624:56: error: 'sf::FloatRect' has no member named 'top'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_3top_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6683:25: error: 'sf::FloatRect' has no member named 'top'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_5width___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6726:56: error: 'sf::FloatRect' has no member named 'width'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_5width_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6785:25: error: 'sf::FloatRect' has no member named 'width'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_6height___get__(__pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:6828:56: error: 'sf::FloatRect' has no member named 'height'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9FloatRect_6height_2__set__(__pyx_obj_4sfml_FloatRect*, float)':
src/sfml.cpp:6887:25: error: 'sf::FloatRect' has no member named 'height'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_8contains(__pyx_obj_4sfml_FloatRect*, int, int)':
src/sfml.cpp:6977:15: error: 'sf::FloatRect' has no member named 'contains'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9FloatRect_12intersects(__pyx_obj_4sfml_FloatRect*, __pyx_obj_4sfml_FloatRect*, __pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:7182:17: error: 'sf::FloatRect' has no member named 'intersects'
src/sfml.cpp:7207:17: error: 'sf::FloatRect' has no member named 'intersects'
src/sfml.cpp: In function 'int __pyx_pf_4sfml_9Transform___init__(__pyx_obj_4sfml_Transform*, PyObject*)':
src/sfml.cpp:9613:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:9613:32: error: expected type-specifier
src/sfml.cpp:9613:32: error: expected ';'
src/sfml.cpp:9705:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:9705:32: error: expected type-specifier
src/sfml.cpp:9705:32: error: expected ';'
src/sfml.cpp: In function 'void __pyx_pf_4sfml_9Transform_2__dealloc__(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:9787:24: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_4__str__(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:9845:39: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_6__mul__(PyObject*, PyObject*)':
src/sfml.cpp:10028:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10028:18: error: '__pyx_v_p_t' was not declared in this scope
src/sfml.cpp:10119:25: error: expected type-specifier
src/sfml.cpp:10119:25: error: expected ';'
src/sfml.cpp:10128:77: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10128:140: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10138:81: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp:10175:77: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_8__imul__(__pyx_obj_4sfml_Transform*, PyObject*)':
src/sfml.cpp:10284:20: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10284:84: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_6matrix___get__(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10360:39: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_10combine(__pyx_obj_4sfml_Transform*, __pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10459:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10459:18: error: '__pyx_v_p' was not declared in this scope
src/sfml.cpp:10475:19: error: expected type-specifier
src/sfml.cpp:10475:19: error: expected ';'
src/sfml.cpp:10484:34: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10484:70: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10494:75: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_12copy(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10532:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10532:18: error: '__pyx_v_p' was not declared in this scope
src/sfml.cpp:10548:19: error: expected type-specifier
src/sfml.cpp:10548:19: error: expected ';'
src/sfml.cpp:10558:75: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_14get_inverse(__pyx_obj_4sfml_Transform*)':
src/sfml.cpp:10596:3: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:10596:18: error: '__pyx_v_p' was not declared in this scope
src/sfml.cpp:10612:19: error: expected type-specifier
src/sfml.cpp:10612:19: error: expected ';'
src/sfml.cpp:10621:34: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10631:75: error: '__pyx_f_4sfml_wrap_transform_instance' cannot be used as a function
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_16rotate(__pyx_obj_4sfml_Transform*, PyObject*, PyObject*, PyObject*)':
src/sfml.cpp:10767:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:10805:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_18scale(__pyx_obj_4sfml_Transform*, float, float, PyObject*, PyObject*)':
src/sfml.cpp:10987:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp:11024:19: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_20transform_point(__pyx_obj_4sfml_Transform*, float, float)':
src/sfml.cpp:11157:29: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_22transform_rect(__pyx_obj_4sfml_Transform*, __pyx_obj_4sfml_FloatRect*)':
src/sfml.cpp:11247:34: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: In function 'PyObject* __pyx_pf_4sfml_9Transform_24translate(__pyx_obj_4sfml_Transform*, float, float)':
src/sfml.cpp:11353:17: error: 'struct __pyx_obj_4sfml_Transform' has no member named 'p_this'
src/sfml.cpp: At global scope:
src/sfml.cpp:11382:84: error: redefinition of '__pyx_obj_4sfml_Transform* __pyx_f_4sfml_wrap_transform_instance'
src/sfml.cpp:1406:42: error: '__pyx_obj_4sfml_Transform* __pyx_f_4sfml_wrap_transform_instance' previously defined here
src/sfml.cpp:11382:80: error: 'Transform' is not a member of 'sf'
src/sfml.cpp:11382:95: error: '__pyx_v_p_cpp_instance' was not declared in this scope
src/sfml.cpp:1130:27: warning: inline function 'void __Pyx_ExceptionSave(PyObject**, PyObject**, PyObject**)' used but never defined [enabled by default]
src/sfml.cpp:329:26: warning: inline function 'int __Pyx_PyObject_IsTrue(PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:989:27: warning: inline function 'void __Pyx_ErrRestore(PyObject*, PyObject*, PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:976:27: warning: inline function 'void __Pyx_RaiseUnboundLocalError(const char*)' used but never defined [enabled by default]
src/sfml.cpp:987:26: warning: inline function 'int __Pyx_CheckKeywordStrings(PyObject*, const char*, int)' used but never defined [enabled by default]
src/sfml.cpp:1197:26: warning: inline function 'int __Pyx_PyInt_AsInt(PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:999:27: warning: inline function 'void __Pyx_RaiseTooManyValuesError(Py_ssize_t)' used but never defined [enabled by default]
src/sfml.cpp:997:27: warning: inline function 'void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t)' used but never defined [enabled by default]
src/sfml.cpp:1191:35: warning: inline function 'unsigned int __Pyx_PyInt_AsUnsignedInt(PyObject*)' used but never defined [enabled by default]
src/sfml.cpp:1010:26: warning: inline function 'int __Pyx_TypeTest(PyObject*, PyTypeObject*)' used but never defined [enabled by default]
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().
    Aborting...
jorge@Abril:~/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git$
 

here is the information of my actual GNU GCC package:

jorge@Abril:~/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git$ LC_ALL=C pacman -Qi gcc
Name           : gcc
Version        : 4.7.1-5
URL            : http://gcc.gnu.org
Licenses       : GPL  LGPL  FDL  custom
Groups         : base-devel
Provides       : None
Depends On     : gcc-libs=4.7.1-5  binutils>=2.22  libmpc  cloog  ppl
Optional Deps  : None
Required By    : boost-build  ghc
Conflicts With : None
Replaces       : None
Installed Size : 74616.00 KiB
Packager       : Allan McRae <allan@archlinux.org>
Architecture   : x86_64
Build Date     : Sat Jul 21 20:31:26 2012
Install Date   : Wed Jul 25 18:55:33 2012
Install Reason : Explicitly installed
Install Script : Yes
Description    : The GNU Compiler Collection - C and C++ frontends

jorge@Abril:~/coders/PKGBUILDs/abslibre/pcr/python2-pysfml2-git$
 

GNU User
Python programmer
Blog

bastien

  • Full Member
  • ***
  • Posts: 231
    • View Profile
    • http://bastien-leonard.alwaysdata.net
Re: error: command 'gcc' failed with exit status 1
« Reply #6 on: August 08, 2012, 10:45:09 pm »
I just tried to build it from the AUR and got no error. I have the same GCC version.
It seems that you're on a 64 bits system. Could it be that you have an older 32 bits version of SFML and its headers get included?
Check out pysfml-cython, an up to date Python 2/3 binding for SFML 2: https://github.com/bastienleonard/pysfml-cython

shackra

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://swt.encyclomundi.org
Re: error: command 'gcc' failed with exit status 1
« Reply #7 on: August 08, 2012, 11:21:30 pm »
I just tried to build it from the AUR and got no error. I have the same GCC version.
It seems that you're on a 64 bits system. Could it be that you have an older 32 bits version of SFML and its headers get included?

Yeah! I checked my system with "find /usr/ -iname '*smfl*'" and I deleted some orphane files, it compiles now! :D (and I should got the same result building inside a chroot, as common packages are build)
Ok, this package should be available on Parabola GNU/Linux-libre soon! (or today in few hours!)

Thank you very much, Bastien! :'D

Edit:

I got this error when I tried to import sfml:


jorge@Abril:~$ LC_ALL=C ipython2
Python 2.7.3 (default, Apr 24 2012, 00:00:54)
Type "copyright", "credits" or "license" for more information.

IPython 0.13 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python'
s own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import sfml
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-ecd534b0eea3> in <module>()
----> 1 import sfml

ImportError: /usr/lib/python2.7/site-packages/sfml.so: undefined symbol: wrap_render_target_instance

In [2]: import sfml as sf
Segmentation fault
jorge@Abril:~$
 

Edit of the edit:
wait, I'm reading about this issue on http://en.sfml-dev.org/forums/index.php?topic=5311.msg52943#msg52943 maybe I can fix this reading that

Edit of the edit of the edit:

Looks like compiling from the "doesn't require Cython" packages throw errors either! (using sfml-git as dependencie, of course!)

jorge@Abril:/tmp/pySFML-0.2$ sudo LC_ALL=C python2 setup.py build

If the build fails, run patch.py and try again
----------------------------------------------

running build
running build_ext
building 'sfml' extension
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/sfml.cpp -o build/temp.linux-x86_64-2.7/src/sfml.o
src/sfml.cpp: In function 'int __pyx_pf_4sfml_4Text___init__(__pyx_obj_4sfml_Text*, PyObject*, __pyx_obj_4sfml_Font*, int)':
src/sfml.cpp:29359:95: error: no matching function for call to 'sf::Text::Text(char*)'
src/sfml.cpp:29359:95: note: candidates are:
In file included from /usr/include/SFML/Graphics.hpp:47:0,
                 from src/sfml.cpp:278:
/usr/include/SFML/Graphics/Text.hpp:80:14: note: sf::Text::Text(const sf::String&, const sf::Font&, unsigned int)
/usr/include/SFML/Graphics/Text.hpp:80:14: note:   candidate expects 3 arguments, 1 provided
/usr/include/SFML/Graphics/Text.hpp:70:5: note: sf::Text::Text()
/usr/include/SFML/Graphics/Text.hpp:70:5: note:   candidate expects 0 arguments, 1 provided
/usr/include/SFML/Graphics/Text.hpp:48:25: note: sf::Text::Text(const sf::Text&)
/usr/include/SFML/Graphics/Text.hpp:48:25: note:   no known conversion for argument 1 from 'char*' to 'const sf::Text&'
src/sfml.cpp:29378:135: error: lvalue required as unary '&' operand
src/sfml.cpp:29562:94: error: no matching function for call to 'sf::Text::Text(sf::String&)'
src/sfml.cpp:29562:94: note: candidates are:
In file included from /usr/include/SFML/Graphics.hpp:47:0,
                 from src/sfml.cpp:278:
/usr/include/SFML/Graphics/Text.hpp:80:14: note: sf::Text::Text(const sf::String&, const sf::Font&, unsigned int)
/usr/include/SFML/Graphics/Text.hpp:80:14: note:   candidate expects 3 arguments, 1 provided
/usr/include/SFML/Graphics/Text.hpp:70:5: note: sf::Text::Text()
/usr/include/SFML/Graphics/Text.hpp:70:5: note:   candidate expects 0 arguments, 1 provided
/usr/include/SFML/Graphics/Text.hpp:48:25: note: sf::Text::Text(const sf::Text&)
/usr/include/SFML/Graphics/Text.hpp:48:25: note:   no known conversion for argument 1 from 'sf::String' to 'const sf::Text&'
src/sfml.cpp:29581:135: error: lvalue required as unary '&' operand
src/sfml.cpp: In function 'void initsfml()':
src/sfml.cpp:59124:76: error: 'getDefaultFont' is not a member of 'sf::Font'
error: command 'gcc' failed with exit status 1
jorge@Abril:/tmp/pySFML-0.2$
« Last Edit: August 09, 2012, 12:01:00 am by shackra »

GNU User
Python programmer
Blog

bastien

  • Full Member
  • ***
  • Posts: 231
    • View Profile
    • http://bastien-leonard.alwaysdata.net
Re: error: command 'gcc' failed with exit status 1
« Reply #8 on: August 12, 2012, 07:29:27 pm »
I have updated the source releases. I have also created a “rc-compatible” branch that should work with SFML 2.0 RC.
Check out pysfml-cython, an up to date Python 2/3 binding for SFML 2: https://github.com/bastienleonard/pysfml-cython

shackra

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://swt.encyclomundi.org
Re: error: command 'gcc' failed with exit status 1
« Reply #9 on: August 12, 2012, 11:06:08 pm »
I have updated the source releases. I have also created a “rc-compatible” branch that should work with SFML 2.0 RC.

I feel like you have to make a "source release" compatible with SFML 2.0 RC too!
I'll edit this reply soon because I'm still packaging and I didn't test yet anything!

Edit:
indeed, a "source release" compatible with SFML 2.0 RC is needed!.
so far:
sfml-git + "source release" = error while loading shared libraries: libGLEW.so.1.7: cannot open shared object file: No such file or directory
sfml 2.0 rc + "source release" =
src/sfml.cpp: In function 'void initsfml()':
src/sfml.cpp:57683:30: error: 'BackSpace' is not a member of 'sf::Keyboard'
error: command 'gcc' failed with exit status 1
 

Edit:
sfml-git + "source release" is working now :) (check the attached screenshot!)

[attachment deleted by admin]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

btw I own jorgean[at]lavabit[dot]com, my new email is jorge[at]esavara[dot]cr

pls let me in, lavabit
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEORmQ/HnKp2aOAjuqtplkhLhPbZMFAmK5TEYACgkQtplkhLhP
bZPjNA/9EMGNBbw5qW83nKalmaBjQ7u7l5sKhzu/5kx40GheZA1prU0hP5tVEns7
siSspG+kDT+K3X9S5YGPkEr0j9jyKJio4orWxg6kKQJoaAFVS1ZuLZ4U3zxyRbuI
NLZ4tATpyxWHvChZqN/eMvD4ofdRvO1GvIRSexJvQVr0MCF/J/96iQs5J7TajGQQ
AziSbZ97fA1UKJG9mS+sNvrZJlJXrL2LsV8CD1OtXy9Mtuk6xpTxVnhwn8C03iAp
munQqXeVDbLrYd3Yk9veK9VmToD5i+TbxysQSfxD7Rnx4qOfkTniJrKzv/jidFyQ
Po37UdJolSHHePQ987aaIOO8BxwacfAcC4nUhxyAHDjgYc0BBozvbAVAUEe+kLzb
YEUsawB9C1gIHEAfO6/WqYqvQGC40YmXqXf5z/c4BG48pjuS5I4h4bfNw6Nr5MLj
GiX3mlgKzgZcHxkPh25BdxwcmNPwx5tlVT1JEgvQO0bkSeDBk4a6JMvcEI6toyLL
4hrjjWmuC6iMrgFeUAi5L/cKzj+AveFZfsJpCilMkYa8aQA7h+o8iPhcZaJp1z+h
wQynnoitqrQ6rKgCl1oI6vCihqRPHn9BopBfi+Myf9pou+ox1KXTM+kcUmz3VKju
WN45HOqathpoF4hrWWJ8jFEMnI+jWenGh1sicXdWe+JUln6vm9k=
=HyJp
-----END PGP SIGNATURE-----

 
« Last Edit: June 27, 2022, 08:22:03 am by shackra »

GNU User
Python programmer
Blog