PS: in general you don't need to explicitely tell emcc search paths to standard system headers (libc, libcxx, GL, etc...), it should find the right headers on its own.
Am Samstag, 5. April 2014 20:00:58 UTC+2 schrieb Floh: > > With -I/usr/include you're telling emscripten to use your host system's > headers, and not emscripten's cross-compiling headers. That's one obvious > reason why compilation will fail. The specific error shows that > /usr/include/wchar.h is included, which is definitely wrong (it should be > something like /home/erasme/Sources/emscripten/system/include/libc/wchar.h. > > I haven't tried to compile ogre, but first I'd try to remove any header > search paths which point to /usr/include, and use a local Ogre source > directory, instead of having the Ogre headers under /usr/include (because > that sounds like this is some sort of precompiled Ogre SDK which has > headers under /usr/include, and native code libs under /usr/libs). > > Also, maybe there's information in the Ogre SDK how to generally tackle > cross-compilation, e.g. to iOS or Android, compiling to emscripten would be > a very similar scenario. > > Cheers, > -Floh. > > Am Samstag, 5. April 2014 03:07:38 UTC+2 schrieb Erasme Beck: >> >> No one knows? >> > -- 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.
