Code Monkey home page Code Monkey logo

Comments (7)

scottschafer avatar scottschafer commented on June 15, 2024

Fixed!

I replaced "MinGW Makefiles" with "Unix Makefiles" in Gruntfile.js, and it built!

from otucha.

scottschafer avatar scottschafer commented on June 15, 2024

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.

dpwolfe avatar dpwolfe commented on June 15, 2024

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.

dpwolfe avatar dpwolfe commented on June 15, 2024

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.

dpwolfe avatar dpwolfe commented on June 15, 2024

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.

dpwolfe avatar dpwolfe commented on June 15, 2024

@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.

dpwolfe avatar dpwolfe commented on June 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.