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: Felix Ruess
Subject: Re: [Paparazzi-devel] Problem building nps on debian
Date: Fri, 4 Sep 2015 13:14:05 +0200

Hi Russell,

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?

Can you plz post the full compile output, especially the beginning where it should show whether it found the jsbsim package...?

Cheers, Felix

On Fri, Sep 4, 2015 at 12:12 PM, Russell Sim <address@hidden> wrote:
Hey,

Total noob here, just trying to build the simulator, and i am getting this error.  I've installed the packages from the PPA, and jsbsim in /opt/jsbsim,  but it looks like it can't be found during the build process.  Any suggestions would be greatly appreciated.


ii  paparazzi-dev                        3.20                    all                     Paparazzi Meta Package : common support
ii  paparazzi-jsbsim                     1.5-2                   amd64                   JSBSim support for Paparazzi


CC /opt/paparazzi/var/aircrafts/Quad_LisaMX/nps/modules/geo_mag/geo_mag.o
subsystems/ins/ins_int.c: In function 'accel_cb':
subsystems/ins/ins_int.c:488:3: note: #pragma message: Config: Calculating dt for INS int propagation.
   PRINT_CONFIG_MSG("Calculating dt for INS int propagation.")
   ^
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 PRINT_CONFIG=1 nps.compile' with code 2

--
Cheers,
Russell Sim

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

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