liamondrop / ros-pca9685-board

ROS Node to control servos on a PCA9685 board
MIT License
25 stars 9 forks source link

catkin_make #3

Open m-fatihozkan opened 3 years ago

m-fatihozkan commented 3 years ago

When tried catkin_make this error showed up:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
wiringPi_LIB
    linked by target "pca9685_board_node" in directory /home/usumun/workspace/catkin_ws/src/ros-pca9685-board

-- Configuring incomplete, errors occurred!
See also "/home/usumun/workspace/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/usumun/workspace/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:852: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
vibhubithar commented 3 years ago

My Setup

To fix the error I installed wiring pi from the source sudo apt-get purge wiringpi hash -r git clone --branch final_official_2.50 https://github.com/WiringPi/WiringPi.git ~/wiringpi cd ~/wiringPi ./build

Test it with

but when I tried, this failed

Alteast compile moved ahead but taking too much time