Re: [Flightgear-devel] Sim Gear Debug build fails under Win32 (patch for RenderTexture.cpp included)

2009-07-13 Thread Geoff McLane
Hi Nic, Eric, Fred,

As Eric points out, it has been committed...

I had missed that this had been CVS committed -
will try to correct that - and thanks to Eric for 
actioning this some 10 days ago!

And thanks to Fred for fixing the GLX switch.

Yes, everything I did was supposed to only be
for unix/linux, but I MISSED wrapping that
debug stuff in an if _DEBUG, and NOT _WIN32,
and NOT __MAC__, as Fred has done - sorry.

The forward function declaration get_attr_name(),
at the top of the file, has not been likewise
wrapped, but since it is never called unless
_DEBUG && !_WIN32 && !__MAC__, assume
this will be ok...

Do an update, and it should compile in 
WIN32, and the MAC, without problems...

Regards,

Geoff.

On Sun, 2009-07-12 at 12:27 -0400, Nicolas Quijano wrote:
> Hi all, can't build in debug atm on Doze, as a recent change in
> simgear/screen/RenderTexture.cpp breaks non X11 builds because of non
> isolated GLX code. 
> The attributes code should have been wrapped (tsk tsk 8p)
> 
> This is a bandaid, as it does NOT implement the equivalent
> functionality on win32 (or non-x11 MacOS X builds)
> I've simply added an #ifndef _WIN32 bracket to the GLX code. Not
> having access to a Mac or PC running MacOS X, I didn't do anything to
> ensure it builds there. 
> 
> Thanks to whomever takes care of this, 
> Cheers, 
> Nic



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Sim Gear Debug build fails under Win32 (patch for RenderTexture.cpp included)

2009-07-13 Thread Erik Hofman
It's committed. Thanks.

Erik

Nicolas Quijano wrote:
> Hi all, can't build in debug atm on Doze, as a recent change in 
> simgear/screen/RenderTexture.cpp breaks non X11 builds because of non 
> isolated GLX code.
> The attributes code should have been wrapped (tsk tsk 8p)
> 
> This is a bandaid, as it does NOT implement the equivalent functionality 
> on win32 (or non-x11 MacOS X builds)
> I've simply added an #ifndef _WIN32 bracket to the GLX code. Not having 
> access to a Mac or PC running MacOS X, I didn't do anything to ensure it 
> builds there.
> 
> Thanks to whomever takes care of this,
> Cheers,
> Nic

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Sim Gear Debug build fails under Win32 (patch for RenderTexture.cpp included)

2009-07-12 Thread Nicolas Quijano
Hi all, can't build in debug atm on Doze, as a recent change in
simgear/screen/RenderTexture.cpp breaks non X11 builds because of non
isolated GLX code.
The attributes code should have been wrapped (tsk tsk 8p)

This is a bandaid, as it does NOT implement the equivalent functionality on
win32 (or non-x11 MacOS X builds)
I've simply added an #ifndef _WIN32 bracket to the GLX code. Not having
access to a Mac or PC running MacOS X, I didn't do anything to ensure it
builds there.

Thanks to whomever takes care of this,
Cheers,
Nic




-- 
Be Kind.
Remember, everyone is fighting a hard battle.


RenderTexture.cpp.patch
Description: Binary data
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel