Ros error:c++: Error: $ (catkin_libraries): No file or directory

Source: Internet
Author: User

lying in the groove, it's ........ ....... Blind.

1.5 hours to find out what's wrong ...

C + +: Error: $ (catkin_libraries): No file or directory

Oh my god! I′m quite blind .... Apologies for any inconvenience. I need my glasses to see ... I′m absolutely a disaster. It is exactly what do you said to me. I didn′t Realice it. ${catkin_libraries} rather than $ (catkin_libraries). Thanks a lot!

I'm going to break down ...

Another error:

Could not find a package configuration file provided by "PCL" (requested  version 1.2) with any of the following names:    pclconfig.cmake    pcl-config.cmake  Add the installation prefix of "PCL" to Cmake_prefix_path or set "Pcl_dir" To  a directory containing one of the above files.  If "PCL" provides a  separate development package or SDK, being sure it has been installed.--configuring incomplete, Erro RS occurred!

my CmakeLists.txt:

Cmake_minimum_required (VERSION 2.8.3) Project (SECOND_PCL) # # Find Catkin Macros and libraries## if list like fin D_package (Catkin REQUIRED components xyz) # are used, also find other Catkin packagesfind_package (PCL REQUIRED)    #这个可能要 Write it separately find_package (catkin REQUIRED     roscpp rospy pcl_conversions pcl_ros sensor_msgs# PCL REQUIRED) #find_package ( PCL REQUIRED) include_directories (include ${pcl_include_dirs}) link_directories (${pcl_library_dirs}) add_executable (pcl_create  src/pcl_create.cpp) target_link_libraries (pcl_create   ${catkin_libraries}   ${PCL_ LIBRARIES})

This is no problem, encountered this error, during the period also recompile the PCL package ... But it should still be cmakelists. The error in txt

Ros error:c++: Error: $ (catkin_libraries): No file or directory

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.