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

cmakelists.txt文件少opencv库 #13

Open
lvpengxiang opened this issue Oct 13, 2024 · 0 comments
Open

cmakelists.txt文件少opencv库 #13

lvpengxiang opened this issue Oct 13, 2024 · 0 comments

Comments

@lvpengxiang
Copy link

我在catkin_make的时候会这种错误
“CMakeFiles/fast_localization.dir/src/laserMapping.cpp.o:在函数‘cvflann::anyimpl::big_any_policycv::String::static_delete(void**)’中:
laserMapping.cpp:(.text._ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE13static_deleteEPPv[_ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE13static_deleteEPPv]+0x15):对‘cv::String::deallocate()’未定义的引用”
请问下cmakelists.txt文件中第89行
“target_link_libraries(fast_localization ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${PYTHON_LIBRARIES})”
是不是少链接了“${OpenCV_LIBRARIES}”这个

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