gaowenliang / code_utils

my code utils
105 stars 93 forks source link

catkin_make #19

Open hhz0328 opened 1 year ago

hhz0328 commented 1 year ago

In file included from /home/hhz/intel_vision/src/code_utils/include/code_utils/math_utils/Polynomial.h:9, from /home/hhz/intel_vision/src/code_utils/src/math_utils/Polynomial.cpp:1: /home/hhz/intel_vision/src/code_utils/include/code_utils/eigen_utils.h:4:10: fatal error: eigen3/Eigen/Eigen: 没有那个文件或目录 4 | #include <eigen3/Eigen/Eigen> | ^~~~~~~~ compilation terminated. [ 22%] Built target roscpp_generate_messages_py [ 22%] Built target roscpp_generate_messages_nodejs make[2]: [code_utils/CMakeFiles/polynomial.dir/build.make:63:code_utils/CMakeFiles/polynomial.dir/src/math_utils/Polynomial.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:724:code_utils/CMakeFiles/polynomial.dir/all] 错误 2 make[1]: 正在等待未完成的任务.... [ 22%] Built target rosgraph_msgs_generate_messages_eus [ 22%] Built target rosgraph_msgs_generate_messages_lisp [ 22%] Built target rosgraph_msgs_generate_messages_cpp In file included from /home/hhz/intel_vision/src/code_utils/include/code_utils/cv_utils/pnp/pnp.h:4, from /home/hhz/intel_vision/src/code_utils/src/cv_utils/pnp/pnp.cpp:1: /home/hhz/intel_vision/src/code_utils/include/code_utils/cv_utils/pnp/../dlt/dlt.h:5:10: fatal error: eigen3/Eigen/Eigen: 没有那个文件或目录 5 | #include <eigen3/Eigen/Eigen> | ^~~~~~~~ compilation terminated. make[2]: [code_utils/CMakeFiles/pnp.dir/build.make:76:code_utils/CMakeFiles/pnp.dir/src/cv_utils/pnp/pnp.cpp.o] 错误 1 make[2]: 正在等待未完成的任务.... In file included from /home/hhz/intel_vision/src/code_utils/src/cv_utils/dlt/dlt.cpp:1: /home/hhz/intel_vision/src/code_utils/include/code_utils/cv_utils/dlt/dlt.h:5:10: fatal error: eigen3/Eigen/Eigen: 没有那个文件或目录 5 | #include <eigen3/Eigen/Eigen> | ^~~~~~~~ compilation terminated. make[2]: [code_utils/CMakeFiles/pnp.dir/build.make:63:code_utils/CMakeFiles/pnp.dir/src/cv_utils/dlt/dlt.cpp.o] 错误 1 In file included from /home/hhz/intel_vision/src/code_utils/src/cv_utils/pnp/nonlinearpnp.cpp:1: /home/hhz/intel_vision/src/code_utils/include/code_utils/cv_utils/pnp/nonlinearpnp.h:7:10: fatal error: usr/include/eigen3/Eigen/Eigen: 没有那个文件或目录 7 | #include <usr/include/eigen3/Eigen/Eigen> | ^~~~~~~~ compilation terminated. make[2]: [code_utils/CMakeFiles/pnp.dir/build.make:102:code_utils/CMakeFiles/pnp.dir/src/cv_utils/pnp/nonlinearpnp.cpp.o] 错误 1 In file included from /home/hhz/intel_vision/src/code_utils/src/cv_utils/pnp/linearpnp.cpp:1: /home/hhz/intel_vision/src/code_utils/include/code_utils/cv_utils/pnp/linearpnp.h:6:10: fatal error: eigen3/Eigen/Eigen: 没有那个文件或目录 6 | #include <eigen3/Eigen/Eigen> | ^~~~~~~~ compilation terminated. make[2]: [code_utils/CMakeFiles/pnp.dir/build.make:89:code_utils/CMakeFiles/pnp.dir/src/cv_utils/pnp/linearpnp.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:697:code_utils/CMakeFiles/pnp.dir/all] 错误 2 /home/hhz/intel_vision/src/code_utils/src/mat_io_test.cpp: In function ‘int main()’: /home/hhz/intel_vision/src/code_utils/src/mat_io_test.cpp:33:47: error: ‘CV_LOAD_IMAGE_UNCHANGED’ was not declared in this scope 33 | Mat img1 = imread( "/home/gao/IMG_1.png", CV_LOAD_IMAGE_UNCHANGED ); | ^~~~~~~ /home/hhz/intel_vision/src/code_utils/src/sumpixel_test.cpp: In function ‘void test1()’: /home/hhz/intel_vision/src/code_utils/src/sumpixel_test.cpp:84:47: error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope 84 | Mat img1 = imread( "/home/gao/IMG_1.png", CV_LOAD_IMAGE_GRAYSCALE ); | ^~~~~~~ /home/hhz/intel_vision/src/code_utils/src/sumpixel_test.cpp:94:35: error: ‘CV_MINMAX’ was not declared in this scope; did you mean ‘CV_MMX’? 94 | normalize( img, img2, 0, 255, CV_MINMAX ); | ^~~~~ | CV_MMX /home/hhz/intel_vision/src/code_utils/src/sumpixel_test.cpp: In function ‘void test2()’: /home/hhz/intel_vision/src/code_utils/src/sumpixel_test.cpp:107:47: error: ‘CV_LOAD_IMAGE_GRAYSCALE’ was not declared in this scope 107 | Mat img1 = imread( "/home/gao/IMG_1.png", CV_LOAD_IMAGE_GRAYSCALE ); | ^~~~~~~ /home/hhz/intel_vision/src/code_utils/src/sumpixel_test.cpp:117:35: error: ‘CV_MINMAX’ was not declared in this scope; did you mean ‘CV_MMX’? 117 | normalize( img, img2, 0, 255, CV_MINMAX ); | ^~~~~ | CV_MMX make[2]: [code_utils/CMakeFiles/matIO_test.dir/build.make:63:code_utils/CMakeFiles/matIO_test.dir/src/mat_io_test.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:319:code_utils/CMakeFiles/matIO_test.dir/all] 错误 2 make[2]: [code_utils/CMakeFiles/sumpixel_test.dir/build.make:63:code_utils/CMakeFiles/sumpixel_test.dir/src/sumpixel_test.cpp.o] 错误 1 make[1]: [CMakeFiles/Makefile2:373:code_utils/CMakeFiles/sumpixel_test.dir/all] 错误 2 make: [Makefile:130:all] 错误 2 Invoking "make -j12 -l12" failed