![]() |
#1 |
Rookie
Join Date: Jun 2019
Posts: 16
![]() |
Problem with sdl 2.0.5 on Ubuntu 16
Hi! I hope this is the right place for my question.
I want to install libtcod in my computer. It requires sdl 2.0.5. But the hightest version I can install is sdl 2.0.4. After searching for this problem, I found this thread about installing 2.0.5 on Ubuntu: https://forum.outpost2.net/index.php?topic=5978.0 After downloading and extracting the tar.gz file from libsdl.org, do I need to put this into the Ubuntu terminal? Code:
tar -zxvf SDL2-2.0.5.tar.gz cd SDL2-2.0.5 ./configure make sudo make install cd .. |
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 961
![]() |
Which Linux distribution are you using? It looks like it may be quite outdated.
__________________
Dive fast, die young, leave a high-CHA corpse. -- You read a scroll labeled 'lol gtfo' of Teleport Level. |
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Jun 2019
Posts: 16
![]() |
it's ubuntu 16.04 LTS
|
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 961
![]() |
Indeed, that's three and a half years old. Have you considered updating to the next LTS, 18.04?
__________________
Dive fast, die young, leave a high-CHA corpse. -- You read a scroll labeled 'lol gtfo' of Teleport Level. |
![]() |
![]() |
![]() |
#5 |
Rookie
Join Date: Jun 2019
Posts: 16
![]() |
The computer is old too and with Ubuntu 18 it probably will become very slow. Thanks for your help, fph!
The problem, however, is now solved, though I don't quite understand the whole thing. Yesterday I found out that somehow there was already a libtcod folder in the computer, and I could successfully import libtcod into my code. But in my Windows computer, the line was "import tcod", and it worked, and now the line has to be "import libtcod" to make it work. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
changing config.txt for sangband SDl port under ubuntu linux | Malak Darkhunter | Variants | 1 | December 2, 2014 15:28 |
NPP sdl | Nick | Variants | 10 | July 15, 2010 07:23 |
Down with the SDL! | Pete Mack | Development | 0 | August 13, 2009 05:26 |
SDL sound | Nick | Development | 1 | July 16, 2009 22:14 |
Ubuntu SDL Help? | benhamill | Vanilla | 12 | February 24, 2009 22:19 |