Jump to content

ninio

Community Members
  • Posts

    16
  • Joined

  • Last visited

ninio's Achievements

Discens

Discens (2/14)

0

Reputation

  1. I got a error compiling in the last step (I guess), when I run "make -j1". The error is the following: ==== Building AtlasScript ==== 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 Like you can see, I have installed the wx library. Why are you calling to the function "wxString(const char*, wxMBConvUTF16, unsigned int)"? if this prototipe does not exists in the wxString class. What's wrong?
  2. 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.
  3. Hi folks again 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
  4. Thanks! it worked!. I'm playing now. Thank to all who helped me!
  5. Done. Now I get: "** No Premake script found!" Edit: Sorry!, I was beacuse I was using the update-workspaces.sh medified by me. I did restore the orignal and now It's works! Thanks man!. Edit 2: New problem. Now I must to run "make -jx" where x is the numbers of CPU's, in my case 1. I make it, and I get the following error: (...) ../../../source/scripting/ScriptableObject.h:37: error: ‘jsval’ does not name a type ../../../source/scripting/ScriptableObject.h:38: error: ‘JSContext’ has not been declared ../../../source/scripting/ScriptableObject.h:38: error: ‘jsval’ has not been declared ../../../source/scripting/ScriptableObject.h:47: error: expected identifier before ‘*’ token ../../../source/scripting/ScriptableObject.h:47: error: ‘JSContext’ has not been declared ../../../source/scripting/ScriptableObject.h:47: error: ISO C++ forbids declaration of ‘jsval’ with no type ../../../source/scripting/ScriptableObject.h:47: error: ‘jsval’ declared as function returning a function ../../../source/scripting/ScriptableObject.h:48: error: ‘JSContext’ has not been declared ../../../source/scripting/ScriptableObject.h:54: error: ‘JSContext’ has not been declared ../../../source/scripting/ScriptableObject.h:74: error: ‘jsval’ does not name a type ../../../source/scripting/ScriptableObject.h:78: error: ‘JSContext’ has not been declared ../../../source/scripting/ScriptableObject.h:78: error: ‘jsval’ has not been declared ../../../source/scripting/ScriptableObject.h:96: error: ‘jsval’ does not name a type ../../../source/scripting/ScriptableObject.h:100: error: ‘JSContext’ has not been declared ../../../source/scripting/ScriptableObject.h:100: error: ‘jsval’ has not been declared ../../../source/scripting/ScriptableObject.h:112: error: ‘GetFn’ in class ‘IJSObject’ does not name a type ../../../source/scripting/ScriptableObject.h:118: error: expected `)' before ‘Getter’ ../../../source/network/NetMessage.cpp:1062: error: expected `}' at end of input ../../../source/network/NetMessage.cpp:1062: error: expected unqualified-id at end of input make[1]: *** [obj/network_Debug/NetMessage.o] Error 1 make: *** [network] Error 2 Like if some header is no there
  6. Hi, I ran "make" in the directory "trunk/libraries/fcollada/src". The problem is when I try run "update-workspaces.sh" in the directory "trunk/build/workspaces", I get a "premake not found". Well, looking in the "update-workspaces.sh" script I saw the premake must to be in "trunk/build/premake", but it is not there . What's wrong?, plese, help. I'm on Debian Lenny. Another thing: I don't have the "premake" package, Where can I to find this for my Debian?. Edit: The first "make" don't gives any error. The last lines out are: cp output/libFColladaSD.a ../lib/libFColladaSD.a cp output/libFColladaSR.a ../lib/libFColladaSR.a
  7. I've been compiled all source files. Now where are my binaries files to run the game?!. I'm on Debian GNU/Linux.
×
×
  • Create New...