On 1/20/2017 1:59 AM, Emil Dotchevski wrote:
Is this the right syntax? With
using emscripten : : "C:\Program Files\Emscripten\emscripten\1.35.0\emcc.bat"
Try: using emscripten : : "C:/Program Files/Emscripten/emscripten/1.35.0/emcc.bat" ;
I get
1> 'C:Program' is not recognized as an internal or external command, 1> operable program or batch file. 1> <snip>/boost-build/src/build\property.jam:743: in class@property-map.find from module object(property-map)@26 1>EXEC : error : Ambiguous key <more errors>
As for static/shared linking, I'm not at all an expert on emscripten but I read that there is (experimental?) shared lib support, see https://github.com/kripken/emscripten/wiki/Linking. That said, I am not trying to use dynamic linking.
Emil
On Wed, Jan 18, 2017 at 7:12 AM, Rene Rivera
wrote: On Wed, Jan 18, 2017 at 12:42 AM, Emil Dotchevski < emildotchevski@gmail.com> wrote:
I see that there is now emscripten support in boost build but it doesn't seem to work for me. After installing emscripten on Windows, adding
using emscripten ;
in my site-config.jam, then running b2 from the emscripten command prompt, I get the output below. Any help greatly appreciated!
* I've only used and tested the emscripten toolset on MacOS. * You might want to specify the path to emcc "using emscripten : : /path/to/emcc ;". As I haven't tested it any other way :-) * There is no support for building shared libs. As I haven't found a way to do those yet (pointer appreciated though). * What b2 command are you running. Ie is it something I can attempt to reproduce?
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail