hideakitai / Dynamixel

Arduino library for Dynamixel
MIT License
20 stars 9 forks source link

Missing map.h #2

Closed AnthonyZJiang closed 4 years ago

AnthonyZJiang commented 4 years ago

I got this error when trying to compile one of your examples in Arduino windows. Do I miss some C++ SDK package?

Thanks

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

Multiple libraries were found for "Dynamixel.h"

In file included from E:\Documents\Arduino\libraries\Dynamixel/Dynamixel/lib/DynamixelSDK/include/dynamixel_sdk.h:27:0,

 Used: E:\Documents\Arduino\libraries\Dynamixel

                 from E:\Documents\Arduino\libraries\Dynamixel/Dynamixel/Dynamixel.h:5,

 Not used: E:\Documents\Arduino\libraries\ardyno

                 from E:\Documents\Arduino\libraries\Dynamixel/Dynamixel.h:6,

                 from C:\Users\Antho\AppData\Local\Temp\arduino_modified_sketch_266800\speed.ino:1:

E:\Documents\Arduino\libraries\Dynamixel/Dynamixel/lib/DynamixelSDK/include/group_bulk_read.h:27:10: fatal error: map: No such file or directory

 #include <map>

          ^~~~~

compilation terminated.

exit status 1

Error compiling for board Arduino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
hideakitai commented 4 years ago

Hi, it's because SDK doesn't support AVR series... I'll try to fix it next week, if you can wait it!

hideakitai commented 4 years ago

@tmxkn1 AVR and almost all boards has supported in v0.2.0.