SFML community forums

Help => General => Topic started by: ExcessNeo on August 13, 2007, 10:22:01 pm

Title: Ubuntu AMD64 Compatible?
Post by: ExcessNeo on August 13, 2007, 10:22:01 pm
I've attempted to install on Ubuntu 7.04 AMD64 and I can't seem to get anything to build.

Here is what i type into the Bash prompt and the subsequent output from g++:
Quote
$ g++ -o test test.o -lsfml-system
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libsfml-system.so when searching for -lsfml-system
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libsfml-system.so when searching for -lsfml-system
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libsfml-system.so when searching for -lsfml-system
/usr/bin/ld: skipping incompatible /usr/lib64/libsfml-system.so when searching for -lsfml-system
/usr/bin/ld: skipping incompatible /usr/lib/libsfml-system.so when searching for -lsfml-system
/usr/bin/ld: cannot find -lsfml-system
collect2: ld returned 1 exit status


I also tried out with CodeBlocks but it kept telling me that the calls to functions were undefined yet I setup as the instructions said and copied and pasted the Clock.cpp code from the tutorial on the main website.

Edit: my temporary workaround has been to switch to 32-bit Ubuntu, would be nice to see a future release that supports 64-bit Linux, but its still a fantastic start.
Title: Ubuntu AMD64 Compatible?
Post by: Laurent on August 14, 2007, 09:12:24 am
Yes, I'll try to provide builds for more platforms as soon as possible, including the 64-bits ones.

If you want you can compile SFML on your Ubuntu 64, it's quite easy (see the last part of the "SFML and Linux" tutorial).
Title: Ubuntu AMD64 Compatible?
Post by: ExcessNeo on August 14, 2007, 04:06:45 pm
I'll give it a go when I'm back on my main PC (Still have Ubuntu 64 on that one) after work tonight. Should be easier for me to install Ubuntu 32-bit on that computer if all things don't go well.
Title: Ubuntu AMD64 Compatible?
Post by: ExcessNeo on August 14, 2007, 11:55:30 pm
Built and now working on Ubuntu 64-bit.

If you want the lib files I can email a .tar.gz file with the built ones to you Laurent.
Title: Ubuntu AMD64 Compatible?
Post by: Laurent on August 15, 2007, 12:08:58 am
Great !

Quote
If you want the lib files I can email a .tar.gz file with the built ones to you Laurent.

Sure, thank you ;)
Title: Ubuntu AMD64 Compatible?
Post by: Alp on August 15, 2007, 12:11:33 am
Quote from: "ExcessNeo"
Built and now working on Ubuntu 64-bit.

If you want the lib files I can email a .tar.gz file with the built ones to you Laurent.


Thanks a lot.

*Cheers* (we haven't SFML cheerleaders for the moment  :lol: )
Title: Ubuntu AMD64 Compatible?
Post by: Laurent on August 15, 2007, 09:05:42 am
I just uploaded the files, and added them to the Download page.

Thank you a lot :)
Title: Ubuntu AMD64 Compatible?
Post by: ExcessNeo on August 15, 2007, 02:39:25 pm
Glad to help.