#262 closed task (fixed)
Linux and SpiderMonkey
Reported by: | justme | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | |
Component: | Non-game systems | Keywords: | linux x86_64 build |
Cc: | Patch: |
Description
In the help page for building on linux (http://trac.wildfiregames.com/wiki/BuildInstructions#Installingthread-safeSpiderMonkey) The recommended version of spider monkey causes build errors with 0AD. I installed the latest version of spider monkey (changeset: 30318) from https://developer.mozilla.org/En/SpiderMonkey/Getting_SpiderMonkey_source_code#Getting_the_latest_SpiderMonkey_source_code
And copied header files 0AD wanted (jsosdep.h and jsconfig.h) that were not present in the latest Spider Monkey revision from an older version to /usr/include/js
0AD then compiled successfully. There was an error (which seemed to have no effect) when launching a single player game but I don't know if it is related to Spider Monkey or what effects the error had on the game.
SpiderMonkey is now included in our SVN, thus hopefully solving such compile problems. Please feel free to reopen if you're still having trouble.