paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Problem building nps on debian


From: Russell Sim
Subject: Re: [Paparazzi-devel] Problem building nps on debian
Date: Fri, 4 Sep 2015 21:48:54 +1000

Hi Felix,

On 4 September 2015 at 21:14, Felix Ruess <address@hidden> wrote:
what Debian version are you running? You installed the Ubuntu packages from the ppa instead of using the Debian repo?
You installed JSBSim into opt as well as using the paparazzi-jsbsim Debian package?

Debian Sid,  good point i obviously have a scrolling deficiency,  I have reinstalled with the packages from the debian repository, using the jessie packages, they should be close enough.

Yes, i installed the paparazzi-jsbsim package, then afterwards installed jsbsim in /opt/

I should also mention that i have tried with master and the v5.6 branch, both have the same error.

I keep looking at the output and thinking that the /usr/include/JSBSim file is trying to reference something from the JSBSim package, but i'm not entirely sure how to run the build without using the paparazzi-center,  that may help me try random things, but yeah... 
 
Can you plz post the full compile output, especially the beginning where it should show whether it found the jsbsim package...?

RUN 'make -C /opt/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaMX clean_ac '
make: Entering directory '/opt/paparazzi'
CLEANING Quad_LisaMX
make: Leaving directory '/opt/paparazzi'

DONE 'make -C /opt/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaMX clean_ac'

RUN 'make -C /opt/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaMX nps.compile '
make: Entering directory '/opt/paparazzi'
-----------------------------------------------------------------------
Paparazzi version v5.6.0_stable-30-g371114d
-----------------------------------------------------------------------
#######################################
# BUILD AIRCRAFT=Quad_LisaMX, TARGET nps
#######################################
Info: module '/opt/paparazzi/conf/modules/gps_ubx_ucenter.xml' unloaded for target 'nps'
make[1]: Entering directory '/opt/paparazzi'
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/airframe.h from airframes/examples/quadrotor_lisa_mx.xml
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/modules.h
Info: Module gps_ubx unloaded, target nps not supported
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/periodic_telemetry.h from telemetry/default_rotorcraft.xml
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/settings.h
GENERATE autopilots in /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/
make[1]: Leaving directory '/opt/paparazzi'
make[1]: Entering directory '/opt/paparazzi'
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/radio.h from radios/dummy.xml
make[1]: Leaving directory '/opt/paparazzi'
make[1]: Entering directory '/opt/paparazzi'
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/flight_plan.h from flight_plans/rotorcraft_basic.xml
GENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/flight_plan.xml from flight_plans/rotorcraft_basic.xml
make[1]: Leaving directory '/opt/paparazzi'
cd sw/airborne; make -j4 TARGET=nps all
make[1]: Entering directory '/opt/paparazzi/sw/airborne'
Paparazzi jsbsim package found: yes
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu_periph/sys_time.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/sys_time_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_int.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_float.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_double.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_trig_int.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_orientation_conversion.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_algebra_int.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_algebra_float.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_algebra_double.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/settings.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/subsystems/settings_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/actuators.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/commands.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/state.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_none.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_rate.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_h.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_h_ref.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_v.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_v_ref.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_v_adapt.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/navigation.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/navigation/waypoints.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/navigation/common_flight_plan.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/main.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/autopilot.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu_periph/i2c.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/i2c_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/adc_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/electrical.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_main.o
CXX /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_random.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensors.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensors_utils.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_gyro.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_accel.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_mag.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_baro.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_sonar.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_gps.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_electrical.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_atmosphere.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_radio_control.o
In file included from /opt/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.cpp:49:0:
/usr/include/JSBSim/models/propulsion/FGThruster.h:100:30: warning: unused parameter 'rpm' [-Wunused-parameter]
   virtual void SetRPM(double rpm) {};
                              ^
/usr/include/JSBSim/models/propulsion/FGThruster.h:101:36: warning: unused parameter 'rpm' [-Wunused-parameter]
   virtual void SetEngineRPM(double rpm) {};
                                    ^
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_radio_control_joystick.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_radio_control_spektrum.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_autopilot_rotorcraft.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_ivy_common.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_ivy_rotorcraft.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_flightgear.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_ivy_mission_commands.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_wmm2015.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/datalink/ivy_transport.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/datalink/downlink.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/datalink/telemetry.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/rotorcraft_telemetry.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/datalink.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/radio_control.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/radio_control/spektrum.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/subsystems/radio_control/spektrum_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/actuators/motor_mixing.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/subsystems/actuators/actuators_pwm_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu_periph/spi.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/spi_arch.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/imu.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/imu/imu_nps.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/gps.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/gps/gps_sim_nps.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_ref_quat_int.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_int.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_transformations.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_rc_setpoint.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs/ahrs_float_mlkf.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs/ahrs_float_mlkf_wrapper.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs/ahrs_aligner.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins/ins_int.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins/vf_float.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins/hf_float.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/modules/geo_mag/geo_mag.o
CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/modules/air_data/air_data.o
LD /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/simsitl
/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.o: In function `JSBSim::FGPropertyManager::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/usr/include/JSBSim/input_output/FGPropertyManager.h:393: undefined reference to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/include/JSBSim/input_output/FGPropertyManager.h:393: undefined reference to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/include/JSBSim/input_output/FGPropertyManager.h:393: undefined reference to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/include/JSBSim/input_output/FGPropertyManager.h:393: undefined reference to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/usr/include/JSBSim/input_output/FGPropertyManager.h:393: undefined reference to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.o:/usr/include/JSBSim/input_output/FGPropertyManager.h:393: more undefined references to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' follow
/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.o: In function `init_jsbsim(double)':
/opt/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.cpp:508: undefined reference to `JSBSim::FGFDMExec::LoadModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/opt/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.cpp:530: undefined reference to `JSBSim::FGInitialCondition::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)'
/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.o: In function `JSBSim::FGPropertyManager::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/usr/include/JSBSim/input_output/FGPropertyManager.h:393: undefined reference to `JSBSim::FGPropertyNode::GetNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.o: In function `nps_fdm_run_step':
/opt/paparazzi/sw/simulator/nps/nps_fdm_jsbsim.cpp:292: undefined reference to `JSBSim::FGPropertyNode::SetDouble(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double)'
collect2: error: ld returned 1 exit status
../../conf/Makefile.nps:72: recipe for target '/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/simsitl' failed
make[1]: *** [/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/simsitl] Error 1
make[1]: Leaving directory '/opt/paparazzi/sw/airborne'
Makefile.ac:233: recipe for target 'nps.compile' failed
make: *** [nps.compile] Error 2
make: Leaving directory '/opt/paparazzi'

FAILED 'make -C /opt/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaMX nps.compile' with code 2



-- 
Cheers,
Russell Sim

reply via email to

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