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

Fails with latest IDE and Arduino #77

Open
joeinaustin opened this issue Apr 20, 2022 · 3 comments
Open

Fails with latest IDE and Arduino #77

joeinaustin opened this issue Apr 20, 2022 · 3 comments

Comments

@joeinaustin
Copy link

I see some references to this that are quite old. It seemed to say this was fixed. But I just upgraded top the latest of Arduino and the IDE and they have identical issues.

(.text+0x0): multiple definition of `std::nothrow'

I have tried the 1.8.5 and the IDE rc6. Am I missing something here, or has this issue resurfaced?

@joeinaustin
Copy link
Author

Downgrading AVR boards allowed me to continue. Will there be a long term fix?

@drsteveplatt
Copy link

Noted that it still fails on Arduino IDE 1.8.19. VS and VSCode are also installed on the system.

The test program is an empty/new application with

#include <Arduino.STL>
using namespace std;

at the top.

Error message is (some blank lines removed)

Arduino: 1.8.19 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

new.cpp.o (symbol from plugin): In function `operator new(unsigned int)':
(.text+0x0): multiple definition of `std::nothrow'
libraries\ArduinoSTL\new_handler.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.

@Ebola-Chan-bot
Copy link

See my fork that should have fixed this.

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

3 participants