-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem compiling on Linux #18
Comments
Continuing on... it seems sys/unix/Makefile.utl attempts to prepend the ../win/web/mount_nodefs.js source to the 'compiled' js output. This file contains the 'require' lines throwing the interpreter off. Additionally the unix/Makefile.utl attempts to invoke the generated js with the 'js' command, which after investigating, resolves to the mozilla js interpreter shipped w/ firefox (hence 'require' failing in this context). Is this the intended behaviour? Any suggestions as to why this would not compile? Thank you |
I dug into this a bit a little later and realized the 'js' command in the makefiles should actually be 'node' for the nodejs interpreter. After changes all the references from 'js' to 'node' in the sys/unix/Makefile* files (see patch below), and installing the 'byacc' and 'flex' packages for the necessary tools. I was able to get this to compile. Unfortunately bringing it up in the web browser doesn't not result in much, yes the page loads and the browser console say 'successfull compiled asm.js code' but the main play area is unresponsive. Looking at the emscripten code a bit, it seems the logic is pretty coupled to the "Kongregate" Web service. Is communication w/ Kongregate a hard requirement for this project? I would be great to be able to install this in a standalone manner, so that users could run their own browserhack servers.
|
Good morning! I'm running into an issue when attempting to compile BrowserHack from source on Linux, specifically Fedora 24.
I've installed the latest emscripten release from the sdk tgz available on the emscripten website.
After cloning this project, I had to edit the EMCC variable in build.sh to point to my emscripten installation. After that, attempting to run ./build.sh results in:
The text was updated successfully, but these errors were encountered: