Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Arduino IDE reads CPLUS_INCLUDE_PATH when it shouldn't #1289

Open
Assignees
Labels
criticality: lowOf low impact priority: lowResolution is a low priority topic: build-processRelated to the sketch build process topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project
@apexys

Description

Hi,
I've just done a fresh install of the Arduino IDE version 1.8.14 on my system and when I tried to compile a blink sketch, it gave me the following error:

In file included from C:\msys64\mingw64\include\c++10円.2.0/stdlib.h:36:0,
 from C:\Users\Valentin Buck\AppData\Local\Arduino15\packages\arduino\hardware\avr1円.8.3\cores\arduino/Arduino.h:23,
 from sketch\Blink.ino.cpp:1:
C:\msys64\mingw64\include\c++10円.2.0/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
 #include <bits/c++config.h>
 ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Fehler beim Kompilieren für das Board Arduino Uno.

It looks like avr-gcc tries to include a file from my mingw64-installation instead of the arduino specific headers.

If I remove the environment variable CPLUS_INCLUDE_PATH, the blink sketch compiles normally.

Is there a better way to do this?

Thanks!

Metadata

Metadata

Assignees

Labels

criticality: lowOf low impact priority: lowResolution is a low priority topic: build-processRelated to the sketch build process topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /