Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-21 Thread Ralf Gerlich

Hi,

was this resolved somehow? I'm trying to get current 
FlightGear+TerraGear compiled on pure Cygwin (no -mno-cygwin) and get 
the same problem on compiling SimGear.


I have installed opengl and freeglut and I don't find the WGL_... 
symbols anywhere except for simgear/screen/extensions.hxx, where it only 
is defined if GL_ARB_multisample is not defined.


GL/glxext.h defines GL_ARB_multisample and seems to be included 
indirectly over some levels from GL/gl.h


I applied a quick fix, removing the WGL_... #defines in extensions.hxx 
from the surrounding #ifdef and now SimGear compiles, but I didn't yet 
get to running FlightGear.


BTW @Norman: What version of OpenAL did you use for preparing the 
OpenAL-binaries for Cygwin to be found on your site? Did you apply any 
patches to that?


Best regards,
Ralf

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-21 Thread Georg Vollnhals

Ralf Gerlich schrieb:


Hi,

was this resolved somehow?


Hi Ralf,
the discussion caused some changes in the CVS files, the last change was 
due to the HUGE error (HUGE - HUGE_VAL).
After that at least Ima and me had no problems compiling SimGear and FG 
cvs with *gcc 3.3.3* !!!
David Luff gave some hints how to change some files to be able to 
compile FG with *gcc 3.4.4* and Ima Sudonim made a CVS diff already 
after realizing these changes and compiling all the stuff succesfully 
with gcc 3.4.4.

It is now up to Erik Hofman to put these changes into the actual FG CVS. :-)
Your chances are not bad to compile succesfully within the next time!
Regards
Georg

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-02 Thread David Luff


On 02/10/2005 at 04:21 Georg Vollnhals wrote:

Hi Dave,
I installed *all* Cygwin stuff after I got the first errors some time 
ago because I did not really know what I need.
I reinstalled it all now before trying again
   Graphics (one of many entries, but this should it be)
   2.2.0-1 169k freeglut: OpenSourced alternative to the OpenGL Utility  
Toolkit (GLUT) library
but the error did not change afterwards.
Regards
Georg


Scroll down further in the graphics section - you'll find opengl:
OpenGL-related libraries, should be version 1.1.0-6.  Make sure you've
checked this, and it's possible you might need to install source for both
it and freeglut.  (There are separate bin and src check boxes - make sure
you've checked the src one for opengl).

Cheers - Dave



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-02 Thread Sergio

Richard Harke a écrit :


freeglut is an alternative to glut, not to OpenGL
mesa is an alternative to OpenGL but it does not have the performance
required for FG 

Interessant : in this case, is there a way to get a better OpenGL as 
this from Mesa ?


I'm very interesting, and i explain me : on Solaris 10x86, 
pkg-downloading FlightGear (whole project, Plib, Simgear, base) we get 
automatically also Mesa, because Solaris 10 itself have no OpenGL. And, 
you are right, Mesa is not sufficient to run acceptably FlightGear.


If a true OpenGL is somewhere available, maybe it can very help !

Cheers,

Sergio




___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Erik Hofman

Georg Vollnhals wrote:


lowlevel.cxx: In function `void sgReadFloat(void*, float*)':
lowlevel.cxx:62: Fehler: Ungultige Umformung von unsigned int* in 
 uint32_t*
lowlevel.cxx:62: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert


Fixed, what's next?
:-)

Erik


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Georg Vollnhals

Erik Hofman schrieb:


...
Fixed, what's next?
:-)

Erik


Hi Erik,
it was obviously not difficult for you to assume that I have to ask you 
again and again ..
It is strange, it seems for me that these make-errors are due to errors 
in code - if so, why
do *I* get the problems with make and not all other who compile the CVS 
stuff?

Anyway, another request for help, please!

NOW IT IS RenderTexter.cpp
Sorry for the German warnings and error codes but I don't know how to 
switch them to English.

If I remember right, you told me that you can read German :-)
Otherwise I would try to translate, please tell me!

RenderTexture.cpp:40: Warnung: ignoriere #pragma warning
RenderTexture.cpp:66: Warnung: ignoriere #pragma comment
RenderTexture.cpp: In member function `bool 
RenderTexture::BeginCapture(RenderTexture*)':
RenderTexture.cpp:909: Warnung: Variable bContextReset wird nicht 
verwendet
RenderTexture.cpp: In member function `void 
RenderTexture::_ParseModeString(const char*, std::vectorint, 
std::allocatorint , std::vectorint, std::allocatorint )':
RenderTexture.cpp:1295: Fehler: WGL_SAMPLE_BUFFERS_ARB nicht 
deklariert (erste Verwendung dieser Funktion)
RenderTexture.cpp:1295: Fehler: (Jeder nicht deklarierte Bezeichner wird 
nur einmal fur jede Funktion, in der er vorkommt, gemeldet.)
RenderTexture.cpp:1297: Fehler: WGL_SAMPLES_ARB nicht deklariert 
(erste Verwendung dieser Funktion)
../../simgear/screen/RenderTexture.h: In constructor 
`RenderTexture::RenderTexture(int, int, bool, bool)':
../../simgear/screen/RenderTexture.h:334: Warnung: 
RenderTexture::_bDoubleBuffered wird initialisiert nach
../../simgear/screen/RenderTexture.h:333: Warnung:   bool 
RenderTexture::_bFloat

RenderTexture.cpp:2233: Warnung:   wahrend es hier initialisiert wurde
make[3]: *** [RenderTexture.o] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all] Fehler 2
make: *** [all-recursive] Fehler 1


