In a previous e-mail I've asked about some files included into the project. After
deleting them, action suggested by Frederic Bouvier that solved the problem, I've got
I've included into the project a metar_main.cxx but I've got an identifier not found
c:\flightgear0.9.4\flightgear-code\src\Main\metar_main.cxx(82): error C3861: 'rint':
identifier not found, even with argument dependent lookup
I've deleted this file, because I've seen into a main definition.
Now, there are two, bigger, problems...
If I don't add to the project "fg_os.cxx" and "fg_os.hxx" I've got many error from the
linker that doesn't find the body of the functions declared into them (clearly....).
If I add them, however, I've got a compiler error (that I've found not so easy to
This is the error reported,
c:\Programmi\Microsoft Visual Studio .NET 2003\Vc7\include\stdlib.h(256): error C2381:
'exit' : redefinition; __declspec(noreturn) differs
and it's extensive description:
compiling file: fg_os.cxx
c:\Programmi\Microsoft Visual Studio .NET 2003\Vc7\include\stdlib.h(256) : error
C2381: 'exit' : redefinition; __declspec(noreturn) differs
c:\Programmi\Microsoft Visual Studio .NET 2003\Vc7\include\GL\glut.h(146) : see
declaration of 'exit'
c:\Programmi\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(604) : fatal error
C1903: unable to recover from previous error(s); stopping compilation
There's a way to solve these problems?
I'm using Microsoft Visual Studio .NET 2003.
Flightgear-devel mailing list