On 7/10/2011 2:16 PM, Tobias Leich wrote:
I can build Alien::SDL, but too much tests are failing for SDL.
I tried a CPAN install but it failed because the
compiler could not produce a win32 binary. The
cygwin gcc used to support a -mno-cygwin option
but that has been removed. Now you need to either
use the cygwin gcc with its cygwin DLL dependencies
or you need to use the mingw compiler for native
win32 builds.
I'm sorry but I don't know further than that since
I've not come up to speed on the MinGW build stuff
yet. However, it should be possible to have SDL
build for the X11 environment on cygwin as a default.
That doesn't work at the moment (is there a way
to "force" it?).
My goal would be to use a cygwin SDL that supports
the native win32 OpenGL platform so I would imagine
that the mingw compiler approach would be preferrable
for performance. However, it would be nice if the
SDL on X11 worked out of the box as well---that
might be simpler to sort out: just use *real* unix
settings on cygwin instead of forcing win32.
There have been a couple of FAIL reports generated
for Alien::SDL by my attempts so far. The key for
cygwin support seems to be don't blindly check both
win32 and x11 buildability---you'll get "yes" for
both which usually messes up the builds. If you
allow a selection and then build appropriately
then things work and it is possible to provide
options for either (possibly even both but not
clear if that would be useful or helpful as a
use case).
Cheers,
Chris
-----Ursprüngliche Nachricht-----
Von: Kartik Thakore [mailto:[email protected]]
Gesendet: Sonntag, 10. Juli 2011 09:03
An: Tobias Leich
Cc: 'Chris Marshall'; 'sdl-devel'; 'chromatic'; 'Dmitry Karasik';
[email protected]
Betreff: Re: AW: Perl OpenGL Project
I believe it already works on cygwin no?
On Sat, 2011-07-09 at 15:48 +0200, Tobias Leich wrote:
I can help getting Alien::SDL and SDL to work on cygwin. I will post an
update in a few days.
Cheers,
FROGGS
-----Ursprüngliche Nachricht-----
Von: Chris Marshall [mailto:[email protected]]
Gesendet: Freitag, 8. Juli 2011 16:14
An: Kartik Thakore
Cc: sdl-devel; chromatic; Dmitry Karasik; [email protected]
Betreff: Re: Perl OpenGL Project
A quick SDL heads up: the Prima::OpenGL strawman implementation
is now working with POGL on cygwin using the native WGL OpenGL
drivers. For project goal #3 below, I'll be trying to get SDL installed
on cygwin so that I can try using it with POGL for the OpenGL drawing.
Anyone already using SDL + POGL on cygwin (with the Mesa+GLX
rendering)? Does SDL installation on cygwin use the X11+GLX
framework or the win32+WGL one---as in any bumps I can expect
ahead?
Thanks much,
Chris
On Sun, Jul 3, 2011 at 4:44 PM, Kartik Thakore<[email protected]>
wrote:
Hi Chris,
I am interested in helping out! Any bugs I can tackle I will take. I am
also hoping to look at using some of the P5NCI optimizations chromatic
was talking about but I will wait for a while and learn the code base so
far.
P.S. It would be appreciated if you CC'd the [email protected] list. We
have several ppl on that list that are interested in this project
Kartik
On Sun, 2011-07-03 at 14:25 -0400, chm wrote:
Announcing the new Perl OpenGL project site at
sourceforge.net. A read-only git access is at
git://pogl.git.sourceforge.net/gitroot/pogl/pogl
I plan on updating the plan going forward but
the immediate goals are:
(1) Continue work with Dmitry Karasik to resolve
win32 and cygwin build issues for his new
Prima::OpenGL module at
http://github.com/dk/Prima-OpenGL
(2) Refactor the perl API bindings to OpenGL
to use GLEW rather than rolling our own.
That should allow for an immediate bump
in OpenGL support to version 4.x.
(3) Refactor the GUI/system inteface in OpenGL
to be more platform *and* GUI toolkit
portable. The current FreeGLUT default is
very portable but abstracting the needed
interface should allow it to be provided
by *any* GUI library. This is already getting
started (surprisingly quickly) in #1.
(4) Replace platform OpenGL library detection
in the Makefile.PL by an Alien::OpenGL or
such approach. Maybe Alien::GLEW would be
better here.
(5) Move from EU::MM to Module::Build to reduce
platform specific shell and make issues.
If you are interested in participating, please
contact me via email or through the sf.net
project page links at
http://sourceforge.net/projects/pogl/develop
Thanks!
Chris
--
Kartik Thakore<[email protected]>