You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I first cd ..../MadRadar/MadRadar_USRP/build and run make, the result shows:
[ 4%] Building CXX object src/CMakeFiles/BufferHandler.dir/BufferHandler.cpp.o
[ 8%] Linking CXX static library libBufferHandler.a
[ 8%] Built target BufferHandler
[ 12%] Building CXX object src/sensing_subsystem/CMakeFiles/CrossCorr.dir/CrossCorr.cpp.o
[ 16%] Linking CXX static library libCrossCorr.a
[ 16%] Built target CrossCorr
[ 20%] Building CXX object src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/SpectrogramHandler.cpp.o
In file included from /opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.cpp:1:
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:30:14: fatal error: eigen3/Eigen/Dense: No such file or directory
30 | #include "eigen3/Eigen/Dense"
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/build.make:76: src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/SpectrogramHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1278: src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Then I run apt-get install libeigen3-dev
After I successfully installed libeigen3-dev(3.3.7-2) and run make again, the result shows:
Consolidate compiler generated dependencies of target BufferHandler
[ 8%] Built target BufferHandler
Consolidate compiler generated dependencies of target CrossCorr
[ 16%] Built target CrossCorr
[ 20%] Building CXX object src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/SpectrogramHandler.cpp.o
In file included from /opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.cpp:1:
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp: In member function ‘void SpectrogramHandler_namespace::SpectrogramHandler<data_type>::compute_linear_model()’:
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1057:24: error: ‘Vector’ is not a member of ‘Eigen’; did you mean ‘VectorXd’?
1057 | Eigen::Vector<double,2> b;
| ^~~~~~
| VectorXd
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1057:31: error: expected primary-expression before ‘double’
1057 | Eigen::Vector<double,2> b;
| ^~~~~~
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1072:28: error: ‘Vector’ is not a member of ‘Eigen’; did you mean ‘VectorXd’?
1072 | Eigen::Vector<double,Dynamic> Y(n);
| ^~~~~~
| VectorXd
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1072:35: error: expected primary-expression before ‘double’
1072 | Eigen::Vector<double,Dynamic> Y(n);
| ^~~~~~
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1076:25: error: there are no arguments to ‘Y’ that depend on a template parameter, so a declaration of ‘Y’ must be available [-fpermissive]
1076 | Y(j) = detected_frequencies.buffer[indicies[j]];
| ^
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1076:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1082:21: error: ‘b’ was not declared in this scope
1082 | b = (X.transpose() * X).ldlt().solve(X.transpose() * Y);
| ^
/opt/zeyu/MadRadar/MadRadar_USRP/src/sensing_subsystem/SpectrogramHandler.hpp:1082:74: error: ‘Y’ was not declared in this scope
1082 | b = (X.transpose() * X).ldlt().solve(X.transpose() * Y);
| ^
make[2]: *** [src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/build.make:76: src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/SpectrogramHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1278: src/sensing_subsystem/CMakeFiles/SpectrogramHandler.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Do you know what's the problem and how to solve it?
(Maybe it's because of the version of eigen3, could you please let me know your eigen3 version?)
The text was updated successfully, but these errors were encountered:
when I first cd ..../MadRadar/MadRadar_USRP/build and run make, the result shows:
Then I run apt-get install libeigen3-dev
After I successfully installed libeigen3-dev(3.3.7-2) and run make again, the result shows:
Do you know what's the problem and how to solve it?
(Maybe it's because of the version of eigen3, could you please let me know your eigen3 version?)
The text was updated successfully, but these errors were encountered: