Tips for the Less module cmake_modules:
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by “cmake_modules”
with any of the following names:
cmake_modulesConfig.cmake
cmake_modules-config.cmake
Add the installation prefix of “cmake_modules” to CMAKE_PREFIX_PATH or set
“cmake_modules_DIR” to a directory containing one of the above files. If
“cmake_modules” provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
Fast-Planner/uav_simulator/local_sensing/CMakeLists.txt:66 (find_package)
– Configuring incomplete, errors occurred!
See also “/home/nanorobot/catkin_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/nanorobot/catkin_ws/build/CMakeFiles/CMakeError.log”.
Invoking “cmake” failed
Two Methods:
-
-
-
- sudo apt-get install ros-melodic-cmake-modules(here melodic replace with your ros version)
cmake_modules https://github.com/ros/cmake_modules
-
-
-
-
- Different ros corresponding versions.
-
- My version of ros is melodic, download the 0.4-devel version.
Then it is
mkdir build
cd build
cmake ..
make .
sudo make install
Read More:
- Linux Error: CMake Error in CMakeLists.txt: No CMAKE_CXX_COMPILER could be found.
- Solved: could not find the task ‘G + + build active file, leetcode algorithm ACM compilation and debugging
- [Solved] Cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
- [Solved] ubuntu makefile Cross-compilation error: file not recognized: file format not recognized
- [Solved] catkin_make error: CMake Error at CMakeLists.txt:1:
- Nginx configuration 80 can be accessed by forcing jump 443 or not
- ERROR: configuration failed for package ‘openssl’ [How to Solve]
- Error: linker ` link. Exe ` not found | = note: the system cannot find the specified file.
- Ubuntu20.04 install the ROS noetic version in catkin_Problems in make compilation
- [Solved] /usr/bin/ld: cannot find crti.o: No such file or directory & /usr/bin/ld: cannot find -lc
- [Solved] ERROR: The kernel module failed to load, because it was not signed by a key that is trusted by the
- [Solved] Ubuntu pyinstaller Error when packaging executable file: … qt.qpa.plugin: Could not find the Qt platform plugin “xcb“ in “…
- C Language Compilation Error: variably modified ‘* *’ at file scope
- Problem solving / etc/ rc.local The boot entry of the file configuration is invalid
- [Solved] ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
- [Ubuntu] How to Solve dpkg Error: dpkg: error: failed to open package info file ‘/usr/local/var/lib/dpkg/status’ for reading: No such file or directory
- Ubuntu install and compile OpenCV3.4.0 fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nv
- [Solved] Cannot run program “svn” (in directory “D: xxxx”): CreateProcess error=2, the system cannot find the specified file.
- Mamjor Install Wechat ERROR: Cannot find the strip binary required for object file stripping.
- Configure the node environment under Linux, internal/modules/cjs/loader.js:583 throw err; solution