Jump to content

os_path.h(48) error? The game can't run.


Ake
 Share

Recommended Posts

I have compiled Alpha 9 and the latest source code (May 9) according to build instructions, but the game encounters the same error and can't run.

When I run "./test" via command line, there is an error related to os_path.h(48). The following contents are the details of the error.

Running 275 tests...........................................................................os_path.h(48): Assertion failed: "(unsigned)wstring[i] <= (unsigned)UCHAR_MAX"
os_path.h(48): Assertion failed: "(unsigned)wstring[i] <= (unsigned)UCHAR_MAX"
Assertion failed: "(unsigned)wstring[i] <= (unsigned)UCHAR_MAX"
Location: os_path.h:48 (OsString)

Call stack:

(0x8ff23a) ./test() [0x8ff23a]
(0x89b801) ./test() [0x89b801]
(0x89c4de) ./test() [0x89c4de]
(0x89c7b3) ./test() [0x89c7b3]
(0x900500) ./test() [0x900500]
(0x89c154) ./test() [0x89c154]
(0x89c4e9) ./test() [0x89c4e9]
(0x89c7b3) ./test() [0x89c7b3]
(0x9021f8) ./test() [0x9021f8]
(0x8b1a6c) ./test() [0x8b1a6c]
(0x8bbb0d) ./test() [0x8bbb0d]
(0x46d006) ./test() [0x46d006]
(0x428aa3) ./test() [0x428aa3]
(0x432283) ./test() [0x432283]
(0x413ab5) ./test() [0x413ab5]
(0x7fc9b5bcb32d) /lib64/libc.so.6(__libc_start_main+0xed) [0x7fc9b5bcb32d]

errno = 0 (No error reported here)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

The system of my computer: Mageia 2 (Cauldron) x86_64

Libraries for compiling 0 A.D.: x86_64

The version of gcc: 4.6.3

Edited by Ake
Link to comment
Share on other sites

Thank you for your help!

Yes, the game is placed in a folder with a Chinese name. The problem is solved with the latest source code. Test is passed, and the game runs well.

According to build instructions, the latest source code is gotten via the command "svn co http://svn.wildfireg...ublic/ps/trunk/ 0ad". However, it will download both of source code for Linux and Windows and the downloads are too large. How to only download the latest source code for Linux?

Edited by Ake
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...