Visible to the public Invoking "cmake" failedConflict Detection Enabled

7 replies [Last post]
micaiah
micaiah's picture
Offline
Established Community Member
Joined: Jan 26 2017

I keep getting an error every time I try to run the catkin_make command. This is what the error says

CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "geometry_msgs"
with any of the following names:

geometry_msgsConfig.cmake
geometry_msgs-config.cmake

Add the installation prefix of "geometry_msgs" to CMAKE_PREFIX_PATH or set
"geometry_msgs_DIR" to a directory containing one of the above files. If
"geometry_msgs" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
cvchallenge_task1/CMakeLists.txt:7 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/micaiah/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/micaiah/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

rahulbhadani
rahulbhadani's picture
Offline
Established Community Member
Joined: May 23 2016
Content of CMake

Can you please paste content of your CMake file?

Thanks.

Jonathan Sprinkle
sprinkle's picture
Offline
AdministratorEstablished Community Member
Joined: Aug 11 2010
My guess is that you have not

My guess is that you have not sourced the /opt/local/whatever/ros/indigo/setup.bash file before running cmake. Can you ensure it is found at the end of your ~/.bashrc file, and/or post the output of `export | grep ROS`?

hossam
hossam's picture
Offline
Established Community Member
Joined: Jun 5 2017
i have the same issue

i have the same issue attached and sayes that :

-- Could not find the required component 'position_controllers'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"position_controllers" with any of the following names:

position_controllersConfig.cmake
position_controllers-config.cmake

Add the installation prefix of "position_controllers" to CMAKE_PREFIX_PATH
or set "position_controllers_DIR" to a directory containing one of the
above files. If "position_controllers" provides a separate development
package or SDK, be sure it has been installed.

AttachmentTaxonomyKindSize
CMake_Error.pngPNG image102.53 KBDownloadPreview
Preview: Preview | Thumbnail | Medium | Image

Other available formats:     

CMake_Error.png
Jonathan Sprinkle
sprinkle's picture
Offline
AdministratorEstablished Community Member
Joined: Aug 11 2010
I don't think hossam's error

I don't think hossam's error is the same as the OP: if your error isn't the same, then in the future make a new post.

I do believe hossam's error is due to either: (1) not installing the ros-indigo-ros-controllers package and other dependencies: make sure you follow all the instructions at https://cps-vo.org/node/26602 or (2) not installing ROS Indigo with Ubuntu 14.04.

Check that page to make sure you have all the necessary pieces installed with the correct OS, and then check back with us. Good luck!

hossam
hossam's picture
Offline
Established Community Member
Joined: Jun 5 2017
waw it's work

Many Thanks Dr.

it really work after installing the controller manager support files (https://cps-vo.org/node/26602)

however i cannot post new topic and the Forum checkbox doesn't appear any thing to me as attached

AttachmentTaxonomyKindSize
forum.pngPNG image91.48 KBDownloadPreview
worked_well.pngPNG image178.27 KBDownloadPreview
Preview: Preview | Thumbnail | Medium | Image

Other available formats:     

forum.png
Preview: Preview | Thumbnail | Medium | Image

Other available formats:     

worked_well.png
srees
srees's picture
Offline
AdministratorEstablished Community Member
Joined: Jul 10 2012
Needed to join group to post in forums

Hossam had not joined the group under the 'Sign up!' tab. I took the liberty of joining him to the group, and now he is able to post new forum topics.

admin
admin's picture
Offline
AdministratorSite ModeratorEstablished Community Member
Joined: Mar 25 2010
How To Create a New Forum Thread

Click the "NEW TOPIC" button at the top-right corner of the main content area at https://cps-vo.org/forum/21493.

You may also get to that URL by selecting the grey "Forums" menu item along the left from anywhere within the group, and then selecting the "General" forum (which is the only one that exists for this group at this time).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.