Why cant Arduino find created headers?

asked 2018-07-16 03:52:50 -0500

Blackstar gravatar image

updated 2018-10-25 09:34:21 -0500

Evgeny gravatar image

I wrote some messages for Ros and created them with catkin Make.

Afterwards I deleted the ros.lib in my Arduino source and build them again with the rosserial command and the headers for the messages were created just fine. all old headers are working fine and are not giving errors, only the new ones are not functioning.

the Arduino IDE gives this error, but in the named directory the file is created .... so I dont get why ROS cant find it.

Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

/home/rekrut/sketchbook/Treiberplatine/Treiberplatine.ino:22:38: fatal error: beginner_tutorials/Test2.h: No such file or directory #include <beginner_tutorials test2.h=""> ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.

edit retag flag offensive close merge delete


does your include statement actually have a space and a ="" in it? If you post your code it may be easier for other people to figure out what is wrong.

benh gravatar image benh  ( 2018-09-27 19:44:11 -0500 )edit