[clutter] Problems with building under Windows.

2008-08-03 Thread Mykhailo Parfeniuk
Hi,

I just tried to build Clutter under Windows using MSYS. And I there were
compilation error because GLhandleARB and GLcharARB were not declared. To
correct this I changed cogl-defines-gl.h file by adding additional includes:

#include windows.h
#include GL/gl.h
#include GL/glext.h
#include GL/wglext.h

After this changes I have successfully compiled clutter and my test program.
Is this problem caused by incorrect configuration or may be this is a bug? I
would like to build clutter under windows without manually modifying code.
Best regards,
Mykhailo Parfeniuk.


Re: [clutter] Problems with building under Windows.

2008-08-03 Thread Neil Roberts
On Sun, 2008-08-03 at 16:54 +0300, Mykhailo Parfeniuk wrote:
 I just tried to build Clutter under Windows using MSYS. And I there
 were compilation error because GLhandleARB and GLcharARB were not
 declared.

The way I've been recommending to people to build the Windows backend is
to use the GL headers from Mesa instead of the ones provided by MinGW.
If you build using the mingw-cross-compile.sh script from the SVN repo
it will download and install these headers for you.

There is a description of compiling using MSyS and MinGW using that
approach here:

http://www.busydoingnothing.co.uk/blog/2008/07/13#ClutterWin32

- Neil


-- 
To unsubscribe send a mail to [EMAIL PROTECTED]