[epiar-devel] Fails to run after make

Christopher Thielen chris at epiar.net
Tue Jun 28 16:02:05 PDT 2011


Not sure why it's quitting, but try turning off auto-load and see if you can play.

Sent from my iPhone

On Jun 28, 2011, at 3:34 PM, TWP Marketing <markettwp at yahoo.com> wrote:

> Oh, the Epiar-log is:
> ...
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <debugSession time="Tue Jun 28 15:26:44 2011" />
> <log>
>     <function>void Main_Log_Environment()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:44 2011</time>
>     <message>Epiar Version 0.5.0</message>
> </log>
> <log>
>     <function>void Main_Log_Environment()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:44 2011</time>
>     <message>Compiled with GCC vers: 4.4.5</message>
> </log>
> <log>
>     <function>void Main_Log_Environment()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:44 2011</time>
>     <message>Executable Path: /home/twp/Epiar/epiar</message>
> </log>
> <log>
>     <function>bool Font::Load(std::string)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:46 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeSans.ttf' loaded.</message>
> </log>
> <log>
>     <function>bool Font::Load(std::string)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:46 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/visitor2.ttf' loaded.</message>
> </log>
> <log>
>     <function>bool Font::Load(std::string)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:47 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeSerif.ttf' loaded.</message>
> </log>
> <log>
>     <function>bool Font::Load(std::string)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:48 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeMono.ttf' loaded.</message>
> </log>
> <log>
>     <function>static bool Video::Initialize()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:48 2011</time>
>     <message>SDL video initialized using x11 driver.</message>
> </log>
> <log>
>     <function>static bool Video::SetWindow(int, int, int, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:48 2011</time>
>     <message>Not using hardware surfaces.</message>
> </log>
> <log>
>     <function>static bool Video::SetWindow(int, int, int, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:48 2011</time>
>     <message>Not using hardware accelerated blitting.</message>
> </log>
> <log>
>     <function>static bool Video::SetWindow(int, int, int, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:48 2011</time>
>     <message>Video mode 1024x768x32 supported.</message>
> </log>
> <log>
>     <function>static bool Video::SetWindow(int, int, int, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:52 2011</time>
>     <message>Video mode initialized at 1024x768x32</message>
> </log>
> <log>
>     <function>bool Font::Load(std::string)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:52 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeSans.ttf' loaded.</message>
> </log>
> <log>
>     <function>bool Components::Load(std::string, bool, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:54 2011</time>
>     <message>Loading 'Resources/Definitions/saved-games.xml' for parsing.</message>
> </log>
> <log>
>     <function>bool Components::Load(std::string, bool, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:54 2011</time>
>     <message>'Resources/Definitions/saved-games.xml' file found and valid, parsing...</message>
> </log>
> <log>
>     <function>static bool File::Exists(const std::string&)</function>
>     <type>Error</type>
>     <time>Tue Jun 28 15:26:55 2011</time>
>     <message>No such file or directory: Resources/Definitions/twp.xml.</message>
> </log>
> <log>
>     <function>virtual bool PlayerInfo::FromXMLNode(xmlDoc*, xmlNode*)</function>
>     <type>Error</type>
>     <time>Tue Jun 28 15:26:55 2011</time>
>     <message>Player twp is Corrupt. There is no file 'Resources/Definitions/twp.xml'.</message>
> </log>
> <log>
>     <function>bool Components::Load(std::string, bool, bool)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:55 2011</time>
>     <message>Parsing of file 'Resources/Definitions/saved-games.xml' done, found 0 objects. File is version 0.5.0.</message>
> </log>
> <log>
>     <function>static void Menu::AutoLoad()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:55 2011</time>
>     <message>Attempting to automatically load a player.</message>
> </log>
> <log>
>     <function>int main(int, char**)</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:55 2011</time>
>     <message>Epiar shutting down.</message>
> </log>
> <log>
>     <function>Font::~Font()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:56 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeSans.ttf' freed.</message>
> </log>
> <log>
>     <function>Font::~Font()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:56 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/visitor2.ttf' freed.</message>
> </log>
> <log>
>     <function>Font::~Font()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:56 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeSerif.ttf' freed.</message>
> </log>
> <log>
>     <function>Font::~Font()</function>
>     <type>Info</type>
>     <time>Tue Jun 28 15:26:56 2011</time>
>     <message>Font '/home/twp/Epiar//Resources/Fonts/FreeMono.ttf' freed.</message>
> </log>
> </debugSession>
> 
> From: Christopher Thielen <chris at epiar.net>
> To: TWP Marketing <markettwp at yahoo.com>
> Cc: epiar-devel at epiar.net
> Sent: Tuesday, June 28, 2011 2:57 PM
> Subject: Re: Fails to run after make
> 
> The tmpnam warning is alright. It's a difference of opinion between your
> version of GCC and the folks who wrote the version of Lua that we use.
> Nothing that should affect stability/quality.
> 
> It looks like it might be a crash. Did we ever try using gdb to debug
> Epiar on your end?
> 
> On Tue, Jun 28, 2011 at 11:27:51AM -0700, TWP Marketing wrote:
> > Chris,
> > FYI
> >   I just did a new make on today's code and I get this warning in the last couple of lines on the terminal:
> > ...
> > Source/Lua/src/liblua.a(loslib.o): In function `os_tmpname(lua_State*)':
> > loslib.c:(.text+0x51): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> > ...
> > 
> > The make did complete, however the program will not run.  I have attached the log file, which shows it is trying to read the player file (twp.xml)  which does NOT exist.  It also tries to load file 'saved_games.xml', which does exist, but may be damaged?  I cannot tell for sure.  Assistance?
> > Dave
> 
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://epiar.net/pipermail/epiar-devel/attachments/20110628/671f9561/attachment-0001.html 


More information about the epiar-devel mailing list