Regards
Georg

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread AJ MacLeod
On Saturday 01 October 2005 17:29, Georg Vollnhals wrote:
 It is strange, it seems for me that these make-errors are due to errors
 in code - if so, why
 do *I* get the problems with make and not all other who compile the CVS
 stuff?

The errors you've found so far were all experienced by others too, don't feel 
like you're being picked on :-)  In fact, I was about to reply to your last 
email with the necessary fixes, when Erik committed them...

As to your latest errors... all I can say (knowing very little German) is that 
if it's any encouragement I have checked out and successfully built today's 
CVS SG and FG under cygwin, using GCC-3.3(.3 IIRC).  I suppose you've already 
done a make clean in the SG tree before trying again to build it?

If you do make it past this stage, I give you warning that the FlightGear 
build will probably fail in the GPSsmooth part of Utils - I just removed the 
utils directory from the makefile as a temporary work-around since I didn't 
want anything in that directory anyway.  The error was in MIDG-II.cxx, but I 
don't have access to that machine now to post it; I can do so another day if 
required.

Keep at it, you'll get there eventually!

Cheers,

AJ

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Georg Vollnhals

AJ MacLeod schrieb:


...

Keep at it, you'll get there eventually!

Cheers,

AJ
 


Hi AJ,
thank you for your encouragement and explanations. I'll try to remember 
your hint for the time I'll get to FlightGear CVS.
I am very motivated to get a working CVS FlightGear version and as far 
as anyone is willing to assist me on the way I won't give up now. Though 
I am reading a lot  this config-make-stuff is quite another world for 
someone who coded a lot with Pascal/Delphi.
I think I need pretty much time and practice until I will be grown up 
and can help myself, at least with normal procedures.

Until then I have to ask a lot :-(
Cheers
Georg

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Vassilii Khachaturov
 Sorry for the German warnings and error codes but I don't know how to
 switch them to English.
 If I remember right, you told me that you can read German :-)
 Otherwise I would try to translate, please tell me!

[snip]
You can do:
$ LANG=C
$ export LANG
from your shell, and thereafter in the same shell prompt
all the programs, including make and gcc, will speak English.

V.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Georg Vollnhals

Vassilii Khachaturov schrieb:


Sorry for the German warnings and error codes but I don't know how to
switch them to English.
If I remember right, you told me that you can read German :-)
Otherwise I would try to translate, please tell me!
   



