|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Problem building nps on debian |
Date: | Fri, 4 Sep 2015 15:55:14 +0200 |
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_LisaMXmake: 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.xmlGENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/modules.hInfo: Module gps_ubx unloaded, target nps not supportedGENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/periodic_telemetry.h from telemetry/default_rotorcraft.xmlGENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/generated/settings.hGENERATE 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.xmlmake[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.xmlGENERATE /opt/paparazzi/var/aircrafts/Quad_LisaMX/flight_plan.xml from flight_plans/rotorcraft_basic.xmlmake[1]: Leaving directory '/opt/paparazzi'cd sw/airborne; make -j4 TARGET=nps allmake[1]: Entering directory '/opt/paparazzi/sw/airborne'Paparazzi jsbsim package found: yesCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu_periph/sys_time.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/sys_time_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_int.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_float.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_double.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_trig_int.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_orientation_conversion.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_algebra_int.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_algebra_float.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_algebra_double.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/settings.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/subsystems/settings_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/actuators.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/commands.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/state.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_none.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_rate.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_h.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_h_ref.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_v.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_v_ref.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/guidance/guidance_v_adapt.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/navigation.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/navigation/waypoints.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/navigation/common_flight_plan.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/main.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/autopilot.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu_periph/i2c.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/i2c_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/adc_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/electrical.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_main.oCXX /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_fdm_jsbsim.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_random.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensors.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensors_utils.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_gyro.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_accel.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_mag.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_baro.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_sonar.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_sensor_gps.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_electrical.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_atmosphere.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_radio_control.oIn 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.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_radio_control_spektrum.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_autopilot_rotorcraft.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_ivy_common.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_ivy_rotorcraft.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_flightgear.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/nps/nps_ivy_mission_commands.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/math/pprz_geodetic_wmm2015.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/datalink/ivy_transport.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/datalink/downlink.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/datalink/telemetry.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/rotorcraft_telemetry.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/datalink.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/radio_control.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/radio_control/spektrum.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/subsystems/radio_control/spektrum_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/actuators/motor_mixing.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/subsystems/actuators/actuators_pwm_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/mcu_periph/spi.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/arch/sim/mcu_periph/spi_arch.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/imu.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/imu/imu_nps.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/gps.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/gps/gps_sim_nps.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_ref_quat_int.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_int.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_quat_transformations.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/firmwares/rotorcraft/stabilization/stabilization_attitude_rc_setpoint.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs/ahrs_float_mlkf.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs/ahrs_float_mlkf_wrapper.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ahrs/ahrs_aligner.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins/ins_int.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins/vf_float.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/subsystems/ins/hf_float.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/modules/geo_mag/geo_mag.oCC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/modules/air_data/air_data.oLD /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' failedmake[1]: *** [/opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/simsitl] Error 1make[1]: Leaving directory '/opt/paparazzi/sw/airborne'Makefile.ac:233: recipe for target 'nps.compile' failedmake: *** [nps.compile] Error 2make: Leaving directory '/opt/paparazzi'FAILED 'make -C /opt/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaMX nps.compile' with code 2--Cheers,
Russell Sim
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |