0 Members and 2 Guests are viewing this topic.
ImprotError: libsfml-graphics.so.1.4: wrong ELF class: ELFCLASS32
make[2]: Entering directory `/home/zill/Desktop/SFML-1.4/src/SFML/Window'g++ -o Context.o -c Context.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICg++ -o Input.o -c Input.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICg++ -o VideoMode.o -c VideoMode.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICg++ -o Window.o -c Window.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICg++ -o WindowImpl.o -c WindowImpl.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICg++ -o Linux/Joystick.o -c Linux/Joystick.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICg++ -o Linux/VideoModeSupport.o -c Linux/VideoModeSupport.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPICLinux/VideoModeSupport.cpp:31:35: error: X11/extensions/Xrandr.h: No such file or directoryLinux/VideoModeSupport.cpp: In static member function ‘static void sf::priv::VideoModeSupport::GetSupportedVideoModes(std::vector<sf::VideoMode, std::allocator<sf::VideoMode> >&)’:Linux/VideoModeSupport.cpp:58: error: ‘XRRScreenConfiguration’ was not declared in this scopeLinux/VideoModeSupport.cpp:58: error: ‘Config’ was not declared in this scopeLinux/VideoModeSupport.cpp:58: error: ‘XRRGetScreenInfo’ was not declared in this scopeLinux/VideoModeSupport.cpp:63: error: ‘XRRScreenSize’ was not declared in this scopeLinux/VideoModeSupport.cpp:63: error: ‘Sizes’ was not declared in this scopeLinux/VideoModeSupport.cpp:63: error: ‘XRRConfigSizes’ was not declared in this scopeLinux/VideoModeSupport.cpp:79: error: ‘XRRFreeScreenConfigInfo’ was not declared in this scopeLinux/VideoModeSupport.cpp: In static member function ‘static sf::VideoMode sf::priv::VideoModeSupport::GetDesktopVideoMode()’:Linux/VideoModeSupport.cpp:112: error: ‘XRRScreenConfiguration’ was not declared in this scopeLinux/VideoModeSupport.cpp:112: error: ‘Config’ was not declared in this scopeLinux/VideoModeSupport.cpp:112: error: ‘XRRGetScreenInfo’ was not declared in this scopeLinux/VideoModeSupport.cpp:116: error: ‘Rotation’ was not declared in this scopeLinux/VideoModeSupport.cpp:116: error: expected `;' before ‘CurrentRotation’Linux/VideoModeSupport.cpp:117: error: ‘CurrentRotation’ was not declared in this scopeLinux/VideoModeSupport.cpp:117: error: ‘XRRConfigCurrentConfiguration’ was not declared in this scopeLinux/VideoModeSupport.cpp:121: error: ‘XRRScreenSize’ was not declared in this scopeLinux/VideoModeSupport.cpp:121: error: ‘Sizes’ was not declared in this scopeLinux/VideoModeSupport.cpp:121: error: ‘XRRConfigSizes’ was not declared in this scopeLinux/VideoModeSupport.cpp:126: error: ‘XRRFreeScreenConfigInfo’ was not declared in this scopemake[2]: *** [Linux/VideoModeSupport.o] Error 1make[2]: Leaving directory `/home/zill/Desktop/SFML-1.4/src/SFML/Window'make[1]: *** [sfml-window] Error 2make[1]: Leaving directory `/home/zill/Desktop/SFML-1.4/src/SFML'make: *** [sfml] Error 2
I tried using the 32 bit version of PySFML, but I just got an error saying that sf.so is the wrong elf class.