![]() ![]() All #include lines are still red underlined. Change compilerPath in c_cpp_properties.json to /opt/microchip/xc16/v1.70/bin/xc16-gcc.The XC16 is a modified GCC and its usages are exactly same as GCC. I tried to mess with compilerPath and includePath in c_cpp_properties.json, and none of them worked. ![]() The compiler path is already set in CMakeLists.txt. However, all #include lines are red underlined. When I open the project in VSCode, it can be correctly built by clicking on the Build button. ![]() I have a PIC24 MCU project which uses CMake and worked well in CLion. System include path can't be pulled from Microchip's XC16 compiler. If using SSH remote, specify OS of remote machine: none.Other extensions you installed (and if the issue persists after disabling them): CMake Tools 1.7.3.OS and Version: Debian GNU/Linux 10 (buster). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |