[osg-users] 144 errors in gl.h

2008-07-02 Thread Zamo Cédrik
Hi, I tried ths tutorial from : http://osghelp.com/readarticle.php?article_id=6 everythings is ok, but now I try to create my own class to manage scene ressources and visual studio dislike this. It seems that I've not linked everithings correctly. here is my main.cpp :

[osg-users] 144 errors in gl.h (resend with clean text)

2008-07-02 Thread Zamo Cédrik
Hi,   I tried this tutorial :   http://osghelp.com/readarticle.php?article_id=6   everythings is ok, but now I try to create my own class to manage scene ressources and visual studio dislike this. It seems that I've not linked everythings correctly.   here is my MAIN.CPP:

Re: [osg-users] 144 errors in gl.h (resend with clean text)

2008-07-02 Thread Vincent Bourdier
Hi, I don't know for the compilation errors, but new osg::Camera;// execute main loop will not do anything... try viewer.run() ... Vincent. Le 2 juillet 2008 12:25, Zamo Cédrik [EMAIL PROTECTED] a écrit : Hi, I tried this tutorial : http://osghelp.com/readarticle.php?article_id=6

Re: [osg-users] 144 errors in gl.h (resend with clean text)

2008-07-02 Thread Sebastian Messerschmidt
As far as I remember I had this error, too. It was somehow related to the windows.h. Try to include it later. hth Sebastian Hi, I don't know for the compilation errors, but new osg::Camera;// execute main loop will not do anything... try viewer.run() ... Vincent. Le 2 juillet 2008 12:25,

Re: [osg-users] 144 errors in gl.h (resend with clean text)

2008-07-02 Thread Jean-Sébastien Guay
Bonjour Cédrik, everythings is ok, but now I try to create my own class to manage scene ressources and visual studio dislike this. It seems that I've not linked everythings correctly. You need to add WIN32 to the defines in your project. In Visual Studio, right-click on your project, go to