Ake Posted May 9, 2012 Report Share Posted May 9, 2012 (edited) 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_64Libraries for compiling 0 A.D.: x86_64The version of gcc: 4.6.3 Edited May 9, 2012 by Ake Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 11, 2012 Report Share Posted May 11, 2012 I assume you've put the game in a path that contains non-ASCII characters. r11839 should fix that now. Quote Link to comment Share on other sites More sharing options...
Ake Posted May 12, 2012 Author Report Share Posted May 12, 2012 (edited) 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 May 12, 2012 by Ake Quote Link to comment Share on other sites More sharing options...
quantumstate Posted May 12, 2012 Report Share Posted May 12, 2012 The source is cross platform, so the windows source is the same as the linux source except for a very small number of files. The main size comes from the data files for the game not the code. Quote Link to comment Share on other sites More sharing options...
Ake Posted May 12, 2012 Author Report Share Posted May 12, 2012 OK, I see. It's a good developing way for saving much effort and time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.