mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 16:35:09 +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 |
||
---|---|---|
.. | ||
cuda | ||
opencl | ||
algorithm.cpp | ||
alloc.cpp | ||
arithm_core.hpp | ||
arithm_simd.hpp | ||
arithm.cpp | ||
array.cpp | ||
bufferpool.impl.hpp | ||
command_line_parser.cpp | ||
conjugate_gradient.cpp | ||
convert.avx2.cpp | ||
convert.cpp | ||
convert.fp16.cpp | ||
convert.hpp | ||
convert.sse4_1.cpp | ||
copy.cpp | ||
cuda_gpu_mat.cpp | ||
cuda_host_mem.cpp | ||
cuda_info.cpp | ||
cuda_stream.cpp | ||
datastructs.cpp | ||
directx.cpp | ||
directx.inc.hpp | ||
downhill_simplex.cpp | ||
dxt.cpp | ||
gl_core_3_1.cpp | ||
gl_core_3_1.hpp | ||
glob.cpp | ||
hal_internal.cpp | ||
hal_internal.hpp | ||
hal_replacement.hpp | ||
intel_gpu_gemm.inl.hpp | ||
kmeans.cpp | ||
lapack.cpp | ||
lda.cpp | ||
lpsolver.cpp | ||
mathfuncs_core.dispatch.cpp | ||
mathfuncs_core.simd.hpp | ||
mathfuncs.cpp | ||
matmul.cpp | ||
matop.cpp | ||
matrix_decomp.cpp | ||
matrix.cpp | ||
merge.cpp | ||
ocl_deprecated.hpp | ||
ocl.cpp | ||
opengl.cpp | ||
out.cpp | ||
ovx.cpp | ||
parallel_pthreads.cpp | ||
parallel.cpp | ||
pca.cpp | ||
persistence.cpp | ||
precomp.hpp | ||
rand.cpp | ||
softfloat.cpp | ||
split.cpp | ||
stat.cpp | ||
stat.dispatch.cpp | ||
stat.simd.hpp | ||
stl.cpp | ||
system.cpp | ||
tables.cpp | ||
trace.cpp | ||
types.cpp | ||
umatrix.cpp | ||
va_intel.cpp |