[snip]
You can do:
$ LANG=C
$ export LANG
from your shell, and thereafter in the same shell prompt
all the programs, including make and gcc, will speak English.

V.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

 


Thank you, Vassilii!
This helps very much to communicate in such an international community!
The error message in English is:

RenderTexture.cpp:40: warning: ignoring #pragma warning
RenderTexture.cpp:66: warning: ignoring #pragma comment
RenderTexture.cpp: In member function `bool 
RenderTexture::BeginCapture(RenderTexture*)':

RenderTexture.cpp:909: warning: unused variable 'bContextReset'
RenderTexture.cpp: In member function `void 
RenderTexture::_ParseModeString(const char*, std::vectorint, 
std::allocatorint , std::vectorint, std::allocatorint )':
RenderTexture.cpp:1295: error: `WGL_SAMPLE_BUFFERS_ARB' undeclared 
(first use this function)
RenderTexture.cpp:1295: error: (Each undeclared identifier is reported 
only once for each function it appears in.)
RenderTexture.cpp:1297: error: `WGL_SAMPLES_ARB' undeclared (first use 
this function)
../../simgear/screen/RenderTexture.h: In constructor 
`RenderTexture::RenderTexture(int, int, bool, bool)':
../../simgear/screen/RenderTexture.h:334: warning: 
`RenderTexture::_bDoubleBuffered' will be initialized after
../../simgear/screen/RenderTexture.h:333: warning:   `bool 
RenderTexture::_bFloat'

RenderTexture.cpp:2233: warning:   when initialized here
make[3]: *** [RenderTexture.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


Regards
Georg

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread David Luff
Georg Vollnhals writes:

 
 RenderTexture.cpp:40: warning: ignoring #pragma warning
 RenderTexture.cpp:66: warning: ignoring #pragma comment
 RenderTexture.cpp: In member function `bool 
 RenderTexture::BeginCapture(RenderTexture*)':
 RenderTexture.cpp:909: warning: unused variable 'bContextReset'
 RenderTexture.cpp: In member function `void 
 RenderTexture::_ParseModeString(const char*, std::vectorint, 
 std::allocatorint , std::vectorint, std::allocatorint )':
 RenderTexture.cpp:1295: error: `WGL_SAMPLE_BUFFERS_ARB' undeclared 
 (first use this function)
 RenderTexture.cpp:1295: error: (Each undeclared identifier is reported 
 only once for each function it appears in.)
 RenderTexture.cpp:1297: error: `WGL_SAMPLES_ARB' undeclared (first use 
 this function)
 ../../simgear/screen/RenderTexture.h: In constructor 
 `RenderTexture::RenderTexture(int, int, bool, bool)':
 ../../simgear/screen/RenderTexture.h:334: warning: 
 `RenderTexture::_bDoubleBuffered' will be initialized after
 ../../simgear/screen/RenderTexture.h:333: warning:   `bool 
 RenderTexture::_bFloat'
 RenderTexture.cpp:2233: warning:   when initialized here
 make[3]: *** [RenderTexture.o] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1
  

Are you sure you installed openGL support when you installed Cygwin?  It's not 
installed by default, but is definately needed.  I think it's hidden away in 
the graphics section.

Cheers - Dave

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Georg Vollnhals

Hi Dave,
I installed *all* Cygwin stuff after I got the first errors some time 
ago because I did not really know what I need.

I reinstalled it all now before trying again
  Graphics (one of many entries, but this should it be)
  2.2.0-1 169k freeglut: OpenSourced alternative to the OpenGL Utility  
Toolkit (GLUT) library

but the error did not change afterwards.
Regards
Georg


Are you sure you installed openGL support when you installed Cygwin?  It's not 
installed by default, but is definately needed.  I think it's hidden away in 
the graphics section.

Cheers - Dave

 



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-10-01 Thread Richard Harke
freeglut is an alternative to glut, not to OpenGL
mesa is an alternative to OpenGL but it does not have the performance
required for FG Normally you need to get 3D accelerated drivers
from the vendor of your video card, Nvidia or ATI, for example.
But I have no idea how to install them under Cygwin


