-
Notifications
You must be signed in to change notification settings - Fork 1
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
编译报错 #2
Comments
我在Ubuntu18.04上没有遇到过这个问题,你或许可以参考NeBula-Autonomy/LAMP#20. |
谢谢您,问题已经解决。但是今天在我编译你的代码的时候又报错如下opencv问题,请问opencv版本需要4.0吗,我现在是3版本,但是原版lvi-sam我可以运行成功。 The following configuration files were considered but not accepted:
-- Configuring incomplete, errors occurred! |
刚刚这个问题我已经解决,把cmakelists文件中的opnecv改成了3版本,编译成功了。但是我运行ros launch lvi_sam run.launch文件报错如下:[lvi_sam_mapOptmization-8] process has died [pid 13543, exit code 127, cmd /home/zyp/LVI_plus01/devel/lib/lvi_sam/lvi_sam_mapOptmization __name:=lvi_sam_mapOptmization __log:=/home/zyp/.ros/log/7eca333a-e654-11ee-9dcf-6c24085b729f/lvi_sam_mapOptmization-8.log]. |
@isqjsnao |
CMakeFiles/all_tests.dir/evaluation-test.cc.o:在函数‘EvaluationTest_Simple_Test::TestBody()’中:
evaluation-test.cc:(.text+0x2d0):对‘teaser::SolutionEvaluator::SolutionEvaluator(Eigen::Matrix<double, 3, -1, 0, 3, -1> const&, Eigen::Matrix<double, 3, -1, 0, 3, -1> const&, double)’未定义的引用
evaluation-test.cc:(.text+0x371):对‘teaser::SolutionEvaluator::computeErrorMetric(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用
evaluation-test.cc:(.text+0x43a):对‘teaser::SolutionEvaluator::~SolutionEvaluator()’未定义的引用
CMakeFiles/all_tests.dir/evaluation-test.cc.o:在函数‘EvaluationTest_Simple_Test::TestBody() [clone .cold]’中:
evaluation-test.cc:(.text.unlikely+0xb9):对‘teaser::SolutionEvaluator::~SolutionEvaluator()’未定义的引用
collect2: error: ld returned 1 exit status
test/teaser/CMakeFiles/all_tests.dir/build.make:296: recipe for target 'test/teaser/all_tests' failed
make[2]: *** [test/teaser/all_tests] Error 1
CMakeFiles/Makefile2:579: recipe for target 'test/teaser/CMakeFiles/all_tests.dir/all' failed
make[1]: *** [test/teaser/CMakeFiles/all_tests.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
您好,在编译teaser++过程中报错如上,请问如何解决呀
The text was updated successfully, but these errors were encountered: