Am 01.12.2011 15:53, schrieb Iervolino Fatima:
> Hi Thorsten,
>
> I've rebuilt all successfully. But I'm still have the same problem as
> before:
>
> What I can do to solve it?

First of all, are you really using "CMake" to configure your FlightGear 
build (not just for OSG!) - or are you maybe using the MSVC project 
which is (still) located in the FlightGear folder below project/VC90 ? 
The latter is unmaintained now - since we switched to CMake a few days 
ago (see our email topic :) ). I have no idea what happens if you 
compiled with the now-obsolete MSVC project file.

@James/Frederic: Could we drop the VC90 project file now? It's confusing 
if that's still around. No one is checking this file now, and it's 
impossible to know what people are using as long as it's still around.

Fatima, if you have used cmake for FlightGear (not just for OSG), then 
check the generated file src/Include/config.h from your FlightGear 
(build) directory. It should contain:

#define ENABLE_YASIM
#define ENABLE_JSBSIM

=> If these were missing (or commented out), then this explains your 
problem. You could add/enable these defines manually to have a quick 
success with building. But better also fix the root cause, otherwise 
issues will be back later.

Also check the CMakeCache.txt file (not sure if that has the same name 
for Windows). It should contain:

//Set to ON to build FlightGear with JSBSim FDM
ENABLE_JSBSIM:BOOL=ON

//Set to ON to build FlightGear with YASIM FDM
ENABLE_YASIM:BOOL=ON

If these switches are set to "OFF" (or even missing), then the CMake 
configuration step hasn't worked for FlightGear.

If you can't fix the issue, then please attach the src/Include/config.h 
and CMakeCache.txt files to your email, so we can see how your build is 
configured. And remember, these files should be _generated_ on your 
machine (whenever you run cmake) - so check their file date/time to see 
if they are really "fresh".

It may also be a good idea to see if you maybe have any other (old) 
"config.h" in one of your include directories - so that the compiler 
somehow finds the wrong file first...

cheers,
Thorsten

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to