Ilya Lavrenov
6677f81779
fixed lintian warnings
9 years ago
Alexander Alekhin
c6be51eecd
cmake: fix JNI configuration problem for Android samples
...
Some CMake 3.x (2.8.12.2 is fine) provides broken build configurations
with following build error message:
ld: fatal error: -soname: must take a non-empty argument
Linker command line sample contains this:
"-shared -Wl,-soname, -o"
9 years ago
Alexander Alekhin
777e1d38ba
cmake: fix JNI configuration problem for Android samples
...
Some CMake 3.x (2.8.12.2 is fine) provides broken build configurations
with following build error message:
ld: fatal error: -soname: must take a non-empty argument
Linker command line sample contains this:
"-shared -Wl,-soname, -o"
9 years ago
Tomoaki Teshima
addb15383a
fix run time error
9 years ago
Alexander Alekhin
f4ebc504d1
cmake: refactor HAL attaching process
9 years ago
Alexander Smorkalov
9fee699693
Fixed package-contains-timestamped-gzip lintian warning for Debian packages.
9 years ago
Tomoaki Teshima
15f8bc6f37
fix cmake
...
* enable fp16 feature correctly with gcc on x86/x86_64
9 years ago
Vladislav Sovrasov
a2d0cc878c
Implement internal HAL for GEMM and matrix decompositions
9 years ago
Alexander Smorkalov
a8b2b4dba1
Packaging fixes for Ubuntu 16.04.
9 years ago
Guy Sheffer
0a48b9ae77
Fix #6500 cmake bug that adds D_FORCE_INLINES to NVCC
9 years ago
Tomoaki Teshima
b2ad7cd9c0
add feature to convert FP32(float) to FP16(half)
...
* check compiler support
* check HW support before executing
* add test doing round trip conversion from / to FP32
* treat array correctly if size is not multiple of 4
* add declaration to prevent warning
* make it possible to enable fp16 on 32bit ARM
* let the conversion possible on non-supported HW, too.
* add test using both HW and SW implementation
9 years ago
Maksim Shabunin
fb598bb76a
Disabled PCH support for gcc >= 6.0.0
...
Command line generation routine uses "-isystem" to include headers outside of "<opencv>/modules" folder, but GCC 6 does not work when passed "-isystem /usr/include" option.
9 years ago
Maksim Shabunin
a0fdc91a14
Disabled PCH support for gcc >= 6.0.0
...
Command line generation routine uses "-isystem" to include headers outside of "<opencv>/modules" folder, but GCC 6 does not work when passed "-isystem /usr/include" option.
9 years ago
Alexander Alekhin
9393a0c5bb
cmake: don't use -isystem for opencv_contrib paths
9 years ago
qiao
a7fe73f284
fix OpenCV_CONFIG_PATH get null value after CMake 2.8.11
...
syntax of cmake "get_filename_component" changed after version 2.8.11
for cmake version < 2.8.11
get_filename_component(<VAR> <FileName> PATH [CACHE])
for cmake version >= 2.8.11
get_filename_component(<VAR> <FileName> DIRECTORY [CACHE])
Update OpenCVConfig.cmake
Update OpenCVConfig.cmake.in
9 years ago
Xiaolei Yu
40eb613bbf
Make install paths relative to CMAKE_INSTALL_PREFIX
9 years ago
Vitaly Tuzov
96903dc4ad
Test data necessary for python samples added to test package.
...
Test launch script updated to run new tests as well.
9 years ago
Maksim Shabunin
d2e451e877
Ported VTK cmake detection from master branch
9 years ago
Alexander Smorkalov
9c4204b89e
Added check if debian package version matches version from version.hpp
9 years ago
Alexander Alekhin
b2ca10a81f
cmake: fix find_library() for bzip2
9 years ago
Alexander Alekhin
87bbaa2c27
ocl: OpenCL headers are located in "CL" subfolder (3rdparty/include)
9 years ago
Alexander Alekhin
c10c8db97d
cmake: skip checks for host paths on cross-compilation (5897)
9 years ago
atinfinity
cf43790a27
added cmakedefine to cmake/templates/cvconfig.h.in
9 years ago
atinfinity
db6e095fcc
added cmakedefine to cmake/templates/cvconfig.h.in
9 years ago
atinfinity
69eaa89e22
fixed to use NVCUVID in 'cudacodec' module.
9 years ago
atinfinity
ed8368fed7
fixed to use NVCUVID in 'cudacodec' module.
9 years ago
Matt Leotta
912592de4c
Remove "INSTALL_NAME_DIR lib" target property
...
The INSTALL_NAME_DIR property of a target specifies how a dynamic library should
be found on OS X. If INSTALL_NAME_DIR is not specified the loader will search
relative to the standard search paths. If specified it should either be
an absolute path or relative path prefixed with either @executable_path ,
@load_path , or @rpath . Specifying "lib" does not make sense here and
causes linking error as documented here:
http://answers.opencv.org/question/4134/cmake-install_name_tool-absolute-path-for-library-on-mac-osx/
and here
http://stackoverflow.com/questions/26978806/dyld-library-not-loaded-lib-libopencv-core-3-0-dylib-reason-image-not-found
This patch removes INSTALL_NAME_DIR everywhere it is set to "lib".
An alternate solution would be to set an absolute path like
"${CMAKE_INSTALL_PREFIX}/lib" or relative path like
"@executable_path/../lib". However, if there is not specific need for
specifying a path, it is probably best left unset.
9 years ago
Alexander Smorkalov
5a5378b3bf
Added lintian overrides for package signature entry.
9 years ago
Alexander Alekhin
9bee835dac
cmake: fix python detection
9 years ago
Alexander Alekhin
8f37a3a37c
cmake: make ocv_cmake_dump_vars() case insensitive
9 years ago
Alexander Alekhin
9cd6731894
cmake: add DEBUG_PRE/DEBUG_POST commands handling
...
Useful for debug purposes:
cmake -DDEBUG_POST="ocv_cmake_dump_vars(CUDA)" .
cmake -DCMAKE_PRE="ocv_cmake_dump_vars(\"OPENCL|opencl\")" .
9 years ago
Alexander Alekhin
c35ddcba1a
cmake: refactor OpenCL detection, allow custom configurations
9 years ago
Alexander Alekhin
c8ff7a4867
build: fix opencv_world with CUDA
9 years ago
Dan Moodie
64a57f7c38
Support for opengl2 in vtk 7.1
9 years ago
atinfinity
d16723f493
changed to find TBB library(VS2015)
9 years ago
atinfinity
c4e80952ce
changed to find TBB library(VS2015)
9 years ago
Alexander Alekhin
24dbb43c09
pkg-config: modules list contains only OpenCV modules ( fixes #5852 )
9 years ago
Philip
e85b23573b
[master] Fixed PCH warning during ARM crosscompilation
...
#5858 for master
9 years ago
Maksim Shabunin
46edb54ac3
Fixed PCH warning during ARM crosscompilation
9 years ago
Alexander Alekhin
2f4b334ef2
fix MSVS2010 builds
9 years ago
Alexander Alekhin
d34297b516
fix include path for windows package
9 years ago
Gregory Morse
af5bec70cd
merge Win10/VS2015 changes
9 years ago
Vincent Rabaud
932043fdc2
Properly check for version in find_package
...
If I ask for version 2, the current trunk version (version 3), will say it is compatible, which is erroneous.
Do not consider different major versions compatible in cmake config file
9 years ago
Alexander Alekhin
be23846c4e
update osx and ios build_framework.py
9 years ago
Maksim Shabunin
84f37d352f
HAL moved back to core
9 years ago
Alexander Alekhin
f0c14888d5
fixes #5018 : fix framework links in opencv.pc (MacOS)
9 years ago
Alexander Alekhin
5d346128f7
workaround: cvconfig.h doesn't work with hal at this moment
9 years ago
Alexander Alekhin
2bfad68812
pkg-config: remove $<LINK_ONLY:...> expressions
9 years ago
Alexander Alekhin
7afce8e003
world build: fix modules instantiation order
...
opencv_hal before opencv_world
opencv_world before opencv_ts
9 years ago
Alexander Alekhin
fe2f5c175a
distrib: remove useless static files from shared distribution package
9 years ago