On Sat October 1 2005 19:21, Georg Vollnhals wrote:
 Hi Dave,
 I installed *all* Cygwin stuff after I got the first errors some time
 ago because I did not really know what I need.
 I reinstalled it all now before trying again
Graphics (one of many entries, but this should it be)
2.2.0-1 169k freeglut: OpenSourced alternative to the OpenGL Utility
 Toolkit (GLUT) library
 but the error did not change afterwards.
 Regards
 Georg

 Are you sure you installed openGL support when you installed Cygwin?  It's
  not installed by default, but is definately needed.  I think it's hidden
  away in the graphics section.
 
 Cheers - Dave

 ___
 Flightgear-devel mailing list
 Flightgear-devel@flightgear.org
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Never ending story: Building SimGear CVS under Cygwin

2005-09-30 Thread Georg Vollnhals

Hi Vivian, hi Erik, hi all!

Vivian:
Thank you very much, one step further to SimGear (and to a FlightGear 
CVS version !!!):
1. After you hint I could now activate cut and paste as it is not 
active by default.

   I made a little Google search and could solve it :-)
2. I put your bash_profile vars into [cygwin/home/Georg/.bash_profile] 
(seems to be my special user profile) and it works very well.

  The epheremis-error disappeared

BUT THE NEXT PROBLEM OCCURED IMMEATELY:

Erik:

//THIS SEEMS TO BE QUITE A SIMILAR ERROR AS I HAD IT ALREADY
//IN SWAP_TEST_CPP
//AND ERIK HOFMANN FIXED IT (thank you Erik :-) )
//(swap_test.cpp:12: error: not valid conversion of unsigned int* to 
uint32_t*
//swap_test.cpp:12: Fehler: Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert
//(swap_test.cpp:12: error: argument 1 of void 
sgEndianSwap(uint32_t*) gets initialised)


//HERE THE NEW ERRORS IN LOWLEVEL.CXX
lowlevel.cxx: In function `void sgReadFloat(void*, float*)':
lowlevel.cxx:62: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:62: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgWriteFloat(void*, float)':
lowlevel.cxx:70: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:70: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgReadUInt(void*, unsigned int*)':
lowlevel.cxx:106: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:106: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgWriteUInt(void*, unsigned int)':
lowlevel.cxx:114: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:114: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgReadInt(void*, int*)':
lowlevel.cxx:130: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:130: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgWriteInt(void*, int)':
lowlevel.cxx:138: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:138: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgReadLong(void*, int32_t*)':
lowlevel.cxx:152: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:152: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgWriteLong(void*, int32_t)':
lowlevel.cxx:160: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:160: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgReadFloat(void*, unsigned int, float*)':
lowlevel.cxx:247: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:247: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert
lowlevel.cxx: In function `void sgWriteFloat(void*, unsigned int, const 
float*)':
lowlevel.cxx:260: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:260: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert
lowlevel.cxx: In function `void sgReadUInt(void*, unsigned int, unsigned 
int*)':
lowlevel.cxx:397: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:397: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert
lowlevel.cxx: In function `void sgWriteUInt(void*, unsigned int, const 
unsigned int*)':
lowlevel.cxx:410: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:410: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

lowlevel.cxx: In function `void sgReadInt(void*, unsigned int, int*)':
lowlevel.cxx:432: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:432: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert
lowlevel.cxx: In function `void sgWriteInt(void*, unsigned int, const 
int*)':
lowlevel.cxx:445: Fehler: Ungultige Umformung von unsigned int* in 
uint32_t*
lowlevel.cxx:445: Fehler:   Argument 1 von void 
sgEndianSwap(uint32_t*) wird initialisiert

make[3]: *** [lowlevel.o] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all] Fehler 2
make: *** [all-recursive] Fehler 1

Thank you in advance for your help!
Regards
Georg

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d