Re: [Flightgear-devel] MingW, GUI, and build errors

2004-05-12 Thread Andy Ross
Giles Robertson wrote: Just got an error on the following compile: In file included from C:/msys/1.0/fg/include/plib/pu.h:2140, from layout-props.cxx:1: C:/msys/1.0/fg/include/plib/puGLUT.h:36:22: GL/glut.h: No such file or directory My fault; I Forgot to test the build on a

Re: [Flightgear-devel] MinGW/cross-compiler writeup

2004-04-30 Thread Andy Ross
Gunnstein Lye wrote: Thanks for the info. Do you really have to build separate binaries of gcc for each target? I thought I could use the same binary for linux (native) and windows (crosscompiling). Not to my knowledge. The code generation is more or less identical, but some of the symbol

RE: [Flightgear-devel] MinGW/cross-compiler writeup

2004-04-30 Thread Norman Vine
Andy Ross writes: Gunnstein Lye wrote: Thanks for the info. Do you really have to build separate binaries of gcc for each target? I thought I could use the same binary for linux (native) and windows (crosscompiling). Not to my knowledge. The code generation is more or less identical,

Re: [Flightgear-devel] MinGW/cross-compiler writeup

2004-04-30 Thread Andy Ross
Norman Vine wrote: Andy Ross wrote: You *can* do this with cygwin [...] The compiler supports a -mno-cygwin flag Unfortunately it turns out that cygwin doesn't install these tools under the conventional platform-program names (e.g. mingw32-gcc) To invoke the the MingW version of the

Re: [Flightgear-devel] MinGW/cross-compiler writeup

2004-04-30 Thread David Luff
Andy Ross writes: Norman Vine wrote: Andy Ross wrote: You *can* do this with cygwin [...] The compiler supports a -mno-cygwin flag Unfortunately it turns out that cygwin doesn't install these tools under the conventional platform-program names (e.g. mingw32-gcc) To invoke

RE: [Flightgear-devel] MinGW/cross-compiler writeup

2004-04-30 Thread Norman Vine
Andy Ross writes: Norman Vine wrote: Andy Ross wrote: You *can* do this with cygwin [...] The compiler supports a -mno-cygwin flag Unfortunately it turns out that cygwin doesn't install these tools under the conventional platform-program names (e.g. mingw32-gcc) To invoke

[Flightgear-devel] mingw, sdl, openal (Andy goes to windows)

