SFML community forums

Help => General => Topic started by: ravenheart on February 28, 2009, 05:48:35 pm

Title: sfml download
Post by: ravenheart on February 28, 2009, 05:48:35 pm
is it possible that the download from sourceforge causes some trouble??

as i told u i downloaded it several times with linux systems and often i had the error

: unexpected end of file

when i tried to extract the full sdk

now i downloaded the windows-sdk and tried to extract it using winrar:

Quote

!   C:\Users\Osiris\Documents\Downloads\SFML-1.4-sdk-windows.zip: Unerwartetes Archivende.


for those who dont speak german:
  unexpected end of file

...
Title: sfml download
Post by: Laurent on February 28, 2009, 07:37:04 pm
I have no problem with the SFML archives. I just tested the Windows SDK again to be sure: I can extract it with winrar without any error.

Are you sure you're not trying to extract it before the download completes?  :lol:
Title: sfml download
Post by: ravenheart on March 01, 2009, 01:30:11 am
yes i am sure^^

i didnt have any problems with it before

well here it is again:

downlöoad completed
40,9 MB in 59 s
Speed: 702 kb/s

last time it didnt work now it does ... is still wonder why
... it is really maddening -.-
Title: sfml download
Post by: ravenheart on March 01, 2009, 10:02:23 am
well i think that googles chrome browser does make problems at moment

with ie it works...
Title: sfml download
Post by: bullno1 on March 01, 2009, 12:51:13 pm
Try clearing your cache. I think chrome cached a corrupted download
Title: sfml download
Post by: ravenheart on March 01, 2009, 04:57:22 pm
hmm now i tried again downloading sdk for linux:

firefox did not report any error but again i couldnt extract the files so i used
konqueror

msg:
connection to 213.203.218.125 interrupted

and that almost every time i try it -- sometimes it works but 3 times it didnt ... and i dont believe my inet has problems i can download anything else... it works
________________________________
i installed the working one- i can compile and link files now with no problems
but i cant run them
and thats what i get when i try to run the samples:

Quote

kleopatra@localhost:~/Desktop/SFML-1.4/samples/bin> ./opengl
./opengl: error while loading shared libraries: libsfml-graphics.so.1.4: wrong ELF class: ELFCLASS64
kleopatra@localhost:~/Desktop/SFML-1.4/samples/bin> ./ftp
./ftp: error while loading shared libraries: libsfml-network.so.1.4: wrong ELF class: ELFCLASS64
kleopatra@localhost:~/Desktop/SFML-1.4/samples/bin> ./wxwidgets
./wxwidgets: error while loading shared libraries: libsfml-graphics.so.1.4: wrong ELF class: ELFCLASS64
kleopatra@localhost:~/Desktop/SFML-1.4/samples/bin> ./pong
./pong: error while loading shared libraries: libsfml-audio.so.1.4: wrong ELF class: ELFCLASS64
Title: sfml download
Post by: Laurent on March 01, 2009, 05:36:49 pm
Are you using a 64 bits OS? SFML binaries are compiled for 32 bits.
Title: sfml download
Post by: ravenheart on March 01, 2009, 06:43:06 pm
yes i use 64 bit

how can i use sfml with my 64-bit os??
the files i create cannot be opened too, even when compiling and linking worked, then i get this msg:

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: sfml download
Post by: Laurent on March 01, 2009, 08:10:37 pm
You have to recompile SFML.
Title: sfml download
Post by: ravenheart on March 02, 2009, 11:06:52 am
how can i recompile it ?!
Title: sfml download
Post by: Laurent on March 02, 2009, 12:53:32 pm
Read the tutorial :)
Title: sfml download
Post by: ravenheart on March 02, 2009, 05:06:33 pm
if u mean

make sfml or make sfml-samples , i already did it -> tat lkeads to following output when i try to run samples or my own files:

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
Title: sfml download
Post by: Laurent on March 02, 2009, 05:18:51 pm
So you don't have any issue with compiling SFML... Don't forget "make install" after "make sfml".

Do you have an OpenGL implementation working (is glxgears running?)?
Title: sfml download
Post by: ravenheart on March 02, 2009, 05:39:20 pm
finally.. it seems here lies the problem:

glxgears is NOT running, it is the same error message like i posted before,

what is missing in my system??
Title: sfml download
Post by: Laurent on March 02, 2009, 05:49:47 pm
Probably an OpenGL implementation (look into your standard packages), or a proper OpenGL driver. I'm not an expert so I can't help much, sorry.