Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old November 3, 2019, 03:52   #1
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 11
werecobalt is on a distinguished road
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 ..
I used to make a roguelike on a Windows computer and managed to install libtcod successfully. Now I want to resume on this Ubuntu one. One problem with libtcod itself is that it only has square font. So I also would like to know if there is substitute for libtcod that doesn't require sdl 2.0.5 or has non-square font.
werecobalt is offline   Reply With Quote
Old November 3, 2019, 16:13   #2
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 791
fph is on a distinguished road
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.
fph is offline   Reply With Quote
Old November 3, 2019, 17:14   #3
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 11
werecobalt is on a distinguished road
it's ubuntu 16.04 LTS
werecobalt is offline   Reply With Quote
Old November 3, 2019, 21:10   #4
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 791
fph is on a distinguished road
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.
fph is offline   Reply With Quote
Old November 4, 2019, 02:27   #5
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 11
werecobalt is on a distinguished road
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.
werecobalt is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 04:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.