Issue including <string> in eclipse
Posted: Wed Feb 28, 2018 12:32 am
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)
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)