SMC on ubuntu 12.04

Talk about Maryo and Mario :)

Moderator: SMC Team

SMC on ubuntu 12.04

Postby saugat » 20 Feb 2013 12:49

Hi
I am trying to build SMC on ubuntu 12.04 from source. I was able to get SMC compiled after installing all the required packages including - libsdl1.2, libsdl_image1.2, libsdl_mixer1.2, libsdl_ttf1.2, boost_1.49 , CEGUI-0.6.6 ,CEGUI_mk2. The SMC build was successful and smc directory was created in /usr/local/share and /usr/share/games.
For Smc Music, I downloaded the smc-music zip file and after unzipping, transferred the directory to /usr/local/share/smc/music.
I am able to execute by entering the command smc from my terminal and the initial startup menu comes up. But when I select "START" or "OPTIONS" there is a core dump with an error -
terminate called after throwing an instance of 'CEGUI::InvalidRequestException' Aborted (core dumped)

I also followed the instructions in the below thread
http://www.secretmaryo.org/phpBB3/viewtopic.php?t=7831
and created campaign folder in /usr/share/games/smc, but that didnt work.

Any help will be highly appreciated.

Regards
Saugat.
saugat
Furball brown
Furball brown
 
Posts: 4
Joined: 09 Aug 2012 14:38

Re: SMC on ubuntu 12.04

Postby DevEd2 » 25 Feb 2013 13:53

Perhaps try a newer version of CEGUI?

EDIT: If possible, could you post the core dump?
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: SMC on ubuntu 12.04

Postby Quintus » 27 Feb 2013 07:58

CEGUI shouldn’t throw that exception — which version of SMC are you trying to build? The stable 1.9, the unstable 2.0, or my even more instable 2.0 fork? Which version of CEGUI is in use? Anyway, a GDB backtrace would be helpful. Install GDB:
Code: Select all
# apt-get install gdb
and start SMC like this:
Code: Select all
$ gdb smc
(gdb) r
...game starts now...
...game receives SIGABRT...
(gdb) bt


This should give you a nice backtrace that would help us to pin down the problem. At least I hope, getting backtraces out of SMC is not as easy as it should be given it often enough just resorts to printing warnings instead of crashing properly...

Vale,
Quintus
Come to our fork of SMC: https://secretchronicles.org
Quintus
SMC Team
SMC Team
 
Posts: 354
Joined: 14 Sep 2010 18:05

Re: SMC on ubuntu 12.04

Postby DevEd2 » 27 Feb 2013 13:10

Quintus wrote:Install GDB:
Code: Select all
# apt-get install gdb

Perhaps this would work better:
Code: Select all
# sudo apt-get install gdb
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: SMC on ubuntu 12.04

Postby Quintus » 27 Feb 2013 20:02

DevEd2 wrote:
Quintus wrote:Install GDB:
Code: Select all
# apt-get install gdb

Perhaps this would work better:
Code: Select all
# sudo apt-get install gdb


Not really. I used the # sign to denote a root command, so the extra sudo is not necessary. Generally, $ stands for commands to be run as the normal, non-privileged user, and # is used for superuser commands and thus mostly equivalent to running the given command as a nonprivileged user through sudo. And btw. some distros don’t have sudo. E.g. in Arch Linux you have to explicitely install it yourself (however, most people, including me, do this).

Vale,
Quintus
Come to our fork of SMC: https://secretchronicles.org
Quintus
SMC Team
SMC Team
 
Posts: 354
Joined: 14 Sep 2010 18:05

Re: SMC on ubuntu 12.04

Postby Luiji » 16 Mar 2013 22:02

You guys think the OP has just given up or do you think (s)he's just fixed it and didn't tell us? Errors like this are very worrisome.
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Luiji
MVP
MVP
 
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron