Roman Donchenko
e2ef2a5781
Refactored image format library finding logic.
...
Now the HAVE_* macros are set in cvconfig.h. Most of them already were there,
but were nonfunctional.
12 years ago
Roman Donchenko
ca8b621b4f
Refactored detecting several Apple-related technologies.
...
Now the HAVE_* macros are set using cvconfig.h. Previously most
of them already were there, but were always undefined. One,
HAVE_COCOA, I had to add.
This also makes the CMake code more consistent; now, WITH_* variables
are always checked in cmake/*, while HAVE_* variables are checked in
modules/highgui/CMakeLists.txt.
12 years ago
Roman Donchenko
4f9554eead
Removed a few more unused configuration macros.
...
I've left HAVE_LIBPTHREAD as a CMake variable, since TBB's build depends on it.
Some macros in internal.hpp depended on HAVE_ALLOCA_H, but they were, in turn,
unused, so I've just deleted them all.
12 years ago
Roman Donchenko
2d9b3a8334
Deleted a bunch of unused configuration macros.
12 years ago
Philippe FOUBERT
639450efdc
PvAPI support on Windows with MinGW (PR #1038 applied to the branch 2.4)
12 years ago
Roman Donchenko
37d19b9c46
Pass the HAVE_QT* flags through the config header, like all others.
...
I don't know why it didn't work for the original author, but it definitely
works now.
12 years ago
peng xiao
9ecbce0111
Fix cmake path finding for amd libs.
...
There is no WIN64 defined in the environment.
12 years ago
Vladislav Vinogradov
371a9cd833
fixed build with CUDA 5.5 on arm platforms
12 years ago
Gabe Schwartz
bce1b352e7
Updated cmake files to use print().
...
In these cases, just using print() is enough to ensure py2/3
compatibility.
12 years ago
Vladislav Vinogradov
055137582c
fix for bug #2985 :
...
OPENCLAMDBLAS and OPENCLAMDFFT never detected under linux.
lib64/import and lib32/import is the path on Windows but not Linux.
for CLAMDBLAS library we should use CLAMDBLAS_PATH (not CLAMDFFT_PATH)
12 years ago
Andrew Senin
8eb6decb25
Fixed Ximea cameras support
12 years ago
Roman Donchenko
33d1f67501
Include the OpenCV config headers into every module.
...
This has no bearing on compilation, but it makes them show up in IDEs.
12 years ago
Vladislav Vinogradov
9488ed46ee
fixed compiler warning
...
removed -fvisibility-inlines-hidden compiler option for CUDA sources
12 years ago
Vladislav Vinogradov
3eeaa9189c
Revert "Revert "Merge pull request #836 from jet47:gpu-modules""
12 years ago
Roman Donchenko
8714cbac91
Fix a missing header path when building with Qt 4.
...
Also, removing explicit include path configuration,
since QT_USE_FILE takes care of that.
12 years ago
Roman Donchenko
985bfea556
Don't resolve symlinks when looking for modules.
...
We don't really need it, it makes the code longer, and it can lead to
inconsistent paths when OpenCV is itself inside a symlink.
12 years ago
Vladislav Vinogradov
09a7e86a39
fixed NPP library search (it was splitted)
12 years ago
Andrey Pavlenko
081c47e3df
making the comment less ambigous
12 years ago
Andrey Pavlenko
6f006e50dc
setting 'char' to be signed by default since some tests fail when it's wrong (e.g. native compilation on ARM Linux)
12 years ago
Alexander Smorkalov
20fef00a77
android -> plarforms/android
12 years ago
Dominik Rose
86ec9b79fd
libd1394 2.x support for mingw on windows added
12 years ago
Andrey Kamaev
b8ed00bd64
Compile OpenCV with GCC visibility set to hidden
12 years ago
Andrey Kamaev
f856f78ac0
Update CMake scripts to recognize Qt 5.0
12 years ago
Andrey Kamaev
2665c39a0d
Fix build warnings from gcc 4.8
12 years ago
Andrey Kamaev
60059a7aa0
Improve handling of native_app_glue dependency in Android samples
12 years ago
Andrey Pavlenko
108bb811c5
fixing precommit build on ubuntu-64 (now it takes OCL headers from non-default OCL SDK, but libs from default one)
12 years ago
Andrey Kamaev
416fb50594
Revert "Merge pull request #836 from jet47:gpu-modules"
...
This reverts commit fba72cb60d
, reversing
changes made to 02131ffb62
.
12 years ago
Vladislav Vinogradov
1b00a3ed54
gpucodec module for video decoding/encoding
12 years ago
Roman Donchenko
bd6f80faf3
Redo the Sphinx check to do the same thing on all platforms.
...
This also fixes the bug where the Sphinx version gets detected as
"Sphinx vX.Y.Z" instead of "X.Y.Z" on Unix-like systems.
12 years ago
Andrey Kamaev
8f32902ce6
Minimize usages of legacy C API inside the library
12 years ago
Andrey Kamaev
b2ba8b9969
Drop old python interface
12 years ago
Andrey Kamaev
8406312571
Remove C API from OpenCL module
12 years ago
yao
61e041673e
remove the OpenCL Dir finding in CMake
12 years ago
Dirk Van Haerenborgh
caa9ac4ed9
fix installation of main module headers
...
see: http://code.opencv.org/issues/2897
The order of the 2 conditions is really important, as every MATCHES
operator sets ${CMAKE_MATCH_1}, which is needed inside the condition
block. Ideally, this should be done using a single regex with a
negative forward lookahead, but CMake doesn't seem to support this
12 years ago
Roman Donchenko
e8721f1f6f
Automatically add CUDA support to a module if it has CUDA sources.
...
Backport from master.
12 years ago
Vladislav Vinogradov
28b1e81883
renamed device -> cuda
12 years ago
Andrey Kamaev
0738ea7d0f
Make highgui.hpp independent from C API
12 years ago
Andrey Kamaev
d3083ecf6d
Fix bitness detection for target platform
12 years ago
Andrey Kamaev
fa64f28c6b
Fix binary directory used in CMake try_compile commands
...
Old paths can have problems with cross-compilation
12 years ago
Alexander Smorkalov
36367ec027
Several fixes android related fixes
...
Native activity build warning fixed;
Logcat messages for JavaCameraView updated (Bug #2876 );
Some fixes for feature #2893 done.
12 years ago
Andrey Kamaev
2c57445ffe
Improve CMake checks for the OpenGL availability
...
Issue #2868
12 years ago
Andrey Kamaev
bf3264b197
Add missed CMake include for check_include_file
...
Issue #2820
12 years ago
Andrey Kamaev
18536fe8f9
Fix target platform detection for x64 MinGW
12 years ago
Alexander Smorkalov
a2561ee0cd
Code review notes fixed.
12 years ago
Vladislav Vinogradov
870563ba25
fixed compilation warning for CUDA files
...
command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C [enabled by default]
12 years ago
Alexander Smorkalov
4703f4552a
Experimental MS Media Foundation API support added
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
Misty De Meo
e143706ef9
Fix ant/Java detection in cmake scripts
...
Mac OS X 10.7 and newer don't come with Java installed. They do
include some stub binaries, which ask the user if they want to
install Java when run.
OpenCV's cmake script just checks for the existence of an ant
binary and assumes that Java's available if ant is. As a result,
cmake will configure the build to use Java and it will fail once
it tries to compile the Java bindings.
This fixes the issue by checking for the exit status of
`ant -version` - it exits 0 if Java is installed, or 1
otherwise.(cherry picked from commit a423afddc1
)
12 years ago
Alexander Smorkalov
09bc99a0c0
HAVE_WIN32UI and HAVE_VFW checks and defines added.
12 years ago
Alexander Smorkalov
6f68640d4d
Multiple fixes for WinRT
...
Fixed flann build with NEON;
Fixed Haming distance with NEON;
Honest cvRound for WinRT added;
cvRound test added;
Video IO with direct show disabled;
12 years ago