I'm not sure what error that is. That looks like Windows: did you install
the Emscripten SDK? I believe Jukka maintains the Emscripten.
I downloaded emscripten on my Ubuntu 13.10 machine, and after modifying
emscripten's shared.py to point at the LLVM 3.3 binaries, the following
program compiled.
#include <emscripten/bind.h>
using namespace emscripten;
void foo() {
}
EMSCRIPTEN_BINDINGS(test) {
function("foo", &foo);
}
with the following command:
em++ -Wall --bind -o main.js main.cpp
On Mon, Feb 17, 2014 at 5:18 PM, Mark Hahn <[email protected]> wrote:
> When I trying to compile my app with embind I'm getting this error ...
>
> 1> C:\github\jspaige\Source\js-bindings.cpp(9): includes this header:
> 1> C:\Program Files
> (x86)\Emscripten\emscripten\1.8.2\system\include\emscripten\bind.h(5):
> includes this header:
> 1> C:\Program Files
> (x86)\Emscripten\emscripten\1.8.2\system\include\libcxx\string(438):
> includes this header:
> 1> C:\Program Files
> (x86)\Emscripten\emscripten\1.8.2\system\include\libcxx\cwchar(107):
> includes this header:
> 1> C:\Program Files
> (x86)\Emscripten\emscripten\1.8.2\system\include\libcxx\cwctype(54):
> includes this header:
> 1>C:\Program Files
> (x86)\Emscripten\emscripten\1.8.2\system\include\libcxx\cctype(70,9): error
> : no member named 'isblank' in the global namespace
> 1> using ::isblank;
> 1>
>
> I have some old windows headers in my app and those caused troubles before
> with embind but only when I was declaring _WIN32, which I don't have any
> more. This isn't related to windows, is it?
>
> In any case I'm stuck on this problem right now and could use some help.
>
> --
> 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/groups/opt_out.
>
--
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 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/groups/opt_out.