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

Could not find Arduino SDK #183

Open
ahar opened this issue Jun 1, 2018 · 0 comments
Open

Could not find Arduino SDK #183

ahar opened this issue Jun 1, 2018 · 0 comments

Comments

@ahar
Copy link

ahar commented Jun 1, 2018

I am trying to use rosserial_arduino to control two DC motors. I installed Arduino SDK at first and then installed arduino_cmake and roserial_arduino. Then after when I tried to implement the servo control steps using this, I got following errors.

CMake Error at /home/anindya/catkin_test_6/src/rosserial/rosserial_arduino/arduino-cmake/cmake/ArduinoToolchain.cmake:81 (message):
  Could not find Arduino SDK (set ARDUINO_SDK_PATH)!
Call Stack (most recent call first):
  /usr/local/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:94 (include)
  CMakeLists.txt


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
helloworld/CMakeFiles/helloworld_firmware.dir/build.make:57: recipe for target 'helloworld/CMakeFiles/helloworld_firmware' failed
make[2]: *** [helloworld/CMakeFiles/helloworld_firmware] Error 1
CMakeFiles/Makefile2:8586: recipe for target 'helloworld/CMakeFiles/helloworld_firmware.dir/all' failed
make[1]: *** [helloworld/CMakeFiles/helloworld_firmware.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 87%] Built target bag_to_pcd
[ 89%] Built target pcl_ros_io
[ 90%] Built target pcl_ros_segmentation
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

Can anybody let me know the source of this error?
I could not fix it yet. BDW, I use ubuntu 16.04 xenial xerus.

thanks,

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

1 participant