SFML community forums

Help => General => Topic started by: fixus971 on June 19, 2009, 02:50:43 am

Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: fixus971 on June 19, 2009, 02:50:43 am
I'm compiled SFML v1.5 on a fresh Linux Mint(Ubuntu)
finding needed: libraries, packages, include files .h, lib files.so
using this Ubuntu web tool: http://packages.ubuntu.com/  ("Search the contents of packages")

I spent 2 hours to do this starting from SFML compile errors so now I write here my work result for all others and Ask if someone found some alternative mode to setup all.

build-essential
mesa-common-dev
libxrandr-dev
libgl1-mesa-dev
libglu1-mesa-dev
libfreetype6-dev
libopenal-dev
libsndfile1-dev

To compile simly go in SFML dir and type "make"
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: christoph on June 19, 2009, 09:34:07 am
You could have done apt-get build-dep libsfml
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: Laurent on June 19, 2009, 09:39:59 am
You forgot libx11-dev ;)

I should really add this stuff to the Linux tutorial.
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: Laurent on June 19, 2009, 10:08:14 am
Quote
I should really add this stuff to the Linux tutorial.

Done
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: fixus971 on June 21, 2009, 11:46:22 am
Hi I'm completed my complete setup instructions to:
 compile and use SFML & CEGUI with Netbeans in Italian Language:

http://www.fixweb.it/info/come-compilare-sfml-cegui-netbeans

If someone wants to convert in English I can help but now is too work for me and text is just very simple to understand locking codes
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: fixus971 on June 21, 2009, 11:52:37 am
On my Linux Mint Gloria I tried "apt-get build-dep libsfml"
but don't understand it's results
PS: Now I have all working in my project but always get:

Code: [Select]
fixus@fixus-lm7 ~ $ sudo apt-get build-dep libsfml
[sudo] password for fixus:
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso      
Lettura informazioni sullo stato... Fatto        
E: Bisogna inserire alcuni URI di tipo 'source' in sources.list
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: christoph on June 21, 2009, 10:33:17 pm
could you paste

sudo LANG="C" apt-get build-dep libsfml

as I can't speak italian(?)
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: fixus971 on June 22, 2009, 11:15:25 am
Code: [Select]
fixus@fixus-LM7 ~ $ sudo LANG="C" apt-get build-dep libsfml
[sudo] password for fixus:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: You must put some 'source' URIs in your sources.list

This is from other PC with same configuration - same result
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: Hiura on June 22, 2009, 11:17:02 am
You write something wrong in /etc/source.list I think.
Title: How to compile SFML 1.5 on Linux Ubuntu: packages
Post by: fixus971 on June 23, 2009, 12:00:16 pm
Hi, Hiura. I'm sorry but I know "source.list" and I don't touch that file on this distro and I have same result on a semi-fresh installation too.