Hi !
I'm trying to import <string> from the STL but eclipse says "No such file or directory" rising an error.
I have included the directory "C:\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0" in C/C++ general -> Paths and Symbols -> Includes
Eclipse can open the header when i use the F3 shortcut.
I don't understand why it can't find the header when I build the project.
When I use "#include "C:\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\string", it works excepted for other header included in <string>.
The project was initially configured according to http://esp-idf.readthedocs.io/en/latest ... properties
Can you show what I am doing wrong please ?
Thanks !
(I'm sorry if my English is not really perfect)
Issue including <string> in eclipse
Re: Issue including <string> in eclipse
Are you getting the error in the Console when you build, or only in the code editor window?superpaulo wrote: I'm trying to import <string> from the STL but eclipse says "No such file or directory" rising an error.
...
I don't understand why it can't find the header when I build the project.
-
- Posts: 4
- Joined: Wed Feb 28, 2018 12:20 am
Re: Issue including <string> in eclipse
In the console. But after building, it appears in the code editor window tooESP_Angus wrote:Are you getting the error in the Console when you build, or only in the code editor window?
-
- Posts: 4
- Joined: Wed Feb 28, 2018 12:20 am
Re: Issue including <string> in eclipse
Do you have any idea about including successfully this library ?
The makefile needs to be modified ?
Is there settings to modify to compile the code in C++ and not in C excepted modifying the extension .c into .cpp ?
The makefile needs to be modified ?
Is there settings to modify to compile the code in C++ and not in C excepted modifying the extension .c into .cpp ?
Who is online
Users browsing this forum: Bing [Bot] and 117 guests