Как установить пути включения в подсистему Windows для Linux в коде Visual Studio ⇐ C++
Как установить пути включения в подсистему Windows для Linux в коде Visual Studio
at the moment I am using a windows machine and wanted to try out windows subsystem for linux(wsl) for c++ development. Visual studio code(vsc) provides a neat extension for working on the subsystem that works quite well. One thing I could not get to work yet is getting vsc to include header files that are located inside the subsystem.
I know that I can manually add new paths to include in ´c_cpp_properties.json´ but I do not know any of the paths to point from windows into the subsystems /usr/include(as an example). I found some resources (wsl include paths) but could not get it to work anyway. I also tried generating the paths myself as described in the gitlab issue but that did not help either.
Anyone got some experience setting up vsc with wsl for c++ projects who would be able to help me?
Источник: https://stackoverflow.com/questions/608 ... studio-cod
at the moment I am using a windows machine and wanted to try out windows subsystem for linux(wsl) for c++ development. Visual studio code(vsc) provides a neat extension for working on the subsystem that works quite well. One thing I could not get to work yet is getting vsc to include header files that are located inside the subsystem.
I know that I can manually add new paths to include in ´c_cpp_properties.json´ but I do not know any of the paths to point from windows into the subsystems /usr/include(as an example). I found some resources (wsl include paths) but could not get it to work anyway. I also tried generating the paths myself as described in the gitlab issue but that did not help either.
Anyone got some experience setting up vsc with wsl for c++ projects who would be able to help me?
Источник: https://stackoverflow.com/questions/608 ... studio-cod
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Visual Studio 2019: передать пути включения между проектами, на которые есть цепочка ссылок.
Anonymous » » в форуме C++ - 0 Ответы
- 17 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Как сделать Visual Studio 2022 Использовать настраиваемые вами пути включения?
Anonymous » » в форуме C++ - 0 Ответы
- 4 Просмотры
-
Последнее сообщение Anonymous
-