mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
d30a0c6f03
* Update OpenCVCompilerOptimizations.cmake Neon not supported on MSVC ARM breaking build fix * Update OpenCVCompilerOptimizations.cmake Whitespace * Update intrin.hpp Many problems in MSVC ARM builds (at least on VS2017) being fixed in this PR now. C:\Users\Gregory\DOCUME~1\MYLIBR~1\OPENCV~3\opencv\sources\modules\core\include\opencv2/core/hal/intrin.hpp(444): error C3861: '_tzcnt_u32': identifier not found * Update hal_replacement.hpp Passing variadic expansion in a macro to another macro does not work properly in MSVC and a famous known workaround is hereby applied. Discussion of it: https://stackoverflow.com/questions/5134523/msvc-doesnt-expand-va-args-correctly Only needed the fix for ARM builds: TEGRA_ macros are used for cv_hal_ functions in the carotene library. C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): warning C4003: not enough actual parameters for macro 'TEGRA_ADD' C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2143: syntax error: missing ')' before ',' C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2059: syntax error: ')' * Update hal_replacement.hpp All hal_replacement's using carotene\hal\tegra_hal.hpp TEGRA_ functions as macros preprocessed by variadic macros should be changed, identical as was done in core. C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): warning C4003: not enough actual parameters for macro 'TEGRA_CVTBGRTOBGR' C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): error C2059: syntax error: '==' * Update OpenCVCompilerOptimizations.cmake * Update hal_replacement.hpp * Update hal_replacement.hpp |
||
---|---|---|
.. | ||
checks | ||
FindCUDA | ||
templates | ||
cl2cpp.cmake | ||
copyAndroidLibs.cmake | ||
FindCUDA.cmake | ||
FindGstreamerWindows.cmake | ||
FindOpenVX.cmake | ||
FindPylint.cmake | ||
OpenCVCompilerDefenses.cmake | ||
OpenCVCompilerOptimizations.cmake | ||
OpenCVCompilerOptions.cmake | ||
OpenCVCRTLinkage.cmake | ||
OpenCVDetectAndroidSDK.cmake | ||
OpenCVDetectApacheAnt.cmake | ||
OpenCVDetectCStripes.cmake | ||
OpenCVDetectCUDA.cmake | ||
OpenCVDetectCXXCompiler.cmake | ||
OpenCVDetectDirectX.cmake | ||
OpenCVDetectHalide.cmake | ||
OpenCVDetectMediaSDK.cmake | ||
OpenCVDetectOpenCL.cmake | ||
OpenCVDetectPython.cmake | ||
OpenCVDetectTBB.cmake | ||
OpenCVDetectTrace.cmake | ||
OpenCVDetectVTK.cmake | ||
OpenCVDownload.cmake | ||
OpenCVExtraTargets.cmake | ||
OpenCVFindAtlas.cmake | ||
OpenCVFindIntelPerCSDK.cmake | ||
OpenCVFindIPP.cmake | ||
OpenCVFindIPPAsync.cmake | ||
OpenCVFindIPPIW.cmake | ||
OpenCVFindLAPACK.cmake | ||
OpenCVFindLATEX.cmake | ||
OpenCVFindLibProtobuf.cmake | ||
OpenCVFindLibsGrfmt.cmake | ||
OpenCVFindLibsGUI.cmake | ||
OpenCVFindLibsPerf.cmake | ||
OpenCVFindLibsVideo.cmake | ||
OpenCVFindMatlab.cmake | ||
OpenCVFindMKL.cmake | ||
OpenCVFindOpenBLAS.cmake | ||
OpenCVFindOpenEXR.cmake | ||
OpenCVFindOpenNI2.cmake | ||
OpenCVFindOpenNI.cmake | ||
OpenCVFindVA_INTEL.cmake | ||
OpenCVFindVA.cmake | ||
OpenCVFindWebP.cmake | ||
OpenCVFindXimea.cmake | ||
OpenCVGenABI.cmake | ||
OpenCVGenAndroidMK.cmake | ||
OpenCVGenConfig.cmake | ||
OpenCVGenHeaders.cmake | ||
OpenCVGenInfoPlist.cmake | ||
OpenCVGenPkgconfig.cmake | ||
OpenCVMinDepVersions.cmake | ||
OpenCVModule.cmake | ||
OpenCVPackaging.cmake | ||
OpenCVPCHSupport.cmake | ||
OpenCVPylint.cmake | ||
OpenCVUtils.cmake | ||
OpenCVVersion.cmake |