Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error due to missing "fdeep/fdeep.hpp" header file in a C++ project. #8

Open
Alextenz opened this issue Oct 24, 2023 · 0 comments

Comments

@Alextenz
Copy link

SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at -35.363261,149.165230,584,353 (CMAC)
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: "/pid-piper/simulator/modules/waf/waf-light" "configure" "--board" "sitl"
invalid lock file in /pid-piper/simulator
Setting top to : /pid-piper/simulator
Setting out to : /pid-piper/simulator/build
Autoconfiguration : enabled
Setting board to : sitl
Using toolchain : native
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for c flags '-MMD' : yes
Checking for cxx flags '-MMD' : yes
Checking for need to link with librt : not necessary
Checking for HAVE_CMATH_ISFINITE : yes
Checking for HAVE_CMATH_ISINF : yes
Checking for HAVE_CMATH_ISNAN : yes
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : yes
Checking for header endian.h : yes
Checking for header byteswap.h : yes
Checking for HAVE_MEMRCHR : yes
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.17
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.17
Source is git repository : no
Update submodules : no
Checking for program 'git' : /usr/bin/git
Checking for program 'size' : /usr/bin/size
Benchmarks : disabled
Unit tests : enabled
Scripting : disabled
Scripting runtime checks : enabled
Checking for program 'rsync' : not found
'configure' finished successfully (1.041s)
SIM_VEHICLE: Building
SIM_VEHICLE: "/pid-piper/simulator/modules/waf/waf-light" "build" "--target" "bin/arducopter"
Waf: Entering directory `/pid-piper/simulator/build/sitl'
[ 3/533] Compiling libraries/AC_AttitudeControl/AC_AttitudeControl_Sub.cpp
[ 4/533] Compiling libraries/AC_AttitudeControl/AC_AttitudeControl_Heli.cpp
[ 5/533] Compiling libraries/AC_AttitudeControl/ControlMonitor.cpp
[ 6/533] Compiling libraries/AC_AttitudeControl/AC_AttitudeControl_Multi.cpp
[ 7/533] Compiling libraries/AC_AttitudeControl/AC_PosControl_Sub.cpp
[ 8/533] Compiling libraries/AC_AutoTune/AC_AutoTune.cpp
[ 14/533] Compiling libraries/AC_PID/AC_PID.cpp
[ 16/533] Compiling libraries/AC_PID/AC_HELI_PID.cpp
[ 17/533] Compiling libraries/AC_PrecLand/AC_PrecLand.cpp
[ 19/533] Compiling libraries/AC_PrecLand/AC_PrecLand_SITL_Gazebo.cpp
[ 20/533] Compiling libraries/AC_PrecLand/AC_PrecLand_SITL.cpp
[ 21/533] Compiling libraries/AC_PrecLand/AC_PrecLand_IRLock.cpp
[ 22/533] Compiling libraries/AC_PrecLand/AC_PrecLand_Companion.cpp
[ 23/533] Compiling libraries/AC_Sprayer/AC_Sprayer.cpp
[ 24/533] Compiling libraries/AC_WPNav/AC_Loiter.cpp
[ 25/533] Compiling libraries/AC_WPNav/AC_WPNav.cpp
In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_AHRS/AP_AHRS_View.h:23,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl.h:10,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Sub.h:6,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Sub.cpp:1:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_AttitudeControl/AC_PosControl.h:7,
from ../../libraries/AC_AttitudeControl/AC_PosControl_Sub.h:3,
from ../../libraries/AC_AttitudeControl/AC_PosControl_Sub.cpp:1:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_PID/AC_HELI_PID.h:10,
from ../../libraries/AC_PID/AC_HELI_PID.cpp:5:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_AHRS/AP_AHRS_View.h:23,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl.h:10,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Multi.h:6,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Multi.cpp:1:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AC_Sprayer/AC_Sprayer.cpp:3:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_PrecLand/AC_PrecLand_Backend.h:4,
from ../../libraries/AC_PrecLand/AC_PrecLand_Companion.h:4,
from ../../libraries/AC_PrecLand/AC_PrecLand_Companion.cpp:2:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_InertialNav/AP_InertialNav.h:3,
from ../../libraries/AC_WPNav/AC_Loiter.h:7,
from ../../libraries/AC_WPNav/AC_Loiter.cpp:2:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_AHRS/AP_AHRS_View.h:23,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl.h:10,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Heli.h:6,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Heli.cpp:1:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AC_PrecLand/AC_PrecLand.cpp:3:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_PrecLand/AC_PrecLand_Backend.h:4,
from ../../libraries/AC_PrecLand/AC_PrecLand_IRLock.h:4,
from ../../libraries/AC_PrecLand/AC_PrecLand_IRLock.cpp:2:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_PID/AC_PID.cpp:5:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_PrecLand/AC_PrecLand_Backend.h:4,
from ../../libraries/AC_PrecLand/AC_PrecLand_SITL.h:5,
from ../../libraries/AC_PrecLand/AC_PrecLand_SITL.cpp:2:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_AHRS/AP_AHRS_View.h:23,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl.h:10,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl_Multi.h:6,
from ../../libraries/AC_AutoTune/AC_AutoTune.h:23,
from ../../libraries/AC_AutoTune/AC_AutoTune.cpp:1:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_Logger/AP_Logger.h:13,
from ../../libraries/AC_PID/AC_PID.h:10,
from ../../libraries/AC_PrecLand/AC_PrecLand_Backend.h:4,
from ../../libraries/AC_PrecLand/AC_PrecLand_SITL_Gazebo.h:5,
from ../../libraries/AC_PrecLand/AC_PrecLand_SITL_Gazebo.cpp:2:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_InertialNav/AP_InertialNav.h:3,
from ../../libraries/AC_WPNav/AC_WPNav.h:7,
from ../../libraries/AC_WPNav/AC_WPNav.cpp:2:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

In file included from ../../libraries/PID_Piper/PID_Piper.h:5:0,
from ../../libraries/AP_Compass/AP_Compass.h:17,
from ../../libraries/AP_AHRS/AP_AHRS.h:25,
from ../../libraries/AP_AHRS/AP_AHRS_View.h:23,
from ../../libraries/AC_AttitudeControl/AC_AttitudeControl.h:10,
from ../../libraries/AC_AttitudeControl/ControlMonitor.cpp:1:
../../libraries/PID_Piper/LSTM.h:9:10: fatal error: fdeep/fdeep.hpp: No such file or directory
#include <fdeep/fdeep.hpp>
^~~~~~~~~~~~~~~~~
compilation terminated.

Waf: Leaving directory `/pid-piper/simulator/build/sitl'
Build failed
-> task in 'objs/AC_AttitudeControl' failed (exit status 1):
{task 139806281792592: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_AttitudeControl' failed (exit status 1):
{task 139806281792720: cxx AC_PosControl_Sub.cpp -> AC_PosControl_Sub.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PID' failed (exit status 1):
{task 139806281334992: cxx AC_HELI_PID.cpp -> AC_HELI_PID.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_AttitudeControl' failed (exit status 1):
{task 139806281792464: cxx AC_AttitudeControl_Multi.cpp -> AC_AttitudeControl_Multi.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_Sprayer' failed (exit status 1):
{task 139806281791312: cxx AC_Sprayer.cpp -> AC_Sprayer.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PrecLand' failed (exit status 1):
{task 139806281335632: cxx AC_PrecLand_Companion.cpp -> AC_PrecLand_Companion.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_WPNav' failed (exit status 1):
{task 139806281336400: cxx AC_Loiter.cpp -> AC_Loiter.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_AttitudeControl' failed (exit status 1):
{task 139806281791952: cxx AC_AttitudeControl_Heli.cpp -> AC_AttitudeControl_Heli.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PrecLand' failed (exit status 1):
{task 139806281335504: cxx AC_PrecLand.cpp -> AC_PrecLand.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PrecLand' failed (exit status 1):
{task 139806281335760: cxx AC_PrecLand_IRLock.cpp -> AC_PrecLand_IRLock.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PID' failed (exit status 1):
{task 139806281335120: cxx AC_PID.cpp -> AC_PID.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PrecLand' failed (exit status 1):
{task 139806281335888: cxx AC_PrecLand_SITL.cpp -> AC_PrecLand_SITL.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_AutoTune' failed (exit status 1):
{task 139806281391568: cxx AC_AutoTune.cpp -> AC_AutoTune.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_PrecLand' failed (exit status 1):
{task 139806281336016: cxx AC_PrecLand_SITL_Gazebo.cpp -> AC_PrecLand_SITL_Gazebo.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_WPNav' failed (exit status 1):
{task 139806281336528: cxx AC_WPNav.cpp -> AC_WPNav.cpp.0.o}
(run with -v to display more information)
-> task in 'objs/AC_AttitudeControl' failed (exit status 1):
{task 139806281792848: cxx ControlMonitor.cpp -> ControlMonitor.cpp.0.o}
(run with -v to display more information)
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant