I was trying to build https://github.com/HesaiTechnology/HesaiLidar_General_SDK and it showed that Eigen/Core was missig.I am new to this so I dont know what went wrong where.It would be a great help if someone could help.The error has been given below
[ 8%] Building CXX object src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/src/pandarGeneral_internal.cc.o
In file included from /usr/include/pcl-1.10/pcl/io/pcd_io.h:42,
from /home/rock/Downloads/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/pandarGeneral_internal.h:20,
from /home/rock/Downloads/HesaiLidar_General_SDK/src/PandarGeneralRaw/src/pandarGeneral_internal.cc:20:
/usr/include/pcl-1.10/pcl/pcl_macros.h:75:10: fatal error: Eigen/Core: No such file or directory
75 | #include <Eigen/Core>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/build.make:76: src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/src/pandarGeneral_internal.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:153: src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/all] Error 2
make: *** [Makefile:84: all] Error 2```
EDIT:Fixed it!
running ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
worked
Related
I'm following the steps from here at 3.1 Task 1.A: Implement a Simple Kernel Module:
https://seedsecuritylabs.org/Labs_20.04/Files/Firewall/Firewall.pdf
Everything was fine until I ran the make command. the hello.ko file wasn't generated and I don't know what's wrong.
make -C /lib/modules/5.11.0-38-generic/build M=/home/seed/Downloads/Labsetup/Files/kernel_module modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-38-generic'
CC [M] /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
MODPOST /home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
make[2]: *** [scripts/Makefile.modpost:124: /home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers] Error 1
make[2]: *** Deleting file '/home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers'
make[1]: *** [Makefile:1753: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-38-generic'
make: *** [Makefile:4: all] Error 2
ERROR: modpost: missing MODULE_LICENSE() in /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
You must add the license in hello.c.
e.g.
MODULE_LICENSE("GPL");
I am currently working on Linux From Scratch part 5.5: http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html Although i have followed everything exactly correctly to this point, I am receiving the following make errors after about 20 minutes of compiling GCC 8.2.0:
make[3]: *** [Makefile:1110: graphite-isl-ast-to-gimple.o] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build/gcc'
make[2]: *** [Makefile:4567: all-stage1-gcc] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make[1]: *** [Makefile:21435: stage1-bubble] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make: *** [Makefile:897: all] Error 2
Any help would be appreciated, I have been trying for hours.
I am trying to compile BRHCLUS, a package part of OrthoDB. I do not have root access but I did load the module boost. I keep getting the fatal error when trying to make all. Any ideas as to what the issue is?
Compiling pairdataset.cpp
In file included from pairdataset.cpp:22:0:
pairdataset.h:37:10: fatal error: boost/algorithm/string/trim.hpp: No such file or directory
#include <boost/algorithm/string/trim.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [.linux/pairdataset.o] Error 1
make[1]: *** [src] Error 2
make: *** [all] Error 2
When I execute the command "make -j4", then it doesn't work.
Below is the output that I am getting. How can I fix this problem?
/usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^
compilation terminated.
modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/build.make:62: recipe for target 'modules/viz/precomp.hpp.gch/opencv_viz_Release.gch' failed
make[2]: *** [modules/viz/precomp.hpp.gch/opencv_viz_Release.gch] Error 1
CMakeFiles/Makefile2:3227: recipe for target 'modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/all' failed
make[1]: *** [modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 16%] Built target pch_Generate_opencv_test_video
[ 16%] Built target pch_Generate_opencv_video
[ 16%] Built target pch_Generate_opencv_perf_video
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
I'm following the process https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-Amazon-Linux-2014.03.
At the time of compilation and installation:
[root#ip-172-31-19-191 hhvm]# make
[ 0%] Building CXX object hphp/third_party/folly/CMakeFiles/folly.dir/folly/Demangle.cpp.o
c++: error: unrecognized command line option ‘-fno-canonical-system-headers’
make[2]: *** [hphp/third_party/folly/CMakeFiles/folly.dir/folly/Demangle.cpp.o] Error 1
make[1]: *** [hphp/third_party/folly/CMakeFiles/folly.dir/all] Error 2
make: *** [all] Error 2
Anyone know why the compiler is not recognizing this command?