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

Example is not working... #6

Open
Yuseungyong opened this issue Nov 25, 2020 · 5 comments
Open

Example is not working... #6

Yuseungyong opened this issue Nov 25, 2020 · 5 comments

Comments

@Yuseungyong
Copy link

HI! I just try Tello_example with Arduino nano33 IoT(imbeded ESP32).
But the error below occurs... i dont know what it is...

Error message :

In file included from c:\users\82102\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\char_traits.h:39:0,

             from c:\users\82102\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\string:40,

             from C:\Users\82102\Documents\Arduino\libraries\tello/Tello.h:14,

             from C:\Users\82102\AppData\Local\Temp\arduino_modified_sketch_40785\tello_example.ino:1:

c:\users\82102\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\stl_algobase.h:243:55: error: macro "min" passed 3 arguments, but takes just 2

min(const _Tp& __a, const _Tp& __b, _Compare __comp)

                                                   ^

c:\users\82102\documents\arduinodata\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\bits\stl_algobase.h:265:55: error: macro "max" passed 3 arguments, but takes just 2

max(const _Tp& __a, const _Tp& __b, _Compare __comp)

                                                   ^

exit status 1

@akshayvernekar
Copy link
Owner

Hi, I dont own the board you are mentioning but I just tested with Wrover 32 board along with Arudino 1.8.13(Which is the latest stable version of Arudino) and I could compile and flash just fine . I suggest you to try uninstalling your current version of Arudino and installing the latest version in case you are running an older version .

@Yuseungyong
Copy link
Author

now, i use Arduino 1.8.13ver. app in Window10... Hmm, i will try uninstalling my current Arduino and installing the this version not app but just program!

@Yuseungyong
Copy link
Author

I tried that.. Fail..
Maybe, There are conflict things in Aduino nano33 IoT board file.
Until now, idont know how this problem solve

@akshayvernekar
Copy link
Owner

It seems like this issue is not related to the library but ESP support on Arduino please check this link , see if it solves this issue https://stackoverflow.com/questions/41093090/esp8266-error-macro-min-passed-3-arguments-but-takes-just-2

@Yuseungyong
Copy link
Author

I just tried such as the issue, Note that,
add
#undef max
#undef min
right after # include <Tello. h> line.
but it doesn't work

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