I find where was a problem - binding not working on emscripten from master
brunch. So I began to use --js-library to avoid binding.


2014-04-15 10:27 GMT+03:00 Roman Kravchenko <
[email protected]>:

> ./emcc --bind -o quick_example.js quick_example.cpp
>
>
> 2014-04-14 21:35 GMT+03:00 Chad Austin <[email protected]>:
>
> Can you show the command you used to build the program?
>>
>>
>> On Mon, Apr 14, 2014 at 9:45 AM, Roman Kravchenko <
>> [email protected]> wrote:
>>
>>> Hi.
>>>
>>> I have a little problem with running any test of calling Javascript
>>> function in C++ code with emscripten.
>>>
>>> I use emcc (Emscripten GCC-like replacement) 1.4.3 (commit
>>> 3e544dfc638ef88ad6c89576ad51aeed9747e56b)
>>>
>>> Copyright (C) 2013 the Emscripten authors (see AUTHORS.txt)
>>>
>>> and clang+llvm-3.2-x86_64-apple-darwin11.
>>>
>>> So with this I try to run first test from
>>> https://github.com/kripken/emscripten/wiki/embind .
>>>
>>> And have such errors:
>>>
>>>    1. Uncaught TypeError: Cannot read property 'print' of undefined
>>>    test.js:60
>>>
>>>
>>>    1. Uncaught TypeError: Cannot read property 'lerp' of undefined
>>>
>>>
>>>
>>> Have you any ideas, what happen and how to fix it, because not working
>>> any type of binding c++ to Javascript and conversely.
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>> Chad Austin
>> Technical Director, IMVU
>> http://engineering.imvu.com <http://www.imvu.com/members/Chad/>
>> http://chadaustin.me
>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "emscripten-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/emscripten-discuss/JxWoq-plXeI/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> 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