Skip to content

Instantly share code, notes, and snippets.

@agtbaskara
Created August 11, 2018 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agtbaskara/0eb773ac3085557baf7bf20b031fb49e to your computer and use it in GitHub Desktop.
Save agtbaskara/0eb773ac3085557baf7bf20b031fb49e to your computer and use it in GitHub Desktop.
c_cpp_properties.json file for build and run C++ program with OpenCV 3.4.1 using Mingw-w64 in Visual Studio Code
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"C:/OpenCV-MinGW-Build/include"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.17134.0",
"compilerPath": "C:/OpenCV-MinGW-Buildx64/mingw/bin/g++",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "msvc-x64"
}
],
"version": 4
}
@sri228
Copy link

sri228 commented Jan 5, 2019

hi Baskara,
is the path given in compilerPath correct?
"compilerPath": "C:/OpenCV-MinGW-Buildx64/mingw/bin/g++"

i dont see C:/OpenCV-MinGW-Buildx64 or g++ in OpenCV-MinGW-Build folder.
please help on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment