- 22 May, 2015 2 commits
-
-
Maksim Shabunin authored
-
Samuel Martin authored
Using absolute path to locate the components in the "Libs:" field of the *.pc can badly break cross-compilation, especially when building statically linked objects. Indeed, pkg-config automatically replaces the '-I...' and '-L...' paths when the PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_LIBDIR environment variables are set [1]. This feature is very helpful and common in cross-compilation framework like Buildroot [2,3]. When there are absolute paths in the *.pc files, pkg-config won't be able to do the path substitutions for these paths when the aforementioned environment variables are set. In such case, since the prefix is the target one, not the sysroot one, these libraries' absolute paths will point to: - in the best case: a non-existing file (i.e. these files do not exists on the host system; - at worst: the host system's libraries. This will make the linking failed because these host system's libraries will most likely not be build for the target architecture [4]. So, this patch replace the components' absolute paths by the form: -L<libdir> -l<libname> This way, the linker will be able to resolve each dependency path, whatever the kind of objects/build (shared object or static build) it is dealing with. Note that for static link, the library order does matter [5]. The order of the opencv components has been carefully chosen to comply with this requirement. Fixes #3931 This patch is a port of [6] on the master branch. [1] http://linux.die.net/man/1/pkg-config [2] http://buildroot.org/ [3] http://git.buildroot.net/buildroot/tree/package/pkgconf/pkg-config.in [4] http://autobuild.buildroot.net/results/e8a/e8a859276db34aff87ef181b0cce98916b0afc90/build-end.log [5] http://stackoverflow.com/questions/45135/linker-order-gcc [6] https://github.com/Itseez/opencv/commit/eceada586bbf18fc267e437522ec4f1f23ddc656Signed-off-by:
Samuel Martin <s.martin49@gmail.com>
-
- 21 May, 2015 8 commits
-
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
another attempt to make the MSER test pass. removed possible randomization in parameters from run to run
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
added reasonable test for MSER (including coverage for http://code.opencv.org/issues/4273, http://code.opencv.org/issues/1723 and http://code.opencv.org/issues/756); also, added some "in-progress" info to the Features2d_Feature2d.no_crash test.
-
Vadim Pisarevsky authored
-
- 20 May, 2015 2 commits
-
-
Piotr Dobrowolski authored
-
Vadim Pisarevsky authored
-
- 19 May, 2015 2 commits
-
-
Andrey Pavlenko authored
Revert of "Merge pull request #4006 from sgjava:opencv-steve" (reverted from commit 47431840)
-
Andrey Pavlenko authored
Revert of "Merge pull request #4014 from sgjava:opencv-sgjava" (reverted from commit 52fa55a7)
-
- 18 May, 2015 9 commits
-
-
https://github.com/zenev/opencvzenev authored
-
zenev authored
-
Vadim Pisarevsky authored
-
Maksim Shabunin authored
-
-
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vladislav Vinogradov authored
-
- 17 May, 2015 2 commits
-
-
Dikay900 authored
-
Vadim Pisarevsky authored
-
- 16 May, 2015 3 commits
-
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
- 15 May, 2015 9 commits
-
-
Vadim Pisarevsky authored
-
Maxim Kostin authored
Added sample Windows Universal application (UAP) using videoio logic for video preview and processing. Signed-off-by:
Maxim Kostin <v-maxkos@microsoft.com>
-
Maxim Kostin authored
Signed-off-by:
Maxim Kostin <v-maxkos@microsoft.com>
-
Maxim Kostin authored
Signed-off-by:
Maxim Kostin <v-maxkos@microsoft.com>
-
Maxim Kostin authored
Signed-off-by:
Maxim Kostin <v-maxkos@microsoft.com>
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
Vadim Pisarevsky authored
-
- 14 May, 2015 3 commits
-
-
Vadim Pisarevsky authored
-
-
Vadim Pisarevsky authored
-