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

编译时老是报error: 'unsupported/Eigen/NonLinearOptimization' file not found #11

Open
sdjkxhb2016 opened this issue Aug 20, 2019 · 0 comments

Comments

@sdjkxhb2016
Copy link

已经安装了Eigen ,并且在/usr/include/eigen3目录下执行了
sudo cp Eigen/ .. -R
sudo cp unsupported/ .. -R

在KDevelop 中也可以引用到 ,但还是报这个错,详情是:

In file included from /home/xhb/.conan/data/pcl/1.9.1/bashbug/stable/build/1dbc8a6a865a8fad699417711b0b0b490d4d2d18/pcl/sample_consensus/src/sac_model_circle.cpp:39:
In file included from /home/xhb/.conan/data/pcl/1.9.1/bashbug/stable/build/1dbc8a6a865a8fad699417711b0b0b490d4d2d18/pcl/sample_consensus/include/pcl/sample_consensus/impl/sac_model_circle.hpp:44:
/home/xhb/.conan/data/pcl/1.9.1/bashbug/stable/build/1dbc8a6a865a8fad699417711b0b0b490d4d2d18/pcl/sample_consensus/include/pcl/sample_consensus/eigen.h:48:10: fatal error: 'unsupported/Eigen/NonLinearOptimization' file not found
#include <unsupported/Eigen/NonLinearOptimization>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
sample_consensus/CMakeFiles/pcl_sample_consensus.dir/build.make:86: recipe for target 'sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o' failed
make[2]: *** [sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o] Error 1
CMakeFiles/Makefile2:339: recipe for target 'sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all' failed
make[1]: *** [sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....

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