Can you post the compiler output? And/or make a small complete test case we
could try out? In any case, I see that the shaders are from desktop GL
3.0+, which is the new syntax that GLES2 and WebGL do not support. When you
get it compiling, you'll need to remove the #version and convert the in/out
to attribute/varying etc.


2014-02-27 20:12 GMT+02:00 Alon Zakai <[email protected]>:

> What is glm/glm.hpp that it gives the error on?
>
>   a.cpp:6:10: fatal error: 'glm/glm.hpp' file not found
>   #include <glm/glm.hpp>
>            ^
>   1 error generated.
>
> Do you get a different error?
>
> - Alon
>
>
>
> On Thu, Feb 27, 2014 at 8:22 AM, Sasha Fonseca <[email protected]> wrote:
>
>> This file compile properly with g++, but not with emscripten. I tried
>> playing around with the includes and these are the same includes as in the
>> hello_world_gles.c test file that comes with emscripten. I believe it uses
>> the same functions, but emscripten says it can't find them.
>>
>> Thanks
>>
>> --
>> 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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to