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

Can't compile sources on Kubuntu - Catkin issue #71

Closed
SleepyDeb opened this issue Aug 12, 2014 · 2 comments
Closed

Can't compile sources on Kubuntu - Catkin issue #71

SleepyDeb opened this issue Aug 12, 2014 · 2 comments

Comments

@SleepyDeb
Copy link

I tried to compile this library, but when i give make i receive this error message:

cd build && cmake -DCMAKE_INSTALL_PREFIX=/tmp/usr/local ..
CMake Error at CMakeLists.txt:5 (find_package):
  By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "catkin", but
  CMake did not find one.

  Could not find a package configuration file provided by "catkin" with any
  of the following names:

    catkinConfig.cmake
    catkin-config.cmake

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


-- Configuring incomplete, errors occurred!

I installed catkin with pip:

$ sudo pip install catkin_pkg

and i get the same error..

Sorry for my bad eng,
Thanks a lot...

@wjwwood
Copy link
Owner

wjwwood commented Aug 12, 2014

You need catkin as well as catkin_pkg from pip.

$ mkdir -p ~/serial_ws/src
$ cd ~/serial_ws/src
$ git clone https://github.com/ros/catkin.git
$ git clone https://github.com/wjwwood/serial.git
$ cd ~/serial_ws
$ ./src/catkin/bin/catkin_make install

After that the result will be in ~/serial_ws/install.

@SleepyDeb
Copy link
Author

o.ò u're very fast, thanks a lot,
it worked fine <3

Good luck guy ^^

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

2 participants