2004-04-29 Thread Andy Ross
I actually got interested in all this windows stuff yesterday (no, I can't explain why), and played around with getting it built. Here's the proof: http://plausible.org/andy/fgfs-mingw.zip [2.3 MB] It's a MinGW* build, using SDL and OpenAL. It works, with sound and video mode switching.

RE: [Flightgear-devel] mingw, sdl, openal (Andy goes to windows)

2004-04-29 Thread Norman Vine
Andy Ross writes: I actually got interested in all this windows stuff yesterday (no, I can't explain why), and played around with getting it built. Here's the proof: http://plausible.org/andy/fgfs-mingw.zip [2.3 MB] Cool + There is no Win32 implementation of the simgear/threads

Re: [Flightgear-devel] mingw, sdl, openal (Andy goes to windows)

2004-04-29 Thread Frederic Bouvier
Norman Vine wrote: Andy Ross writes: + There is no Win32 implementation of the simgear/threads stuff, so MinGW (and MSVC) builds cannot use threads. see Open Source POSIX Threads for Win32 http://sources.redhat.com/pthreads-win32/ This works fine with MingW or MSVC and

[Flightgear-devel] MinGW/cross-compiler writeup

2004-04-29 Thread Andy Ross
OK, I think I've got the kinks worked out of the MinGW work, and have written up a little README (attached) describing how the process works. Thanks to Norman and Frederic for the pointer to the pthread library. The required changes are in CVS now, and the process has been tested at least on my

[Flightgear-devel] MingW and FlightGear

2004-04-12 Thread Jon S Berndt
Can anyone tell me if FlightGear has been successfully compiled and linked using mingw? Jon ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

RE: [Flightgear-devel] MingW and FlightGear

2004-04-12 Thread Norman Vine
Jon S Berndt writes: Can anyone tell me if FlightGear has been successfully compiled and linked using mingw? Before Fred started providing MSVC compiled executables IIRC the the only Win32 executables ever available for download from flightgear.org were MingW compiled. What problems are you

Re: [Flightgear-devel] MingW and FlightGear

2004-04-12 Thread Jon S Berndt
On Mon, 12 Apr 2004 11:45:48 -0400 Norman Vine [EMAIL PROTECTED] wrote: Before Fred started providing MSVC compiled executables IIRC the the only Win32 executables ever available for download from flightgear.org were MingW compiled. What problems are you experiencing ? Norman Nothing really. I

Re: [Flightgear-devel] Mingw

2004-04-08 Thread Jon S Berndt
On Thu, 08 Apr 2004 10:14:57 -0500 Jon S Berndt [EMAIL PROTECTED] wrote: How does one get g++ under CygWin to use the mingw includes and libraries instead of the nominally supplied ones (which, I think, require the cygwin dll to execute). Jon

[Flightgear-devel] Mingw

2004-04-08 Thread Jon S Berndt
How does one get g++ under CygWin to use the mingw includes and libraries instead of the nominally supplied ones (which, I think, require the cygwin dll to execute). Jon ___ Flightgear-devel mailing list [EMAIL PROTECTED]

Re: [Flightgear-devel] Mingw

2004-04-08 Thread David Luff
On 4/8/04 at 10:14 AM Jon S Berndt wrote: How does one get g++ under CygWin to use the mingw includes and libraries instead of the nominally supplied ones (which, I think, require the cygwin dll to execute). I *think* that you just include the -mno-cygwin flag during compilation. eg g++

Re: [Flightgear-devel] Mingw

2004-04-08 Thread Jon S Berndt
On Thu, 08 Apr 2004 16:26:08 +0100 David Luff [EMAIL PROTECTED] wrote: On 4/8/04 at 10:14 AM Jon S Berndt wrote: How does one get g++ under CygWin to use the mingw includes and libraries instead of the nominally supplied ones (which, I think, require the cygwin dll to execute). I *think*

Re: [Flightgear-devel] Mingw

2004-04-08 Thread Frederic Bouvier
Jon S Berndt wrote: On Thu, 08 Apr 2004 16:26:08 +0100 David Luff [EMAIL PROTECTED] wrote: On 4/8/04 at 10:14 AM Jon S Berndt wrote: How does one get g++ under CygWin to use the mingw includes and libraries instead of the nominally supplied ones (which, I think, require the cygwin

Re: [Flightgear-devel] Mingw

2004-04-08 Thread Jon S Berndt
On Thu, 8 Apr 2004 19:27:50 +0200 Frederic Bouvier [EMAIL PROTECTED] wrote: I guess that you should link with -lwsock32 ( or -lws2_32 if it isn't working ) -Fred That fixed it, thanks. Jon ___ Flightgear-devel mailing list [EMAIL PROTECTED]

RE: [Flightgear-devel] MingW 0.92

2003-06-11 Thread Norman Vine
Frederic Bouvier writes: Norman Vine wrote : [snip] continues to spew Stopping audio after 0 sec: squeal Stopping audio after 0 sec: rumble Anybody got any ideas ?? It happens to me with MSVC when I link the MS runtime statically. The sound works (I can hear something) when

Re: [Flightgear-devel] MingW 0.92

2003-06-11 Thread Frederic Bouvier
I wrote: Norman Vine wrote : [snip] continues to spew Stopping audio after 0 sec: squeal Stopping audio after 0 sec: rumble Anybody got any ideas ?? It happens to me with MSVC when I link the MS runtime statically. The sound works (I can hear something) when the MS runtime is

Re: [Flightgear-devel] MingW 0.92

2003-06-10 Thread Frederic Bouvier
Norman Vine wrote : [snip] continues to spew Stopping audio after 0 sec: squeal Stopping audio after 0 sec: rumble Anybody got any ideas ?? It happens to me with MSVC when I link the MS runtime statically. The sound works (I can hear something) when the MS runtime is linked dynamically. I

Re: [Flightgear-devel] MingW 0.92

2003-06-08 Thread Erik Hofman
Norman Vine wrote: Hi All Here are some changes that allow FGFS to compile with MingW32 Okay they are in. I don't know whether removing the winbase.h check from configure will hit any other compiler, but there doesn't seem any check for it in the source. Erik

RE: [Flightgear-devel] MingW 0.92

2003-06-08 Thread Norman Vine
Erik Hofman writes: Norman Vine wrote: Hi All Here are some changes that allow FGFS to compile with MingW32 Okay they are in. I don't know whether removing the winbase.h check from configure will hit any other compiler, but there doesn't seem any check for it in the source. Thank you

[Flightgear-devel] MingW 0.92

2003-06-07 Thread Norman Vine
Hi All Here are some changes that allow FGFS to compile with MingW32 I have temporarily placed a Windows 0.9.2 fgfs executable bundled with the necessary pthreads.dll and a gui/menubar.xml that allows toggling in and out of GameMode @ http://www.vso.cape.com/~nhv/files/fgfs/ Note: The AutoPilot