Hi Thibault,

Strange, I tried "brew install glfw3 “ but it does not work. 
Instead, I had to do "brew install homebrew/versions/glfw3”

When I try to compile your file:
-=-=-=-=-=-=-=-=-=
/tmp> cc demo.c -lglfw3 -framework OpenGL
demo.c:2:10: fatal error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
1 error generated.
-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre

> On Mar 25, 2016, at 6:37 AM, Thibault Raffaillac 
> <thibault.raffail...@inria.fr> wrote:
> 
>> Can you include a proper build script?
> 
> Yep sorry, here are the steps I used to make it run on OSX:
> $ brew install glfw3
> $ cc demo.c -lglfw3 -framework OpenGL
> 
> For other systems the doc is hopefully detailed enough 
> (http://www.glfw.org/docs/latest/build.html).
> 
>> Why do you say ?porting NBOpenGL?? Is it just a matter of rewriting the
>> native calls with the new FFI system?
> NBOpenGL functions were generated automatically from NBGLGenerator, so I need 
> to get used to the tool beforehand. It looks like a lot of work was put into 
> this, can I find a paper about it?
> Also, IMO this all looks too complex. My point in limiting to ES 2 is not 
> just removing functions, I want to make it look simple like the C demo!
> 
> Thibault
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to