Comments (7)
Fixed!
I replaced "MinGW Makefiles" with "Unix Makefiles" in Gruntfile.js, and it built!
from otucha.
Unfortunately, that didn't solve the problem. I got it to build, but it would abort() early with errors indicating that objects were being cast into the wrong type. I don't think this is actually a problem in the code.
I next installed Ubuntu to a virtual machine, set it up per the instructions and hit the same wall.
Next up I will try Windows. I would really like to get the emscripten compilation working on Mac or Linux though.
from otucha.
Sorry for the delayed reply. I'd really like it to work as well. I am actually planning to return to continuing work in this project soon. I'm now on Windows 10 going through my own setup instructions, finding issues. I'll definitely ensure I'm working on Mac again as the whole point is to be cross-platform. That "MinGW Makefiles" bit in the gruntfile is an ugly part that I did not expect to continue to work correctly in Linux, but it had been working in the past for me on Mac and in Linux via Travis-CI, which might provide some insight into why it works. I think Travis-CI may have Mac machines generally available, so I'll also work to enable that next as well.
from otucha.
I flattened my MacBook Air with a new install of Yosemite and just got my dev environment set back up. Getting close to working on this.
from otucha.
As I'm installing and waiting for clang to compile I realized that the version of Emscripten may have been critically important. I believe I was using 1.27 at the time, but I'm not going to bother installing that old version. I'll just use latest now and see what breaks.
from otucha.
@scottschafer: I definitely needed your fix to use "Unix Makefiles" and will only use "MinGW Makefiles" on Windows now. I'm not sure why that ever worked on Mac, but maybe the generator used to come with the Mac CMake install anyway. It's working again, using all the latest versions of the dependencies. I made a lot of updates to the instructions as I stepped through them. It could be something that a later version of Emscripten fixed as I only grabbed latest, using 1.35.4, and it is working well. I've added version numbers to the README.
from otucha.
@scottschafer: Also, based on errors I saw a long the way, I did see exactly the errors you were running into. Confused, I went back to the Emscripten instructions and found a missing step. I added a suggestion to create an initem
alias, that will call the Emscripten emsdk_env.sh to setup the shell with paths that Emscripten requires. Run that before running grunt build:js
. It changes what clang and node version you are pointing to, so I'd suggest only running it in a bash prompt used just for compiling Emscripten. If you setup paths a different way, you may be pointing to versions that are incompatible with Emscripten, getting various strange compiler and link errors. Thanks again and let me know if you run into any more issues.
from otucha.
Related Issues (11)
- Redo rebase to restore dates of earlier changes.
- Remove embedded font file
- package.json missing dependencies HOT 1
- Minor documentation issue HOT 2
- Changes to shaders not propogated without a rebuild
- Add Google C++ Mocking Framework to test build HOT 2
- Add C-mock extension HOT 1
- Render console with input display
- Create an index.html HOT 1
- Re-enable deploy with build distribution.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otucha.