Skip to content
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

No setup/usage instruction for Windows User #63

Open
MahbbRah opened this issue Jan 28, 2020 · 6 comments
Open

No setup/usage instruction for Windows User #63

MahbbRah opened this issue Jan 28, 2020 · 6 comments

Comments

@MahbbRah
Copy link

MahbbRah commented Jan 28, 2020

  • Problematic Docker Image:

Please state what is missing: Need guide to run this on windows based system

I'm hitting to command and it's looks like invalid for windows.
``$ docker run \

--rm
-v $(pwd):$(pwd)
-u $(id -u):$(id -g)
trzeci/emscripten
emcc helloworld.cpp -o helloworld.js;``

image

How can we re-format for windows?

@MahbbRah MahbbRah changed the title No Usage instruction for Windows User No setup/usage instruction for Windows User Jan 28, 2020
@trzecieu
Copy link
Owner

Hej, it's needed to make it one line by removing trailing \.
Thank you for letting know. Will update once I have access to PC.
Cheers and please let know if this worked

@MahbbRah
Copy link
Author

No, it doesn't and I think that is the issue.

@trzecieu
Copy link
Owner

You use cygwin as I can see, docker runs in windows scope, hence you have to translate path (shlashes).

@MahbbRah
Copy link
Author

MahbbRah commented Jan 29, 2020

Back then I did translate the path but still it was not completed but kinda like working
-v //g/personal_projects/test_web_asm:/home/
from -v $(pwd):$(pwd) and also by removing -u $(id -u):$(id -g) and emcc helloworld.cpp -o helloworld.js; it was working and then i had to apply emcc helloworld.cpp -o helloworld.js; this command manually by going to project folder.
docker run -it -v //g/personal_projects/test_web_asm:/home/project trzeci/emscripten /bin/bash

and yes git bash kinda like don't work with docker commands. so I had to use powershell.

@MahbbRah
Copy link
Author

MahbbRah commented Jan 29, 2020

I followed this guide

@MahbbRah
Copy link
Author

I'm having issue with compiling this library to wasm,

can't i compile it?
https://github.com/webmproject/libwebm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants