hello , I tried to use embind following the first example of this tutorial 
"https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/embind.html";
 
, using the webassembly option for the compilation "emcc -o 
quick_example.html -s WASM=1" but i get the following output error when 
trying to open the html file in the browser: "
run() called, but dependencies remain, so not running  quick_ex.js:190:7
TypeError: Module.lerp is not a function[Learn More]  quick_ex.html:12:35
pre-main prep time: 104 ms

Does it mean that I missed a step in the compilation, or the binding ?

Thank you.

Le vendredi 4 novembre 2016 18:27:35 UTC+1, Alon Zakai a écrit :
>
> Yes, embind just needs the compiled code to be accessible and runnable. It 
> doesn't matter to it if that code is in asm.js or WebAssembly form.
>
> On Fri, Nov 4, 2016 at 4:00 AM, matthias <[email protected] 
> <javascript:>> wrote:
>
>> I have read some articles about Webassembly.
>> If I understand it right I can use emscripten to create webassembly. This 
>> is very nice, thank you.
>>
>> Is EMBIND also supported in this scenario? Can I use the exported EMBIND 
>> (Webassembly) classes from JavaScript?
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to