Yes this seems like a really simple and stupid question, bear with me.

The documentation 
https://emscripten.org/docs/porting/connecting_cpp_and_javascript/WebIDL-Binder.html
 
<https://emscripten.org/docs/porting/connecting_cpp_and_javascript/WebIDL-Binder.html>
 just has a link to the source for the binder in the Emscripten GitHub repo. It 
says nothing about how you actually use it. Typing `webidl_binder.py` even 
prefixed with `python` gets a not found error. A `find` in my emsdk root 
reveals the tool is in upstream/emscripten/tools. The emsdk installer did not 
add the directory to $PATH from which it seems you aren’t meant to run it 
directly. However I can’t find any options in emcc to run the binder and it 
proclaims ignorance of the `.idl` extension if I just pass the file to it.

So, am I supposed to add  `upstream/emscripten/tools` to my $PATH or is there 
another way I’m supposed to run it. If the former, why doesn’t emsdk add this 
directory to $PATH?

Regards

    -Mark

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/E49E2DDE-F63D-47F1-A8B5-9F65756D43FB%40callow.im.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to