[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] FlightGear not working

From: Andreas Gaeb
Subject: Re: [Paparazzi-devel] FlightGear not working
Date: Tue, 06 Dec 2011 11:27:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0

Am 05.12.2011 18:51, schrieb Felix Ruess:
> I have no problems on Ubuntu Oneiric (32bit) and with flightgear
> package 2.0.0-4ubuntu1.
> But use the native-gui option like Stephen pointed out, and like it's
> documented on the wiki.
> Maybe this is an issue on 64bit?
Very likely, probably caused by different alignment of the members of
the FGNetGui structure in sw/simulator/flight_gear.h. There is a #pragma
pack(4) around the structure in Paparazzi, which is correct if you want
to send to a 32bit FlightGear. For a 64bit FlightGear, you need to use
#pragma pack(8), I suppose. Best of all would be to use #pragma pack(1)
on both programs and any architecture, but that is only possible if you
recompile FlightGear.

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]