scikit-build-core icon indicating copy to clipboard operation
scikit-build-core copied to clipboard

VSCode Pybind11 Include Path

Open mcleantom opened this issue 5 months ago • 3 comments

I was wondering if you knew where to set the include path for pybind11 so that intellesense in vscode can find pybind11?

image

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\tom.mclean\src\wind_triangle\src\main.cpp).C/C++(1696)

Pybind11 is found in a tempoary directory, so I dont know how I can add it's header files to my vscode C/C++ configuration:

-- Found pybind11: C:/Users/tom.mclean/AppData/Local/Temp/pip-build-env-ttn80fca/overlay/Lib/site-packages/pybind11/include (found version "2.11.1")

(My project was bootstrapped using the cookiecutter template)

mcleantom avatar Feb 12 '24 10:02 mcleantom