Skip to content

NEPO4Arduino: Downloaded sourcecode with available NEPODefs.h not useable with Arduino IDE #1722

@Suli4711

Description

@Suli4711

It is not possible to compile the downloaded source-code from OpenRobertaLab program with the Arduino IDE.

Remark:
Simple program like LED blinky compile fine, by using //#include <NEPODefs.h>. NEPODefs.h is not necessary for simple programcode.
Program which used any display like OLED1306 required the header file.

I found the NEPODefs.h header file: https://github.com/OpenRoberta/arduino-resources/blob/master/RobotArdu/libraries/RobertaFunctions/NEPODefs.h

Do I use the incorrect header version for the Arduino IDE?

Error output:

new.cpp.o (symbol from plugin): In function `operator new(unsigned int)':
(.text+0x0): multiple definition of `std::nothrow'
C:\Users\coder_6wdv4bg\AppData\Local\Temp\arduino\sketches\BE21A550704EFA5297A05904E136DDAE\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

Compilation error: exit status 1

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions