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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...