Open Source Computer Vision Library
Go to file
Biswapriyo Nath 6cf0910842
Merge pull request #22462 from Biswa96:fix-directx-check
* cmake: Fix DirectX detection in mingw

The pragma comment directive is valid for MSVC only. So, the DirectX detection
fails in mingw. The failure is fixed by adding the required linking library
(here d3d11) in the try_compile() function in OpenCVDetectDirectX.cmake file.
Also add a message if the first DirectX check fails.

* gapi: Fix compilation with mingw

These changes remove MSVC specific pragma directive. The compilation fails at
linking time due to absence of proper linking library. The required libraries
are added in corresponding CMakeLists.txt file.

* samples: Fix compilation with mingw

These changes remove MSVC specific pragma directive. The compilation fails at
linking time due to absence of proper linking library. The required libraries
are added in corresponding CMakeLists.txt file.
2022-10-03 08:37:36 +03:00
.github build: harden arm64-build-checks.yml permissions 2022-09-19 21:01:34 +02:00
3rdparty Fix multiple sdtlib linkage warning on Windows with MSVS. 2022-09-27 14:13:30 +03:00
apps Add new params 2022-08-05 15:08:16 +03:00
cmake Merge pull request #22462 from Biswa96:fix-directx-check 2022-10-03 08:37:36 +03:00
data fix files permissions 2020-04-13 04:29:55 +00:00
doc added opencv for openvino tutorial 2022-09-28 12:05:28 +02:00
include exclude opencv_contrib modules 2020-02-26 15:12:45 +03:00
modules Merge pull request #22462 from Biswa96:fix-directx-check 2022-10-03 08:37:36 +03:00
platforms riscv: use /opt/riscv path in toolchain 2022-09-26 10:50:01 +00:00
samples Merge pull request #22462 from Biswa96:fix-directx-check 2022-10-03 08:37:36 +03:00
.editorconfig add .editorconfig 2018-10-11 17:57:51 +00:00
.gitattributes cmake: generate and install ffmpeg-download.ps1 2018-06-09 13:19:48 +03:00
.gitignore Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
CMakeLists.txt Merge pull request #22372 from ocpalo:libjpegturbo_nasm 2022-09-14 09:08:28 +03:00
CONTRIBUTING.md migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
COPYRIGHT copyright: 2022 2022-01-04 12:49:15 +00:00
LICENSE copyright: 2022 2022-01-04 12:48:27 +00:00
README.md fix 4.x links 2021-12-22 13:24:30 +00:00
SECURITY.md Added SECURITY.md 2019-11-07 13:10:42 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.