Hi,
I compiled polyworld successfully on Debian 7.5 with Mate environment and Qt 4.8.2.
But when running
./Polyworld worldfile
, i have randomly as a result:
worldfile.v2:2 Unexpected '54'
(30% of tries)
where 54 is the first word of the world file ("54 version\n")
or
Segmentation fault
(20%)
or
TSimulation/266: Error making run directory (17)
(50%)
I think its a bug somewhere in the parser. I hope you find the problem soon because I couldn't run it yet, and I would love to see your awesome work.
I also tried other world file, leading to the same result.
Cheers!
Actually the
comes from the fact that I made several tries per second, and since the run_###### directories are named by their timestamp, it cannot create 2 directories in the same second.
Hence their is actually only two issues which are the parsing error and the segfault. They occur with a 50%-50% distribution.
Last edit: Pascal Heitz 2014-08-07
I can tell from that "54 version" line that you're trying to use an old worldfile. I'm sorry, I should just remove them, or put them in a directory clearly marked as out of date. You should be able to run Polyworld with an empty worldfile:
touch empty.wf
./Polyworld empty.wf
To see an up-to-date worldfile, you can look in sandbox. And to see all of the worldfile parameters you can look at the worldfile schema in etc/worldfile.wfs.