visual studio code editor not recognizing opencv path in c++ include headers

asked 2017-07-18 05:25:24 -0600

Ayub gravatar image

I am usig visual studio code editor to compile c++ project however I see error in editor that include file not found in browser.path.

below is the include:

#include <opencv2/opencv.hpp>

Below is the c_cpp_properties.json file.

          "name": "Win32",
               "includePath": [
            "${workspaceRoot}",
            "A:/Program Files/VC/include/*",
            "C:/Program Files (x86)/Windows Kits/8.1/Include/um",
            "C:/Program Files (x86)/Windows Kits/8.1/Include/shared",
            "C:/Program Files (x86)/Windows Kits/8.1/Include/winrt",
            "A:/OPENCV-32/opencv/build/include/opencv2",
            "A:/OPENCV-32/opencv/build/include/opencv"
             ]
edit retag flag offensive close merge delete

Comments

This is actually an issue on configuring Visual Studio correctly. Take a look at this tutorial: http://docs.opencv.org/master/d6/d8a/...

StevenPuttemans gravatar imageStevenPuttemans ( 2017-07-18 07:57:14 -0600 )edit