SFML community forums

Help => General => Topic started by: ravenheart on February 27, 2009, 08:16:57 pm

Title: almost got it working on linux but still need help^^
Post by: ravenheart on February 27, 2009, 08:16:57 pm
now finally the installation of sfml finished without complaining bout something - and i am able to compile programms

Quote

localhost:/home/kleopatra/Dokumente # g++ -o test test.cpp -lsfml-system -lsfml-window
localhost:/home/kleopatra/Dokumente # dir
insgesamt 44
drwxr-xr-x 3 kleopatra users  4096 27. Feb 14:07 Downloads
drwxr-xr-x 2 kleopatra users  4096 27. Feb 10:02 Privat
drwxr-xr-x 2 kleopatra users  4096 27. Feb 10:02 Programmieren
drwxr-xr-x 2 kleopatra users  4096 27. Feb 10:02 Studium
-rwxr-xr-x 1 root      root  13595 27. Feb 14:13 test
-rw-r--r-- 1 kleopatra users   119 27. Feb 14:13 test.cpp
-rw-r--r-- 1 kleopatra users   114 27. Feb 14:13 test.cpp~

but trying to run it there is a little problem

Quote

localhost:/home/kleopatra/Dokumente # ./test
./test: error while loading shared libraries: libsfml-system.so.1.4: cannot open shared object file: No such file or directory
Title: almost got it working on linux but still need help^^
Post by: christoph on February 27, 2009, 08:55:21 pm
Does /usr/lib/libsfml-system.so exist and is an symlink to /usr/lib/libsfml-system.so.1.4 ?
Title: almost got it working on linux but still need help^^
Post by: ravenheart on February 27, 2009, 09:18:30 pm
well thats a excerpt from my usr/lib
Quote

lrwxrwxrwx   1 root root      29 27. Feb 14:08 libsfml-audio.so -> /usr/lib/libsfml-audio.so.1.4                                                            
-rwxr-xr-x   1 root root  150123 27. Feb 14:08 libsfml-audio.so.1.4                                                                                          
lrwxrwxrwx   1 root root      32 27. Feb 14:08 libsfml-graphics.so -> /usr/lib/libsfml-graphics.so.1.4                                                      
-rwxr-xr-x   1 root root 1331515 27. Feb 14:08 libsfml-graphics.so.1.4                                                                                      
lrwxrwxrwx   1 root root      31 27. Feb 14:08 libsfml-network.so -> /usr/lib/libsfml-network.so.1.4                                                        
-rwxr-xr-x   1 root root  125851 27. Feb 14:08 libsfml-network.so.1.4                                                                                        
lrwxrwxrwx   1 root root      30 27. Feb 14:08 libsfml-system.so -> /usr/lib/libsfml-system.so.1.4                                                          
-rwxr-xr-x   1 root root   47339 27. Feb 14:08 libsfml-system.so.1.4                                                                                        
lrwxrwxrwx   1 root root      30 27. Feb 14:08 libsfml-window.so -> /usr/lib/libsfml-window.so.1.4                                                          
-rwxr-xr-x   1 root root   99311 27. Feb 14:08 libsfml-window.so.1.4  
Title: almost got it working on linux but still need help^^
Post by: ravenheart on February 28, 2009, 12:41:44 pm
now i have following errors trying to run things:
in code::blocks its the sam error-message:
Quote

X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  14
  Current serial number in output stream:  14

has anyone had this before ... bout 4 o'clock a friend (linux- programming- computer- freak) is coming , maybe he can help me but till now i cant find anything that seems wrong
Title: almost got it working on linux but still need help^^
Post by: christoph on February 28, 2009, 04:18:43 pm
Looks like something one gets when the graphics Hardware laks some  features (prominently Intel Chips with no support for 24bit color space)
Title: almost got it working on linux but still need help^^
Post by: ravenheart on March 01, 2009, 11:34:57 am
hmm with windows it works fine, so i dont believe there are hardware-problems?

is there any possibility to get sfml for suse 64bit using yast??

i heard there is a repository for ubuntu
i dont care if its only version 1.3 , i just want to be able to learn again
Title: almost got it working on linux but still need help^^
Post by: christoph on March 02, 2009, 12:55:03 pm
There are no RPMs for SFML (yet). Only Debian,Ubuntu debs and packages for Arch(unsupported) are currently available