GithubHelp home page GithubHelp logo

Dockerize-web broken about urho3d HOT 2 CLOSED

yiown avatar yiown commented on May 22, 2024
Dockerize-web broken

from urho3d.

Comments (2)

yiown avatar yiown commented on May 22, 2024

Ok so it was never compiling the WEB build. It turns out "scripts/dockerized.sh web rake build install" actually compiles dockerized-linux targets.

I made a clean "git clone" and used "scripts/dockerized.sh web bash" to start a clean build.
Using bash inside the docker web I tried "/scripts/cmake_emscripten.sh ." and didn't work because EMSCRIPTEN_ROOT_PATH is not defined anywhere.
I defined it to /emsdk-master and cmake_emscripten went through.
After that I used "rake new[UrhoApp,demo]" and it worked creating the example files.
Then I cd to demo/UrhoApp I tried "rake build" it failed because it tried to find dockerized-linux files.
So then I used "scrips/cmake_emscripten.sh ." it failed because URHO3D_HOME is not declared... so I declared it.
Then I ran "make -j8" and it worked !!! created the wasm and html files and I could see the small mushroom rotating.

To reenter the docker bash I had to go back to the Urho3d directory and docker web bash there and then:
$ cd demo/UrhoApp/
$ export EMSCRIPTEN_ROOT_PATH=/emsdk-master
$ export URHO3D_HOME=/home/yiown/Documents/Urho3D
$ ./script/cmake_clean.sh .
$ ./script/cmake_emscripten.sh .
$ make -j8
So I kinda leave that open ...

from urho3d.

1vanK avatar 1vanK commented on May 22, 2024

Docker images support will be removed, because they are obsolete and there is no one to support them

from urho3d.

Related Issues (20)

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.