Jump to content

The game aborts


Recommended Posts

Hi folks again :D

I can run the game until the main menu. The problems is when el try to start a game: Click on Single Player then click on Start and I get:

Assertion failure: (uint32)2 < JS_MIN(((obj)->map)->freeslot, ((obj)->map)->nslots), at jsapi.c:2118
Abortado

:)

Link to comment
Share on other sites

Yes, I didn't see the error of "make -j":

../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:52:32: error: valgrind/valgrind.h: Does not exists the file or directory

Anyway, I got the binary "pyrogenesis_dbg". That's rare...

Why "valgrind.h" does not exists?.

Edit: Looking in ScriptInterface.cpp I seen "# include <valgrind/valgrind.h>" then I installed the package :)

Edit 2: Another new error :\

ScriptInterface.cpp
../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp: In static member function ‘static bool<unnamed>::FromJSVal<wxString>::Convert(JSContext*, jsval, wxString&)’:
../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:185: error: no matching function for call to ‘wxString::wxString(const char*, wxMBConvUTF16, unsigned int)’
/usr/include/wx-2.6/wx/string.h:1160: note: candidates are: wxString::wxString(const void*, const void*)
/usr/include/wx-2.6/wx/string.h:1157: note: wxString::wxString(const wxString&, size_t, size_t)
/usr/include/wx-2.6/wx/string.h:671: note: wxString::wxString(const wxWCharBuffer&)
/usr/include/wx-2.6/wx/string.h:669: note: wxString::wxString(const char*, wxMBConv&, size_t)
/usr/include/wx-2.6/wx/string.h:663: note: wxString::wxString(const wxStdString&)
/usr/include/wx-2.6/wx/string.h:653: note: wxString::wxString(const wxChar*, wxMBConv&, size_t)
/usr/include/wx-2.6/wx/string.h:651: note: wxString::wxString(const wxChar*, size_t)
/usr/include/wx-2.6/wx/string.h:649: note: wxString::wxString(const wxChar*)
/usr/include/wx-2.6/wx/string.h:645: note: wxString::wxString(size_t, wxChar)
/usr/include/wx-2.6/wx/string.h:643: note: wxString::wxString(wxChar, size_t)
/usr/include/wx-2.6/wx/string.h:641: note: wxString::wxString(const wxString&)
/usr/include/wx-2.6/wx/string.h:640: note: wxString::wxString(const wxStringBase&)
/usr/include/wx-2.6/wx/string.h:638: note: wxString::wxString()
/usr/include/wx-2.6/wx/string.h:633: note: wxString::wxString(int)
make[1]: *** [obj/AtlasScript_Debug/ScriptInterface.o] Error 1
make: *** [AtlasScript] Error 2

Now I don't know waht happens...

I had installed wx-2.8 and wx-2.6.

Edited by ninio
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...