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

make error #25

Open
Peter19990725 opened this issue Jun 29, 2024 · 5 comments
Open

make error #25

Peter19990725 opened this issue Jun 29, 2024 · 5 comments

Comments

@Peter19990725
Copy link

In Ubuntu18,after I build opecv3.4 and ncnn ,make error.
/home/LET-NET/tracking.cpp: In member function ‘std::vector<cv::Point_ > corner_tracking::extractFeature(const cv::Mat&, int, const std::vector<cv::Point_ >&)’:
/home/LET-NET/tracking.cpp:147:6: error: invalid initialization of reference of type ‘const cv::ParallelLoopBody&’ from expression of type ‘corner_tracking::extractFeature(const cv::Mat&, int, const std::vector<cv::Point_ >&)::<lambda(const cv::Range&)>’
});

@deepConnectionism
Copy link

deepConnectionism commented Jul 18, 2024

@Peter19990725 我觉得是 opencv 版本不兼容问题,我也遇到了这个问题 通过升级 opencv 版本到 3.4.20,我解决了该问题

@Peter19990725
Copy link
Author

@Peter19990725 我觉得是 opencv 版本不兼容问题,我也遇到了这个问题 通过升级 opencv 版本到 3.4.20,我解决了该问题

你好,我想问一下编译安装好opencv3.4.20后,会和原本ROS自带的cv3.2有冲突吗?还需要做cv_bridge的修改吗?还是直接在cmakelist里修改为find_package(OpenCV 3.4 REQUIRED)就可以直接编译LET-NET?

@deepConnectionism
Copy link

@Peter19990725 会有冲突 你可以通过 export 的方式修改环境变量 cv_bridge 应该不需要修改 安装对应的 ubuntu 版本的即可

@rangingwaves
Copy link

@deepConnectionism 你好,请问你vins-mono后端可以运行吗,我跑euroc一直显示Not enough features or parallax; Move device around

@deepConnectionism
Copy link

@rangingwaves 可以运行

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

3 participants