Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to compile SFML 1.5 on Linux Ubuntu: packages  (Read 6948 times)

0 Members and 1 Guest are viewing this topic.

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to compile SFML 1.5 on Linux Ubuntu: packages
« 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"
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

christoph

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • http://www.christoph-egger.org
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #1 on: June 19, 2009, 09:34:07 am »
You could have done apt-get build-dep libsfml

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #2 on: June 19, 2009, 09:39:59 am »
You forgot libx11-dev ;)

I should really add this stuff to the Linux tutorial.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #3 on: June 19, 2009, 10:08:14 am »
Quote
I should really add this stuff to the Linux tutorial.

Done
Laurent Gomila - SFML developer

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #4 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
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #5 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
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

christoph

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • http://www.christoph-egger.org
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #6 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(?)

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #7 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
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #8 on: June 22, 2009, 11:17:02 am »
You write something wrong in /etc/source.list I think.
SFML / OS X developer

fixus971

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.fixweb.it
How to compile SFML 1.5 on Linux Ubuntu: packages
« Reply #9 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.
^_^=>Il calcolatore è straordinariamente veloce, accurato e stupido. Gli uomini sono incredibilmente lenti, imprecisi e creativi. L'insieme dei due costituisce una forza incalcolabile. (Albert Einstein)

 

anything