diff --git a/.gitignore b/.gitignore index 004deaf..9e7a1c3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,10 @@ .idea settings.xml target +.classpath +.project +.settings/org.eclipse.core.resources.prefs +.settings/org.eclipse.jdt.core.prefs +.settings/org.eclipse.m2e.core.prefs +opencv/** +.metadata/ diff --git a/.travis.yml b/.travis.yml index 5a222d5..56042fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ branches: only: - master - - stable + - develop language: java diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..4969847 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,22 @@ +# Issues, Bug Reports, and Feature Requests + +* When creating a new Issue, first search to see if it has already been filed. +* Bug reports must include the following or will be deleted: + * Steps to reproduce. + * Expected result. + * Actual result. + * A Short, Self Contained, Correct, Example: http://sscce.org/ + * Notes, log files, screen captures, videos, etc. to show the problem. + +# Code Contributions and Pull Requests + +Before starting work on a pull request, please read: https://github.com/openpnp/openpnp/wiki/Developers-Guide#contributing + +Summary of guidelines: + +* One pull request per issue, bug or feature. +* Describe the change in detail and why it is needed. +* Follow the coding style. +* Include tests and documentation. +* Run and pass the tests. +* Think of how this affects other users. diff --git a/README.md b/README.md index 13515a0..93868e6 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,38 @@ -# OpenCV 2.4.9 (packaged by [Pattern](http://pattern.nu)) - -[![Build Status](https://travis-ci.org/PatternConsulting/opencv.svg?branch=master)](https://travis-ci.org/PatternConsulting/opencv) +# OpenCV 4.3.0 (packaged by [OpenPnP](http://openpnp.org)) [OpenCV](http://opencv.org) Java bindings packaged with native libraries, seamlessly delivered as a turn-key Maven dependency. +## Fork Notes + +### Soft Fork + +This is a soft fork of Pattern's OpenCV package at https://github.com/PatternConsulting/opencv. +That package has not been maintained in quite some time and I needed updated OpenCV +binaries for OpenPnP. I intend to maintain this fork for the foreseeable future +or until Pattern resumes maintenance of their package. + +### Backwards Compatibility + +I have left the source code packages and directories the same (nu.pattern) +and only changed the Maven coordinates in the pom.xml. This way the package +remains backwards compatible and it is very easy to switch between the +OpenPnP version and the Pattern version. + +### Maven + +To use this fork in your project, instead of the Pattern one, simply add +the same dependency but with the groupId org.openpnp instead of nu.pattern. + +### Scala + +I'm not uploading Scala artifacts as I don't know or use Scala. If someone +wants to maintain that portion of the package, let me know. + ## Usage ### Project -Pattern's OpenCV package is added to your project as any other dependency. +OpenPnP's OpenCV package is added to your project as any other dependency. #### [Maven](http://maven.apache.org/) @@ -22,9 +46,9 @@ Pattern's OpenCV package is added to your project as any other dependency. - nu.pattern + org.openpnp opencv - 2.4.9-7 + 4.3.0-0 @@ -36,16 +60,6 @@ Pattern's OpenCV package is added to your project as any other dependency. ``` -#### [SBT](http://scala-sbt.org) - -```scala -// ... - -libraryDependencies += "nu.pattern" % "opencv" % "2.4.9-7" - -// ... -``` - ### API Typically, using the upstream [OpenCV Java bindings involves loading the native library](http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html#java-sample-with-ant) as follows: @@ -62,7 +76,7 @@ This call will—exactly once per class loader—first attempt to load from the This approach keeps most clients decoupled from Pattern's package and loader. As long as this is done sufficiently early in execution, any library using the OpenCV Java bindings can use the usual load call as documented by the OpenCV project. -There are, however, cases where Java class loaders are frequently changing (_e.g._, application servers, SBT projects, Scala worksheets), and [spurious attempts to load the native library will result in JNI errors](https://github.com/PatternConsulting/opencv/issues/7). As a partial work-around, this package offers an alternative API, [`nu.pattern.OpenCV.loadLocal()`](https://github.com/PatternConsulting/opencv/blob/master/src/main/java/nu/pattern/OpenCV.java), which—also exactly once per class loader—extracts the binary appropriate for the runtime platform, and passes it to `System#load(String)`. Ultimately, this may eventually load the library redundantly in the same JVM, which could be unsafe in production. Use with caution and understand the implications. +There are, however, cases where Java class loaders are frequently changing (_e.g._, application servers, SBT projects, Scala worksheets), and [spurious attempts to load the native library will result in JNI errors](https://github.com/PatternConsulting/opencv/issues/7). As a partial work-around, this package offers an alternative API, [`nu.pattern.OpenCV.loadLocally()`](https://github.com/PatternConsulting/opencv/blob/master/src/main/java/nu/pattern/OpenCV.java), which—also exactly once per class loader—extracts the binary appropriate for the runtime platform, and passes it to `System#load(String)`. Ultimately, this may eventually load the library redundantly in the same JVM, which could be unsafe in production. Use with caution and understand the implications. It's recommended developers using any JNI library read further: @@ -87,20 +101,25 @@ Producing native binaries is the most cumbersome process in maintaining this pac The following platforms are supported by this package: +**IMPORTANT NOTE**: On Windows the Desktop Experience Feature is required because the opencv DLL is linked against several of the libraries provided by the Desktop Experience Feature. If the Desktop Experience Feature is not installed the opencv DLL will fail to load. + OS | Architecture --- | --- OS X | x86_32 OS X | x86_64 Linux | x86_64 Linux | x86_32 +Windows | x86_32 (w/ Desktop Experience Feature) +Windows | x86_64 (w/ Desktop Experience Feature) If you can help create binaries for additional platforms, please see notes under [_Contributing_](#contributing). ## Credits -This package is maintained by [Michael Ahlers](http://github.com/michaelahlers). +This package is maintained by [Jason von Nieda](http://github.com/vonnieda). ## Acknowledgements -- [Greg Borenstein](https://github.com/atduskgreg), who's advice and [OpenCV for Processing](https://github.com/atduskgreg/opencv-processing) project informed this package's development. +- [Michael Ahlers](http://github.com/michaelahlers), for originally creating and maintaining this project. +- [Greg Borenstein](https://github.com/atduskgreg), whose advice and [OpenCV for Processing](https://github.com/atduskgreg/opencv-processing) project informed this package's development. - [Alex Osborne](https://github.com/ato), for helpful [utility class producing temporary directories with Java NIO that are properly garbage-collected on shutdown](https://gist.github.com/ato/6774390). diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..8d8650e --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,88 @@ +# Releasing a New Version + +## Prepare + +1. Download OpenCV Linux/OSX source and Windows binary release to opencv/. Should be a ZIP and a EXE. +2. Unzip source ZIP to create opencv/opencv-VERSION. +3. Run ./create-targets.sh VERSION (e.g. ./create-targets 3.0.0) to create all of the target directories under opencv/opencv-VERSION/target. +4. Update pom.xml, OpenCV.java and README.md with new versions. + +## Build OSX and Java Targets + +1. Make sure Java is 1.7: `java -version`, `export JAVA_HOME=$(/usr/libexec/java_home -v1.7)` +2. `cd opencv/opencv-VERSION/target/osx/x86_64` +3. `cmake -D BUILD_SHARED_LIBS=OFF -D WITH_EIGEN=OFF -D WITH_FFMPEG=OFF -D WITH_JAVA=ON ../../.. > cmake.log` +4. `make -j8` +5. `./copy-resources VERSION`. It won't finish, but it should get far enough. +6. `mvn clean test`. + +## Build Linux Targets + +``` +sudo apt update -y +sudo apt full-upgrade -y +sudo reboot +sudo apt install default-jdk ant maven git cmake g++ open-vm-tools open-vm-tools-desktop -y +sudo reboot +sudo vmhgfs-fuse .host:/ /mnt/ -o allow_other -o uid=1000 +cd /mnt/opencv/opencv/opencv-VERSION/target/linux/x86_64 +cmake -D BUILD_SHARED_LIBS=OFF -D WITH_EIGEN=OFF -D WITH_FFMPEG=OFF -D WITH_JAVA=ON ../../.. > cmake.log +make -j8 +``` + +## Linux/Arm for Raspberry Pi + +* Install packages: +``` +sudo apt-get update && sudo apt-get install oracle-java8-jdk cmake ant +sudo apt-get install build-essential cmake pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4 libtiffxx0c2 libtiff-tools libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs libavcodec-dev libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libunicap2 libunicap2-dev libdc1394-22-dev libdc1394-22 libdc1394-utils swig libv4l-0 libv4l-dev +``` +* Change .bashrc to set JAVA_HOME, ANT_HOME and paths: + +``` +export ANT_HOME=/usr/share/ant/ +export PATH=${PATH}:${ANT_HOME}/bin +export JAVA_HOME=/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/ +export PATH=$PATH:$JAVA_HOME/bin +``` + +* Download opencv: + +``` +wget https://github.com/opencv/opencv/archive/3.2.0.zip +mv 3.2.0 opencv.zip +unzip opencv.zip +cd opencv-3.2.0/ +``` + +* Finally build using cmake: +``` +mkdir build +cd build +cmake -D BUILD_SHARED_LIBS=OFF -D WITH_EIGEN=OFF -D WITH_FFMPEG=OFF -D WITH_JAVA=ON -D WITH_OPENCL=OFF -D BUILD_PERF_TESTS=OFF -D JAVA_INCLUDE_PATH=$JAVA_HOME/include -D JAVA_AWT_LIBRARY=$JAVA_HOME/jre/lib/amd64/libawt.so -D JAVA_JVM_LIBRARY=$JAVA_HOME/jre/lib/arm/server/libjvm.so -D CMAKE_INSTALL_PREFIX=/usr/local .. +make +make install +``` + +* libopencv_java320.so can now be found in build/libs + +## Unpack Windows Binaries + +1. In a Windows VM, double click the Windows EXE downloaded previously. It will +ask where to extract. Choose opencv/opencv-VERSION/target/windows. +2. In the host OS, `./copy-resources VERSION`. +3. Back in the VM, `mvn clean test` + +## Finish + +1. Commit the updates to develop. +2. Merge develop into master. +3. Push to Sonatype: + 1. Read http://central.sonatype.org/pages/apache-maven.html + 2. `export GPG_TTY=$(tty)` + 3. `mvn clean deploy -P release-sign-artifacts` + 4. Check it's good at https://oss.sonatype.org/ + 5. Release with `mvn nexus-staging:release` + 6. Or reset with `mvn nexus-staging:drop` +4. `git tag vVERSION-RELEASE` (e.g. `git tag v3.0.0-1`) + diff --git a/copy-resources.sh b/copy-resources.sh new file mode 100755 index 0000000..f3152e8 --- /dev/null +++ b/copy-resources.sh @@ -0,0 +1,46 @@ +VERSION=$1 +SHORT_VERSION=`echo $VERSION | tr -d .` +BASE_DIR=opencv/opencv-$VERSION + +echo "Version: $VERSION" +echo "Short Version: $SHORT_VERSION" +echo "Base Dir: $BASE_DIR" + +# Java +echo "Cleaning up Java..." +rm -f upstream/*.jar +rm -rf upstream/res/* +echo "Copying Java..." +cp $BASE_DIR/target/osx/x86_64/bin/opencv-$SHORT_VERSION.jar upstream +cp $BASE_DIR/target/osx/x86_64/java_test/build/jar/opencv-test.jar upstream +cp -r $BASE_DIR/target/osx/x86_64/java_test/res/* upstream/res + +# OSX +echo "Cleaning up OSX..." +rm -f src/main/resources/nu/pattern/opencv/osx/x86_64/cmake.log +rm -f src/main/resources/nu/pattern/opencv/osx/x86_64/*.dylib +echo "Copying OSX..." +cp $BASE_DIR/target/osx/x86_64/cmake.log src/main/resources/nu/pattern/opencv/osx/x86_64 +cp $BASE_DIR/target/osx/x86_64/lib/libopencv_java$SHORT_VERSION.dylib src/main/resources/nu/pattern/opencv/osx/x86_64 + +# Linux +echo "Cleaning up Linux x86_64..." +rm -f src/main/resources/nu/pattern/opencv/linux/x86_64/cmake.log +rm -f src/main/resources/nu/pattern/opencv/linux/x86_64/*.so +echo "Copying Linux x86_64..." +cp $BASE_DIR/target/linux/x86_64/cmake.log src/main/resources/nu/pattern/opencv/linux/x86_64 +cp $BASE_DIR/target/linux/x86_64/lib/libopencv_java$SHORT_VERSION.so src/main/resources/nu/pattern/opencv/linux/x86_64 + +echo "Cleaning up Linux ARMv8..." +rm -f src/main/resources/nu/pattern/opencv/linux/ARMv8/*.so +echo "Copying Linux ARMv8..." +cp $BASE_DIR/target/linux/ARMv8/lib/libopencv_java$SHORT_VERSION.so src/main/resources/nu/pattern/opencv/linux/ARMv8 + +# Windows +echo "Cleaning up Windows..." +rm -f src/main/resources/nu/pattern/opencv/windows/x86_32/*.dll +rm -f src/main/resources/nu/pattern/opencv/windows/x86_64/*.dll +echo "Copying Windows..." +cp $BASE_DIR/target/windows/opencv/build/java/x86/opencv_java$SHORT_VERSION.dll src/main/resources/nu/pattern/opencv/windows/x86_32 +cp $BASE_DIR/target/windows/opencv/build/java/x64/opencv_java$SHORT_VERSION.dll src/main/resources/nu/pattern/opencv/windows/x86_64 + diff --git a/create-targets.sh b/create-targets.sh new file mode 100755 index 0000000..966e9bb --- /dev/null +++ b/create-targets.sh @@ -0,0 +1,15 @@ +VERSION=$1 +SHORT_VERSION=`echo $VERSION | tr -d .` +BASE_DIR=opencv/opencv-$VERSION + +echo "Version: $VERSION" +echo "Short Version: $SHORT_VERSION" +echo "Base Dir: $BASE_DIR" + +mkdir $BASE_DIR/target +mkdir $BASE_DIR/target/linux +mkdir $BASE_DIR/target/linux/x86_64 +mkdir $BASE_DIR/target/linux/ARMv8 +mkdir $BASE_DIR/target/osx +mkdir $BASE_DIR/target/osx/x86_64 +mkdir $BASE_DIR/target/windows diff --git a/pom.xml b/pom.xml index 589e190..0a48306 100644 --- a/pom.xml +++ b/pom.xml @@ -4,19 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - - org.sonatype.oss - oss-parent - 7 - - - jar - nu.pattern + bundle + org.openpnp opencv - 2.4.9-7 - Pattern OpenCV + 4.3.0-0 + OpenPnP OpenCV OpenCV packaged with native libraries and loader for multiple platforms. - http://github.com/patternconsulting/opencv + http://github.com/openpnp/opencv UTF-8 @@ -74,18 +68,28 @@ - http://github.com/patternconsulting/opencv - scm:git:http://github.com/patternconsulting/opencv.git - scm:git:http://github.com/patternconsulting/opencv.git - v2.4.9-3 + http://github.com/openpnp/opencv + scm:git:http://github.com/openpnp/opencv.git + scm:git:http://github.com/openpnp/opencv.git + v3.2.0-1 GitHub - http://github.com/patternconsulting/opencv/issues + http://github.com/openpnp/opencv/issues + + vonnieda + Jason von Nieda + jason@vonnieda.org + OpenPnP + http://openpnp.org + + maintainer + + michaelahlers Michael Ahlers @@ -101,8 +105,41 @@ + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + false + + + + + org.apache.felix + maven-bundle-plugin + true + + + nu.pattern.*, org.opencv.* + !sun.reflect.* + + + + + maven-compiler-plugin @@ -121,7 +158,7 @@ Extracting Java classes. - + @@ -135,7 +172,7 @@ Extracting Java sources. - + @@ -230,6 +267,39 @@ + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + + + maven-antrun-plugin + + [1.3,) + + run + + + + + + + + + + + + diff --git a/src/main/java/nu/pattern/OpenCV.java b/src/main/java/nu/pattern/OpenCV.java index c007c05..3db94cf 100644 --- a/src/main/java/nu/pattern/OpenCV.java +++ b/src/main/java/nu/pattern/OpenCV.java @@ -1,12 +1,10 @@ package nu.pattern; -import org.opencv.core.Core; -import sun.reflect.CallerSensitive; - import java.io.File; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Field; +import java.nio.file.AccessDeniedException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; @@ -19,10 +17,14 @@ import java.util.logging.Logger; import java.util.regex.Pattern; +import org.opencv.core.Core; + public class OpenCV { private final static Logger logger = Logger.getLogger(OpenCV.class.getName()); + + static enum OS { OSX("^[Mm]ac OS X$"), LINUX("^[Ll]inux$"), @@ -62,8 +64,9 @@ public static OS getCurrent() { } static enum Arch { - X86_32("i386", "i686"), - X86_64("amd64", "x86_64"); + X86_32("i386", "i686", "x86"), + X86_64("amd64", "x86_64"), + ARMv8("arm"); private final Set patterns; @@ -96,11 +99,12 @@ private UnsupportedPlatformException(final OS os, final Arch arch) { } private static class TemporaryDirectory { + static final String OPENCV_PREFIX = "opencv_openpnp"; final Path path; public TemporaryDirectory() { try { - path = Files.createTempDirectory(""); + path = Files.createTempDirectory(OPENCV_PREFIX); } catch (IOException e) { throw new RuntimeException(e); } @@ -110,6 +114,25 @@ public Path getPath() { return path; } + public TemporaryDirectory deleteOldInstancesOnStart() { + Path tempDirectory = path.getParent(); + + for (File file : tempDirectory.toFile().listFiles()) { + if (file.isDirectory() && file.getName().startsWith(OPENCV_PREFIX)) { + try { + delete(file.toPath()); + } catch (RuntimeException e) { + if (e.getCause() instanceof AccessDeniedException) { + logger.fine("Failed delete a previous instance of the OpenCV binaries, " + + "likely in use by another program: "); + } + } + } + } + + return this; + } + public TemporaryDirectory markDeleteOnExit() { Runtime.getRuntime().addShutdownHook(new Thread() { @Override @@ -121,32 +144,34 @@ public void run() { return this; } - public void delete() { - if (!Files.exists(path)) { - return; - } - - try { - Files.walkFileTree(path, new SimpleFileVisitor() { - @Override - public FileVisitResult postVisitDirectory(final Path dir, final IOException e) - throws IOException { - Files.deleteIfExists(dir); - return super.postVisitDirectory(dir, e); - } + private void delete(Path path) { + if (!Files.exists(path)) { + return; + } + + try { + Files.walkFileTree(path, new SimpleFileVisitor() { + @Override + public FileVisitResult postVisitDirectory(final Path dir, final IOException e) throws IOException { + Files.deleteIfExists(dir); + return super.postVisitDirectory(dir, e); + } + + @Override + public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) + throws IOException { + Files.deleteIfExists(file); + return super.visitFile(file, attrs); + } + }); + } catch (IOException e) { + throw new RuntimeException(e); + } + } - @Override - public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) - throws IOException { - Files.deleteIfExists(file); - return super.visitFile(file, attrs); - } - }); - } catch (IOException e) { - throw new RuntimeException(e); - } + public void delete() { + delete(path); } - } /** @@ -169,7 +194,8 @@ private SharedLoader() { } catch (final UnsatisfiedLinkError ule) { /* Only update the library path and load if the original error indicates it's missing from the library path. */ - if (!String.format("no %s in java.library.path", Core.NATIVE_LIBRARY_NAME).equals(ule.getMessage())) { + String errorFragment = String.format("no %s in java.library.path", Core.NATIVE_LIBRARY_NAME); + if (ule == null || !ule.getMessage().contains(errorFragment)) { logger.log(Level.FINEST, String.format("Encountered unexpected loading error."), ule); throw ule; } @@ -285,7 +311,6 @@ public static LocalLoader getInstance() { /** * Selects the appropriate packaged binary, extracts it to a temporary location (which gets deleted when the JVM shuts down), and returns a {@link Path} to that file. */ - @CallerSensitive private static Path extractNativeBinary() { final OS os = OS.getCurrent(); final Arch arch = Arch.getCurrent(); @@ -301,12 +326,12 @@ private static Path extractNativeBinary(final OS os, final Arch arch) { switch (os) { case LINUX: switch (arch) { - case X86_32: - location = "/nu/pattern/opencv/linux/x86_32/libopencv_java249.so"; - break; case X86_64: - location = "/nu/pattern/opencv/linux/x86_64/libopencv_java249.so"; + location = "/nu/pattern/opencv/linux/x86_64/libopencv_java430.so"; break; + case ARMv8: + location = "/nu/pattern/opencv/linux/ARMv8/libopencv_java430.so"; + break; default: throw new UnsupportedPlatformException(os, arch); } @@ -314,12 +339,24 @@ private static Path extractNativeBinary(final OS os, final Arch arch) { case OSX: switch (arch) { case X86_64: - location = "/nu/pattern/opencv/osx/x86_64/libopencv_java249.dylib"; + location = "/nu/pattern/opencv/osx/x86_64/libopencv_java430.dylib"; break; default: throw new UnsupportedPlatformException(os, arch); } break; + case WINDOWS: + switch (arch) { + case X86_32: + location = "/nu/pattern/opencv/windows/x86_32/opencv_java430.dll"; + break; + case X86_64: + location = "/nu/pattern/opencv/windows/x86_64/opencv_java430.dll"; + break; + default: + throw new UnsupportedPlatformException(os, arch); + } + break; default: throw new UnsupportedPlatformException(os, arch); } @@ -327,12 +364,23 @@ private static Path extractNativeBinary(final OS os, final Arch arch) { logger.log(Level.FINEST, "Selected native binary \"{0}\".", location); final InputStream binary = OpenCV.class.getResourceAsStream(location); - final Path destination = new TemporaryDirectory().markDeleteOnExit().getPath().resolve("./" + location).normalize(); + final Path destination; + + // Do not try to delete the temporary directory on the close if Windows + // because there will be a write lock on the file which will cause an + // AccessDeniedException. Instead, try to delete existing instances of + // the temporary directory before extracting. + if (OS.WINDOWS.equals(os)) { + destination = new TemporaryDirectory().deleteOldInstancesOnStart().getPath().resolve("./" + location).normalize(); + } else { + destination = new TemporaryDirectory().markDeleteOnExit().getPath().resolve("./" + location).normalize(); + } try { logger.log(Level.FINEST, "Copying native binary to \"{0}\".", destination); Files.createDirectories(destination.getParent()); Files.copy(binary, destination); + binary.close(); } catch (final IOException ioe) { throw new IllegalStateException(String.format("Error writing native library to \"%s\".", destination), ioe); } diff --git a/src/main/resources/nu/pattern/opencv/linux/x86_32/cmake.log b/src/main/resources/nu/pattern/opencv/linux/x86_32/cmake.log deleted file mode 100644 index 3e63e43..0000000 --- a/src/main/resources/nu/pattern/opencv/linux/x86_32/cmake.log +++ /dev/null @@ -1,371 +0,0 @@ --- The CXX compiler identification is GNU --- The C compiler identification is GNU --- Check for working CXX compiler: /usr/bin/c++ --- Check for working CXX compiler: /usr/bin/c++ -- works --- Detecting CXX compiler ABI info --- Detecting CXX compiler ABI info - done --- Check for working C compiler: /usr/bin/gcc --- Check for working C compiler: /usr/bin/gcc -- works --- Detecting C compiler ABI info --- Detecting C compiler ABI info - done --- Detected version of GNU GCC: 46 (406) --- Performing Test HAVE_CXX_FSIGNED_CHAR --- Performing Test HAVE_CXX_FSIGNED_CHAR - Success --- Performing Test HAVE_C_FSIGNED_CHAR --- Performing Test HAVE_C_FSIGNED_CHAR - Success --- Performing Test HAVE_CXX_W --- Performing Test HAVE_CXX_W - Success --- Performing Test HAVE_C_W --- Performing Test HAVE_C_W - Success --- Performing Test HAVE_CXX_WALL --- Performing Test HAVE_CXX_WALL - Success --- Performing Test HAVE_C_WALL --- Performing Test HAVE_C_WALL - Success --- Performing Test HAVE_CXX_WERROR_RETURN_TYPE --- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success --- Performing Test HAVE_C_WERROR_RETURN_TYPE --- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success --- Performing Test HAVE_CXX_WERROR_ADDRESS --- Performing Test HAVE_CXX_WERROR_ADDRESS - Success --- Performing Test HAVE_C_WERROR_ADDRESS --- Performing Test HAVE_C_WERROR_ADDRESS - Success --- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT --- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success --- Performing Test HAVE_C_WERROR_SEQUENCE_POINT --- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success --- Performing Test HAVE_CXX_WFORMAT --- Performing Test HAVE_CXX_WFORMAT - Success --- Performing Test HAVE_C_WFORMAT --- Performing Test HAVE_C_WFORMAT - Success --- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY --- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success --- Performing Test HAVE_C_WERROR_FORMAT_SECURITY --- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success --- Performing Test HAVE_CXX_WMISSING_DECLARATIONS --- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success --- Performing Test HAVE_C_WMISSING_DECLARATIONS --- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success --- Performing Test HAVE_CXX_WMISSING_PROTOTYPES --- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed --- Performing Test HAVE_C_WMISSING_PROTOTYPES --- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success --- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES --- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed --- Performing Test HAVE_C_WSTRICT_PROTOTYPES --- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success --- Performing Test HAVE_CXX_WUNDEF --- Performing Test HAVE_CXX_WUNDEF - Success --- Performing Test HAVE_C_WUNDEF --- Performing Test HAVE_C_WUNDEF - Success --- Performing Test HAVE_CXX_WINIT_SELF --- Performing Test HAVE_CXX_WINIT_SELF - Success --- Performing Test HAVE_C_WINIT_SELF --- Performing Test HAVE_C_WINIT_SELF - Success --- Performing Test HAVE_CXX_WPOINTER_ARITH --- Performing Test HAVE_CXX_WPOINTER_ARITH - Success --- Performing Test HAVE_C_WPOINTER_ARITH --- Performing Test HAVE_C_WPOINTER_ARITH - Success --- Performing Test HAVE_CXX_WSHADOW --- Performing Test HAVE_CXX_WSHADOW - Success --- Performing Test HAVE_C_WSHADOW --- Performing Test HAVE_C_WSHADOW - Success --- Performing Test HAVE_CXX_WSIGN_PROMO --- Performing Test HAVE_CXX_WSIGN_PROMO - Success --- Performing Test HAVE_C_WSIGN_PROMO --- Performing Test HAVE_C_WSIGN_PROMO - Failed --- Performing Test HAVE_CXX_WNO_NARROWING --- Performing Test HAVE_CXX_WNO_NARROWING - Failed --- Performing Test HAVE_C_WNO_NARROWING --- Performing Test HAVE_C_WNO_NARROWING - Failed --- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR --- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed --- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR --- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed --- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS --- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed --- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS --- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed --- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION --- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success --- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION --- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success --- Performing Test HAVE_CXX_PTHREAD --- Performing Test HAVE_CXX_PTHREAD - Success --- Performing Test HAVE_C_PTHREAD --- Performing Test HAVE_C_PTHREAD - Success --- Performing Test HAVE_CXX_MARCH_I686 --- Performing Test HAVE_CXX_MARCH_I686 - Success --- Performing Test HAVE_C_MARCH_I686 --- Performing Test HAVE_C_MARCH_I686 - Success --- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER --- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success --- Performing Test HAVE_C_FOMIT_FRAME_POINTER --- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success --- Performing Test HAVE_CXX_MSSE --- Performing Test HAVE_CXX_MSSE - Success --- Performing Test HAVE_C_MSSE --- Performing Test HAVE_C_MSSE - Success --- Performing Test HAVE_CXX_MSSE2 --- Performing Test HAVE_CXX_MSSE2 - Success --- Performing Test HAVE_C_MSSE2 --- Performing Test HAVE_C_MSSE2 - Success --- Performing Test HAVE_CXX_MSSE3 --- Performing Test HAVE_CXX_MSSE3 - Success --- Performing Test HAVE_C_MSSE3 --- Performing Test HAVE_C_MSSE3 - Success --- Performing Test HAVE_CXX_MFPMATH_SSE --- Performing Test HAVE_CXX_MFPMATH_SSE - Success --- Performing Test HAVE_C_MFPMATH_SSE --- Performing Test HAVE_C_MFPMATH_SSE - Success --- Performing Test HAVE_CXX_FFUNCTION_SECTIONS --- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success --- Performing Test HAVE_C_FFUNCTION_SECTIONS --- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success --- Looking for pthread.h --- Looking for pthread.h - found --- Check if the system is big endian --- Searching 16 bit integer --- Looking for sys/types.h --- Looking for sys/types.h - found --- Looking for stdint.h --- Looking for stdint.h - found --- Looking for stddef.h --- Looking for stddef.h - found --- Check size of unsigned short --- Check size of unsigned short - done --- Using unsigned short --- Check if the system is big endian - little endian --- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) --- Looking for fseeko --- Looking for fseeko - found --- Looking for unistd.h --- Looking for unistd.h - found --- Check size of off64_t --- Check size of off64_t - failed --- Performing Test HAVE_C_WNO_ATTRIBUTES --- Performing Test HAVE_C_WNO_ATTRIBUTES - Success --- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES --- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success --- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES --- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success --- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS --- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success --- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) --- Looking for assert.h --- Looking for assert.h - found --- Looking for fcntl.h --- Looking for fcntl.h - found --- Looking for io.h --- Looking for io.h - not found --- Looking for jbg_newlen --- Looking for jbg_newlen - not found --- Looking for mmap --- Looking for mmap - found --- Looking for search.h --- Looking for search.h - found --- Looking for string.h --- Looking for string.h - found --- Looking for unistd.h --- Looking for unistd.h - found --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Success --- Performing Test HAVE_C_WNO_UNDEF --- Performing Test HAVE_C_WNO_UNDEF - Success --- Performing Test HAVE_C_WNO_UNUSED --- Performing Test HAVE_C_WNO_UNUSED - Success --- Performing Test HAVE_C_WNO_SIGN_COMPARE --- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success --- Performing Test HAVE_C_WNO_CAST_ALIGN --- Performing Test HAVE_C_WNO_CAST_ALIGN - Success --- Performing Test HAVE_C_WNO_SHADOW --- Performing Test HAVE_C_WNO_SHADOW - Success --- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED --- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed --- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST --- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success --- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST --- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success --- Performing Test HAVE_C_WNO_UNUSED_PARAMETER --- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success --- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS --- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success --- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER --- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success --- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) --- Found JPEG: libjpeg --- Could NOT find Jasper (missing: JASPER_LIBRARY JASPER_INCLUDE_DIR) --- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION --- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success --- Performing Test HAVE_C_WNO_UNINITIALIZED --- Performing Test HAVE_C_WNO_UNINITIALIZED - Success --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Success --- Found ZLIB: zlib (found version "1.2.7") --- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) --- Looking for semaphore.h --- Looking for semaphore.h - found --- Performing Test HAVE_CXX_WNO_SHADOW --- Performing Test HAVE_CXX_WNO_SHADOW - Success --- Performing Test HAVE_CXX_WNO_UNUSED --- Performing Test HAVE_CXX_WNO_UNUSED - Success --- Performing Test HAVE_CXX_WNO_SIGN_COMPARE --- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success --- Performing Test HAVE_CXX_WNO_UNDEF --- Performing Test HAVE_CXX_WNO_UNDEF - Success --- Performing Test HAVE_CXX_WNO_UNINITIALIZED --- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success --- Performing Test HAVE_CXX_WNO_SWITCH --- Performing Test HAVE_CXX_WNO_SWITCH - Success --- Performing Test HAVE_CXX_WNO_PARENTHESES --- Performing Test HAVE_CXX_WNO_PARENTHESES - Success --- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS --- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success --- Performing Test HAVE_CXX_WNO_EXTRA --- Performing Test HAVE_CXX_WNO_EXTRA - Success --- checking for module 'gtk+-2.0' --- package 'gtk+-2.0' not found --- checking for module 'gthread-2.0' --- package 'gthread-2.0' not found --- checking for module 'gstreamer-base-0.10' --- package 'gstreamer-base-0.10' not found --- checking for module 'libdc1394-2' --- package 'libdc1394-2' not found --- checking for module 'libdc1394' --- package 'libdc1394' not found --- checking for module 'libv4l1' --- package 'libv4l1' not found --- Looking for linux/videodev.h --- Looking for linux/videodev.h - not found --- Looking for linux/videodev2.h --- Looking for linux/videodev2.h - found --- Looking for sys/videoio.h --- Looking for sys/videoio.h - not found --- checking for module 'libavcodec' --- package 'libavcodec' not found --- checking for module 'libavformat' --- package 'libavformat' not found --- checking for module 'libavutil' --- package 'libavutil' not found --- checking for module 'libswscale' --- package 'libswscale' not found --- Looking for libavformat/avformat.h --- Looking for libavformat/avformat.h - not found --- Looking for ffmpeg/avformat.h --- Looking for ffmpeg/avformat.h - not found --- Found PythonInterp: /usr/bin/python (found suitable version "2.7.3", required is "2.0") --- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at least version "2.7.3") -Traceback (most recent call last): - File "", line 1, in -ImportError: No module named numpy.distutils --- Found apache ant 1.8.2: /usr/bin/ant --- Found JNI: /usr/lib/jvm/java-7-oracle/jre/lib/i386/libjawt.so --- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS --- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success --- --- General configuration for OpenCV 2.4.9 ===================================== --- Version control: 2.4.9-57-g0ebde64 --- --- Platform: --- Host: Linux 3.11.0-15-generic i686 --- CMake: 2.8.7 --- CMake generator: Unix Makefiles --- CMake build tool: /usr/bin/make --- Configuration: Release --- --- C/C++: --- Built as dynamic libs?: NO --- C++ Compiler: /usr/bin/c++ (ver 4.6) --- C++ flags (Release): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG -DNDEBUG --- C++ flags (Debug): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -g -O0 -DDEBUG -D_DEBUG --- C Compiler: /usr/bin/gcc --- C flags (Release): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG -DNDEBUG --- C flags (Debug): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -g -O0 -DDEBUG -D_DEBUG --- Linker flags (Release): --- Linker flags (Debug): --- Precompiled headers: YES --- --- OpenCV modules: --- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib java stitching superres ts videostab --- Disabled: world --- Disabled by dependency: - --- Unavailable: androidcamera dynamicuda python viz --- --- GUI: --- QT: NO --- GTK+ 2.x: NO --- GThread : NO --- GtkGlExt: NO --- OpenGL support: NO --- VTK support: NO --- --- Media I/O: --- ZLib: zlib (ver 1.2.7) --- JPEG: libjpeg (ver 62) --- PNG: build (ver 1.5.12) --- TIFF: build (ver 42 - 4.0.2) --- JPEG 2000: build (ver 1.900.1) --- OpenEXR: build (ver 1.7.1) --- --- Video I/O: --- DC1394 1.x: NO --- DC1394 2.x: NO --- FFMPEG: NO --- codec: NO --- format: NO --- util: NO --- swscale: NO --- gentoo-style: NO --- GStreamer: NO --- OpenNI: NO --- OpenNI PrimeSensor Modules: NO --- PvAPI: NO --- GigEVisionSDK: NO --- UniCap: NO --- UniCap ucil: NO --- V4L/V4L2: NO/YES --- XIMEA: NO --- Xine: NO --- --- Other third-party libraries: --- Use IPP: NO --- Use Eigen: NO --- Use TBB: NO --- Use OpenMP: NO --- Use GCD NO --- Use Concurrency NO --- Use C=: NO --- Use Cuda: NO --- Use OpenCL: YES --- --- OpenCL: --- Version: dynamic --- Include path: /home/user/Projects/itseez-opencv/3rdparty/include/opencl/1.2 --- Use AMD FFT: NO --- Use AMD BLAS: NO --- --- Python: --- Interpreter: /usr/bin/python (ver 2.7.3) --- --- Java: --- ant: /usr/bin/ant (ver 1.8.2) --- JNI: /usr/lib/jvm/java-7-oracle/include /usr/lib/jvm/java-7-oracle/include/linux /usr/lib/jvm/java-7-oracle/include --- Java tests: YES --- --- Documentation: --- Build Documentation: NO --- Sphinx: NO --- PdfLaTeX compiler: NO --- --- Tests and samples: --- Tests: YES --- Performance tests: YES --- C/C++ Examples: NO --- --- Install path: /usr/local --- --- cvconfig.h is in: /home/user/Projects/itseez-opencv/build --- ----------------------------------------------------------------- --- --- Configuring done --- Generating done --- Build files have been written to: /home/user/Projects/itseez-opencv/build diff --git a/src/main/resources/nu/pattern/opencv/linux/x86_32/libopencv_java249.so b/src/main/resources/nu/pattern/opencv/linux/x86_32/libopencv_java249.so deleted file mode 100755 index 64d8576..0000000 Binary files a/src/main/resources/nu/pattern/opencv/linux/x86_32/libopencv_java249.so and /dev/null differ diff --git a/src/main/resources/nu/pattern/opencv/linux/x86_64/cmake.log b/src/main/resources/nu/pattern/opencv/linux/x86_64/cmake.log index fb284a6..1f7ca53 100644 --- a/src/main/resources/nu/pattern/opencv/linux/x86_64/cmake.log +++ b/src/main/resources/nu/pattern/opencv/linux/x86_64/cmake.log @@ -1,14 +1,22 @@ --- The CXX compiler identification is GNU --- The C compiler identification is GNU +-- The CXX compiler identification is GNU 7.5.0 +-- The C compiler identification is GNU 7.5.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done --- Check for working C compiler: /usr/bin/gcc --- Check for working C compiler: /usr/bin/gcc -- works +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Check for working C compiler: /usr/bin/cc +-- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done --- Detected version of GNU GCC: 46 (406) +-- Detecting C compile features +-- Detecting C compile features - done +-- Detected processor: x86_64 +-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") +-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3.2") +-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is exact version "3.6.8") +-- Looking for ccache - not found -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR @@ -25,6 +33,10 @@ -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success +-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR +-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success +-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR +-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WERROR_ADDRESS -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success -- Performing Test HAVE_C_WERROR_ADDRESS @@ -73,18 +85,34 @@ -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Failed --- Performing Test HAVE_CXX_WNO_NARROWING --- Performing Test HAVE_CXX_WNO_NARROWING - Failed --- Performing Test HAVE_C_WNO_NARROWING --- Performing Test HAVE_C_WNO_NARROWING - Failed +-- Performing Test HAVE_CXX_WUNINITIALIZED +-- Performing Test HAVE_CXX_WUNINITIALIZED - Success +-- Performing Test HAVE_C_WUNINITIALIZED +-- Performing Test HAVE_C_WUNINITIALIZED - Success +-- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_C_WSUGGEST_OVERRIDE +-- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR --- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Failed +-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed +-- Performing Test HAVE_CXX_WNO_COMMENT +-- Performing Test HAVE_CXX_WNO_COMMENT - Success +-- Performing Test HAVE_C_WNO_COMMENT +-- Performing Test HAVE_C_WNO_COMMENT - Success +-- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 +-- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success +-- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 +-- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success +-- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW +-- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success +-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW +-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION @@ -101,24 +129,74 @@ -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_C_FOMIT_FRAME_POINTER -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success --- Performing Test HAVE_CXX_MSSE --- Performing Test HAVE_CXX_MSSE - Success --- Performing Test HAVE_C_MSSE --- Performing Test HAVE_C_MSSE - Success --- Performing Test HAVE_CXX_MSSE2 --- Performing Test HAVE_CXX_MSSE2 - Success --- Performing Test HAVE_C_MSSE2 --- Performing Test HAVE_C_MSSE2 - Success --- Performing Test HAVE_CXX_MSSE3 --- Performing Test HAVE_CXX_MSSE3 - Success --- Performing Test HAVE_C_MSSE3 --- Performing Test HAVE_C_MSSE3 - Success -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_C_FFUNCTION_SECTIONS -- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success +-- Performing Test HAVE_CXX_FDATA_SECTIONS +-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success +-- Performing Test HAVE_C_FDATA_SECTIONS +-- Performing Test HAVE_C_FDATA_SECTIONS - Success +-- Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp) +-- Performing Test HAVE_CXX_MSSE - Success +-- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp) +-- Performing Test HAVE_CXX_MSSE2 - Success +-- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp) +-- Performing Test HAVE_CXX_MSSE3 - Success +-- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp) +-- Performing Test HAVE_CXX_MSSSE3 - Success +-- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp) +-- Performing Test HAVE_CXX_MSSE4_1 - Success +-- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) +-- Performing Test HAVE_CXX_MPOPCNT - Success +-- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) +-- Performing Test HAVE_CXX_MSSE4_2 - Success +-- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) +-- Performing Test HAVE_CXX_MF16C - Success +-- Performing Test HAVE_CXX_MFMA +-- Performing Test HAVE_CXX_MFMA - Success +-- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) +-- Performing Test HAVE_CXX_MAVX - Success +-- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) +-- Performing Test HAVE_CXX_MAVX2 - Success +-- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp) +-- Performing Test HAVE_CXX_MAVX512F - Success +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success +-- Performing Test HAVE_CPU_BASELINE_FLAGS +-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success +-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN +-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success +-- Performing Test HAVE_C_FVISIBILITY_HIDDEN +-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success +-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN +-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success +-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN +-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed +-- Performing Test HAVE_LINK_AS_NEEDED +-- Performing Test HAVE_LINK_AS_NEEDED - Success -- Looking for pthread.h -- Looking for pthread.h - found +-- Looking for posix_memalign +-- Looking for posix_memalign - found +-- Looking for malloc.h +-- Looking for malloc.h - found +-- Looking for memalign +-- Looking for memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h @@ -131,13 +209,15 @@ -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian --- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) +-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.2.3") -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- Check size of off64_t -- Check size of off64_t - failed +-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 +-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Failed -- Performing Test HAVE_C_WNO_ATTRIBUTES -- Performing Test HAVE_C_WNO_ATTRIBUTES - Success -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES @@ -146,58 +226,166 @@ -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success --- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) +-- Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE +-- Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE - Success +-- Performing Test HAVE_C_WNO_UNDEF +-- Performing Test HAVE_C_WNO_UNDEF - Success +-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH +-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success +-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) +-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER +-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success +-- Performing Test HAVE_C_WNO_SIGN_COMPARE +-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success +-- libjpeg-turbo: VERSION = 2.0.4, BUILD = opencv-4.3.0-libjpeg-turbo +-- Check size of size_t +-- Check size of size_t - done +-- Check size of unsigned long +-- Check size of unsigned long - done +-- Performing Test HAVE_BUILTIN_CTZL +-- Performing Test HAVE_BUILTIN_CTZL - Success +-- Looking for include file locale.h +-- Looking for include file locale.h - found +-- Looking for include file stdlib.h +-- Looking for include file stdlib.h - found +-- Looking for include file sys/types.h +-- Looking for include file sys/types.h - found +-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) -- Looking for assert.h -- Looking for assert.h - found +-- Looking for dlfcn.h +-- Looking for dlfcn.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found +-- Looking for inttypes.h +-- Looking for inttypes.h - found -- Looking for io.h -- Looking for io.h - not found --- Looking for jbg_newlen --- Looking for jbg_newlen - not found --- Looking for mmap --- Looking for mmap - found +-- Looking for limits.h +-- Looking for limits.h - found +-- Looking for memory.h +-- Looking for memory.h - found -- Looking for search.h -- Looking for search.h - found -- Looking for string.h -- Looking for string.h - found +-- Looking for strings.h +-- Looking for strings.h - found +-- Looking for sys/time.h +-- Looking for sys/time.h - found -- Looking for unistd.h -- Looking for unistd.h - found +-- Performing Test C_HAS_inline +-- Performing Test C_HAS_inline - Success +-- Check size of signed short +-- Check size of signed short - done +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Check size of signed int +-- Check size of signed int - done +-- Check size of unsigned int +-- Check size of unsigned int - done +-- Check size of signed long +-- Check size of signed long - done +-- Check size of signed long long +-- Check size of signed long long - done +-- Check size of unsigned long long +-- Check size of unsigned long long - done +-- Check size of unsigned char * +-- Check size of unsigned char * - done +-- Check size of ptrdiff_t +-- Check size of ptrdiff_t - done +-- Check size of INT8 +-- Check size of INT8 - failed +-- Check size of INT16 +-- Check size of INT16 - failed +-- Check size of INT32 +-- Check size of INT32 - failed +-- Looking for floor +-- Looking for floor - found +-- Looking for pow +-- Looking for pow - found +-- Looking for sqrt +-- Looking for sqrt - found +-- Looking for isascii +-- Looking for isascii - found +-- Looking for memset +-- Looking for memset - found +-- Looking for mmap +-- Looking for mmap - found +-- Looking for getopt +-- Looking for getopt - found +-- Looking for memmove +-- Looking for memmove - found +-- Looking for setmode +-- Looking for setmode - not found +-- Looking for strcasecmp +-- Looking for strcasecmp - found +-- Looking for strchr +-- Looking for strchr - found +-- Looking for strrchr +-- Looking for strrchr - found +-- Looking for strstr +-- Looking for strstr - found +-- Looking for strtol +-- Looking for strtol - found +-- Looking for strtol +-- Looking for strtol - found +-- Looking for strtoull +-- Looking for strtoull - found +-- Looking for lfind +-- Looking for lfind - found +-- Performing Test HAVE_SNPRINTF +-- Performing Test HAVE_SNPRINTF - Success +-- Check if the system is big endian +-- Searching 16 bit integer +-- Using unsigned short +-- Check if the system is big endian - little endian -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Success --- Performing Test HAVE_C_WNO_UNDEF --- Performing Test HAVE_C_WNO_UNDEF - Success -- Performing Test HAVE_C_WNO_UNUSED -- Performing Test HAVE_C_WNO_UNUSED - Success --- Performing Test HAVE_C_WNO_SIGN_COMPARE --- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_C_WNO_CAST_ALIGN -- Performing Test HAVE_C_WNO_CAST_ALIGN - Success -- Performing Test HAVE_C_WNO_SHADOW -- Performing Test HAVE_C_WNO_SHADOW - Success -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED --- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed +-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Success -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success --- Performing Test HAVE_C_WNO_UNUSED_PARAMETER --- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success +-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION +-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Success -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success --- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) --- Found JPEG: libjpeg --- Could NOT find Jasper (missing: JASPER_LIBRARY JASPER_INCLUDE_DIR) +-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES +-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed +-- Performing Test HAVE_CXX_WNO_UNDEF +-- Performing Test HAVE_CXX_WNO_UNDEF - Success +-- Performing Test HAVE_C_STD_C99 +-- Performing Test HAVE_C_STD_C99 - Success +-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE +-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success +-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION +-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success +-- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1) +-- Found JPEG: libjpeg-turbo +-- Could NOT find Jasper (missing: JASPER_LIBRARIES JASPER_INCLUDE_DIR) -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success -- Performing Test HAVE_C_WNO_UNINITIALIZED -- Performing Test HAVE_C_WNO_UNINITIALIZED - Success -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Success --- Found ZLIB: zlib (found version "1.2.7") --- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) +-- Performing Test HAVE_C_WNO_POINTER_COMPARE +-- Performing Test HAVE_C_WNO_POINTER_COMPARE - Success +-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE +-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Failed +-- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) (found version "1.2.11") +-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) -- Looking for semaphore.h -- Looking for semaphore.h - found -- Performing Test HAVE_CXX_WNO_SHADOW @@ -206,8 +394,6 @@ -- Performing Test HAVE_CXX_WNO_UNUSED - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success --- Performing Test HAVE_CXX_WNO_UNDEF --- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Performing Test HAVE_CXX_WNO_UNINITIALIZED -- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success -- Performing Test HAVE_CXX_WNO_SWITCH @@ -218,150 +404,167 @@ -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success -- Performing Test HAVE_CXX_WNO_EXTRA -- Performing Test HAVE_CXX_WNO_EXTRA - Success --- checking for module 'gtk+-2.0' --- package 'gtk+-2.0' not found --- checking for module 'gthread-2.0' --- package 'gthread-2.0' not found --- checking for module 'gstreamer-base-0.10' --- package 'gstreamer-base-0.10' not found --- checking for module 'libdc1394-2' --- package 'libdc1394-2' not found --- checking for module 'libdc1394' --- package 'libdc1394' not found --- checking for module 'libv4l1' --- package 'libv4l1' not found --- Looking for linux/videodev.h --- Looking for linux/videodev.h - not found --- Looking for linux/videodev2.h --- Looking for linux/videodev2.h - found --- Looking for sys/videoio.h --- Looking for sys/videoio.h - not found --- checking for module 'libavcodec' --- package 'libavcodec' not found --- checking for module 'libavformat' --- package 'libavformat' not found --- checking for module 'libavutil' --- package 'libavutil' not found --- checking for module 'libswscale' --- package 'libswscale' not found --- Looking for libavformat/avformat.h --- Looking for libavformat/avformat.h - not found --- Looking for ffmpeg/avformat.h --- Looking for ffmpeg/avformat.h - not found --- Found PythonInterp: /usr/bin/python (found suitable version "2.7.3", required is "2.0") --- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at least version "2.7.3") -Traceback (most recent call last): - File "", line 1, in -ImportError: No module named numpy.distutils --- Found apache ant 1.8.2: /usr/bin/ant --- Found JNI: /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libjawt.so -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success --- --- General configuration for OpenCV 2.4.9 ===================================== --- Version control: 2.4.9-57-g0ebde64 --- +-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION +-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Success +-- Performing Test HAVE_CXX_WNO_DEPRECATED +-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success +-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE +-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed +-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH +-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Success +-- Performing Test HAVE_CXX_WNO_REORDER +-- Performing Test HAVE_CXX_WNO_REORDER - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT +-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success +-- IPPICV: Download: ippicv_2020_lnx_intel64_20191018_general.tgz +-- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] +-- at: /mnt/opencv/opencv/opencv-4.3.0/target/linux/x86_64/3rdparty/ippicv/ippicv_lnx/icv +-- found Intel IPP Integration Wrappers sources: 2020.0.0 +-- at: /mnt/opencv/opencv/opencv-4.3.0/target/linux/x86_64/3rdparty/ippicv/ippicv_lnx/iw +-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off +-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off +-- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - found +-- Found Threads: TRUE +-- A library with BLAS API not found. Please specify library location. +-- LAPACK requires BLAS +-- A library with LAPACK API not found. Please specify library location. +-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS +-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success +-- Performing Test HAVE_CXX_WNO_SIGN_PROMO +-- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Failed +-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS +-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION +-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE +-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success +-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Failed +-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF +-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success +-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH +-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Failed +-- Found apache ant: /usr/bin/ant (1.10.5) +-- Found JNI: /usr/lib/jvm/default-java/lib/libjawt.so +-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file +-- Looking for dlerror in dl +-- Looking for dlerror in dl - found +-- ADE: Download: v0.1.1f.zip +-- OpenCV Python: during development append to PYTHONPATH: /mnt/opencv/opencv/opencv-4.3.0/target/linux/x86_64/python_loader +-- Allocator metrics storage type: 'long long' +-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /mnt/opencv/opencv/opencv-4.3.0/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake +-- opencv_dnn: filter out cuda4dnn source code +-- +-- General configuration for OpenCV 4.3.0 ===================================== +-- Version control: acb81f4-dirty +-- -- Platform: --- Host: Linux 3.11.0-15-generic x86_64 --- CMake: 2.8.7 +-- Timestamp: 2020-04-12T17:31:14Z +-- Host: Linux 5.0.0-23-generic x86_64 +-- CMake: 3.10.2 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: Release --- +-- +-- CPU/HW features: +-- Baseline: SSE SSE2 SSE3 +-- requested: SSE3 +-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX +-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX +-- SSE4_1 (16 files): + SSSE3 SSE4_1 +-- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 +-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX +-- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX +-- AVX2 (30 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 +-- AVX512_SKX (6 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX +-- -- C/C++: -- Built as dynamic libs?: NO --- C++ Compiler: /usr/bin/c++ (ver 4.6) --- C++ flags (Release): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -O3 -DNDEBUG -DNDEBUG --- C++ flags (Debug): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -g -O0 -DDEBUG -D_DEBUG --- C Compiler: /usr/bin/gcc --- C flags (Release): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -O3 -DNDEBUG -DNDEBUG --- C flags (Debug): -fPIC -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -g -O0 -DDEBUG -D_DEBUG --- Linker flags (Release): --- Linker flags (Debug): --- Precompiled headers: YES --- +-- C++ standard: 11 +-- C++ Compiler: /usr/bin/c++ (ver 7.5.0) +-- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG +-- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG +-- C Compiler: /usr/bin/cc +-- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG +-- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG +-- Linker flags (Release): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed +-- Linker flags (Debug): -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -Wl,--gc-sections -Wl,--as-needed +-- ccache: NO +-- Precompiled headers: NO +-- Extra dependencies: ade dl m pthread rt +-- 3rdparty dependencies: ittnotify libprotobuf zlib libjpeg-turbo libwebp libpng libtiff libjasper IlmImf quirc ippiw ippicv +-- -- OpenCV modules: --- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib java stitching superres ts videostab +-- To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc java ml objdetect photo stitching ts video videoio -- Disabled: world -- Disabled by dependency: - --- Unavailable: androidcamera dynamicuda python viz --- --- GUI: --- QT: NO --- GTK+ 2.x: NO --- GThread : NO --- GtkGlExt: NO --- OpenGL support: NO +-- Unavailable: js python2 python3 +-- Applications: tests perf_tests apps +-- Documentation: NO +-- Non-free algorithms: NO +-- +-- GUI: +-- GTK+: NO -- VTK support: NO --- --- Media I/O: --- ZLib: zlib (ver 1.2.7) --- JPEG: libjpeg (ver 62) --- PNG: build (ver 1.5.12) --- TIFF: build (ver 42 - 4.0.2) --- JPEG 2000: build (ver 1.900.1) --- OpenEXR: build (ver 1.7.1) --- +-- +-- Media I/O: +-- ZLib: build (ver 1.2.11) +-- JPEG: libjpeg-turbo (ver 2.0.4-62) +-- WEBP: build (ver encoder: 0x020f) +-- PNG: build (ver 1.6.37) +-- TIFF: build (ver 42 - 4.0.10) +-- JPEG 2000: build Jasper (ver 1.900.1) +-- OpenEXR: build (ver 2.3.0) +-- HDR: YES +-- SUNRASTER: YES +-- PXM: YES +-- PFM: YES +-- -- Video I/O: --- DC1394 1.x: NO --- DC1394 2.x: NO --- FFMPEG: NO --- codec: NO --- format: NO --- util: NO --- swscale: NO --- gentoo-style: NO +-- DC1394: NO -- GStreamer: NO --- OpenNI: NO --- OpenNI PrimeSensor Modules: NO --- PvAPI: NO --- GigEVisionSDK: NO --- UniCap: NO --- UniCap ucil: NO --- V4L/V4L2: NO/YES --- XIMEA: NO --- Xine: NO --- +-- v4l/v4l2: YES (linux/videodev2.h) +-- +-- Parallel framework: pthreads +-- +-- Trace: YES (with Intel ITT) +-- -- Other third-party libraries: --- Use IPP: NO --- Use Eigen: NO --- Use TBB: NO --- Use OpenMP: NO --- Use GCD NO --- Use Concurrency NO --- Use C=: NO --- Use Cuda: NO --- Use OpenCL: YES --- --- OpenCL: --- Version: dynamic --- Include path: /home/user/Projects/itseez-opencv/3rdparty/include/opencl/1.2 --- Use AMD FFT: NO --- Use AMD BLAS: NO --- --- Python: --- Interpreter: /usr/bin/python (ver 2.7.3) --- --- Java: --- ant: /usr/bin/ant (ver 1.8.2) --- JNI: /usr/lib/jvm/java-7-oracle/include /usr/lib/jvm/java-7-oracle/include/linux /usr/lib/jvm/java-7-oracle/include +-- Intel IPP: 2020.0.0 Gold [2020.0.0] +-- at: /mnt/opencv/opencv/opencv-4.3.0/target/linux/x86_64/3rdparty/ippicv/ippicv_lnx/icv +-- Intel IPP IW: sources (2020.0.0) +-- at: /mnt/opencv/opencv/opencv-4.3.0/target/linux/x86_64/3rdparty/ippicv/ippicv_lnx/iw +-- Lapack: NO +-- Custom HAL: NO +-- Protobuf: build (3.5.1) +-- +-- OpenCL: YES (no extra features) +-- Include path: /mnt/opencv/opencv/opencv-4.3.0/3rdparty/include/opencl/1.2 +-- Link libraries: Dynamic load +-- +-- Python (for build): /usr/bin/python3 +-- +-- Java: +-- ant: /usr/bin/ant (ver 1.10.5) +-- JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include/linux /usr/lib/jvm/default-java/include +-- Java wrappers: YES -- Java tests: YES --- --- Documentation: --- Build Documentation: NO --- Sphinx: NO --- PdfLaTeX compiler: NO --- --- Tests and samples: --- Tests: YES --- Performance tests: YES --- C/C++ Examples: NO --- --- Install path: /usr/local --- --- cvconfig.h is in: /home/user/Projects/itseez-opencv/build +-- +-- Install to: /usr/local -- ----------------------------------------------------------------- --- +-- -- Configuring done -- Generating done --- Build files have been written to: /home/user/Projects/itseez-opencv/build +-- Build files have been written to: /mnt/opencv/opencv/opencv-4.3.0/target/linux/x86_64 diff --git a/src/main/resources/nu/pattern/opencv/linux/x86_64/libopencv_java430.so b/src/main/resources/nu/pattern/opencv/linux/x86_64/libopencv_java430.so new file mode 100755 index 0000000..e5bba9f Binary files /dev/null and b/src/main/resources/nu/pattern/opencv/linux/x86_64/libopencv_java430.so differ diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_32/README.md b/src/main/resources/nu/pattern/opencv/osx/x86_32/README.md deleted file mode 100644 index 82741cb..0000000 --- a/src/main/resources/nu/pattern/opencv/osx/x86_32/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# OS X x86_32 - -```shell -git clone git://github.com/Itseez/opencv.git itseez-opencv -cd itseez-opencv -git checkout 2.4 -mkdir build -cd build -cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_OSX_ARCHITECTURES=i386 -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 .. > cmake.log -make -j8 -``` diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_32/cmake.log b/src/main/resources/nu/pattern/opencv/osx/x86_32/cmake.log deleted file mode 100644 index 64c0b24..0000000 --- a/src/main/resources/nu/pattern/opencv/osx/x86_32/cmake.log +++ /dev/null @@ -1,323 +0,0 @@ --- The CXX compiler identification is Clang 4.2.0 --- The C compiler identification is Clang 4.2.0 --- Check for working CXX compiler: /usr/bin/c++ --- Check for working CXX compiler: /usr/bin/c++ -- works --- Detecting CXX compiler ABI info --- Detecting CXX compiler ABI info - done --- Check for working C compiler: /usr/bin/cc --- Check for working C compiler: /usr/bin/cc -- works --- Detecting C compiler ABI info --- Detecting C compiler ABI info - done --- Performing Test HAVE_CXX_FSIGNED_CHAR --- Performing Test HAVE_CXX_FSIGNED_CHAR - Success --- Performing Test HAVE_C_FSIGNED_CHAR --- Performing Test HAVE_C_FSIGNED_CHAR - Success --- Performing Test HAVE_CXX_W --- Performing Test HAVE_CXX_W - Success --- Performing Test HAVE_C_W --- Performing Test HAVE_C_W - Success --- Performing Test HAVE_CXX_WALL --- Performing Test HAVE_CXX_WALL - Failed --- Performing Test HAVE_C_WALL --- Performing Test HAVE_C_WALL - Failed --- Performing Test HAVE_CXX_WERROR_RETURN_TYPE --- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success --- Performing Test HAVE_C_WERROR_RETURN_TYPE --- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success --- Performing Test HAVE_CXX_WERROR_ADDRESS --- Performing Test HAVE_CXX_WERROR_ADDRESS - Success --- Performing Test HAVE_C_WERROR_ADDRESS --- Performing Test HAVE_C_WERROR_ADDRESS - Success --- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT --- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success --- Performing Test HAVE_C_WERROR_SEQUENCE_POINT --- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success --- Performing Test HAVE_CXX_WFORMAT --- Performing Test HAVE_CXX_WFORMAT - Success --- Performing Test HAVE_C_WFORMAT --- Performing Test HAVE_C_WFORMAT - Success --- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY --- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success --- Performing Test HAVE_C_WERROR_FORMAT_SECURITY --- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success --- Performing Test HAVE_CXX_WMISSING_DECLARATIONS --- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success --- Performing Test HAVE_C_WMISSING_DECLARATIONS --- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success --- Performing Test HAVE_CXX_WMISSING_PROTOTYPES --- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success --- Performing Test HAVE_C_WMISSING_PROTOTYPES --- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success --- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES --- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success --- Performing Test HAVE_C_WSTRICT_PROTOTYPES --- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success --- Performing Test HAVE_CXX_WUNDEF --- Performing Test HAVE_CXX_WUNDEF - Success --- Performing Test HAVE_C_WUNDEF --- Performing Test HAVE_C_WUNDEF - Success --- Performing Test HAVE_CXX_WINIT_SELF --- Performing Test HAVE_CXX_WINIT_SELF - Success --- Performing Test HAVE_C_WINIT_SELF --- Performing Test HAVE_C_WINIT_SELF - Success --- Performing Test HAVE_CXX_WPOINTER_ARITH --- Performing Test HAVE_CXX_WPOINTER_ARITH - Success --- Performing Test HAVE_C_WPOINTER_ARITH --- Performing Test HAVE_C_WPOINTER_ARITH - Success --- Performing Test HAVE_CXX_WSHADOW --- Performing Test HAVE_CXX_WSHADOW - Success --- Performing Test HAVE_C_WSHADOW --- Performing Test HAVE_C_WSHADOW - Success --- Performing Test HAVE_CXX_WSIGN_PROMO --- Performing Test HAVE_CXX_WSIGN_PROMO - Success --- Performing Test HAVE_C_WSIGN_PROMO --- Performing Test HAVE_C_WSIGN_PROMO - Success --- Performing Test HAVE_CXX_WNO_NARROWING --- Performing Test HAVE_CXX_WNO_NARROWING - Success --- Performing Test HAVE_C_WNO_NARROWING --- Performing Test HAVE_C_WNO_NARROWING - Success --- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR --- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success --- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR --- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success --- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS --- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success --- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS --- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success --- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION --- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success --- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION --- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success --- Performing Test HAVE_CXX_FNO_OMIT_FRAME_POINTER --- Performing Test HAVE_CXX_FNO_OMIT_FRAME_POINTER - Success --- Performing Test HAVE_C_FNO_OMIT_FRAME_POINTER --- Performing Test HAVE_C_FNO_OMIT_FRAME_POINTER - Success --- Performing Test HAVE_CXX_MSSE --- Performing Test HAVE_CXX_MSSE - Success --- Performing Test HAVE_C_MSSE --- Performing Test HAVE_C_MSSE - Success --- Performing Test HAVE_CXX_MSSE2 --- Performing Test HAVE_CXX_MSSE2 - Success --- Performing Test HAVE_C_MSSE2 --- Performing Test HAVE_C_MSSE2 - Success --- Performing Test HAVE_CXX_MSSE3 --- Performing Test HAVE_CXX_MSSE3 - Success --- Performing Test HAVE_C_MSSE3 --- Performing Test HAVE_C_MSSE3 - Success --- Check if the system is big endian --- Searching 16 bit integer --- Looking for sys/types.h --- Looking for sys/types.h - found --- Looking for stdint.h --- Looking for stdint.h - found --- Looking for stddef.h --- Looking for stddef.h - found --- Check size of unsigned short --- Check size of unsigned short - done --- Using unsigned short --- Check if the system is big endian - little endian --- Looking for fseeko --- Looking for fseeko - found --- Looking for unistd.h --- Looking for unistd.h - found --- Check size of off64_t --- Check size of off64_t - failed --- Performing Test HAVE_C_WNO_ATTRIBUTES --- Performing Test HAVE_C_WNO_ATTRIBUTES - Success --- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES --- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success --- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES --- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success --- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS --- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success --- Looking for assert.h --- Looking for assert.h - found --- Looking for fcntl.h --- Looking for fcntl.h - found --- Looking for io.h --- Looking for io.h - not found --- Looking for jbg_newlen --- Looking for jbg_newlen - not found --- Looking for mmap --- Looking for mmap - found --- Looking for search.h --- Looking for search.h - found --- Looking for string.h --- Looking for string.h - found --- Looking for unistd.h --- Looking for unistd.h - found --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Failed --- Performing Test HAVE_C_WNO_UNDEF --- Performing Test HAVE_C_WNO_UNDEF - Success --- Performing Test HAVE_C_WNO_UNUSED --- Performing Test HAVE_C_WNO_UNUSED - Success --- Performing Test HAVE_C_WNO_SIGN_COMPARE --- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success --- Performing Test HAVE_C_WNO_CAST_ALIGN --- Performing Test HAVE_C_WNO_CAST_ALIGN - Success --- Performing Test HAVE_C_WNO_SHADOW --- Performing Test HAVE_C_WNO_SHADOW - Success --- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED --- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed --- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST --- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success --- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST --- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success --- Performing Test HAVE_C_WNO_UNUSED_PARAMETER --- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success --- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS --- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success --- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER --- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success --- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION --- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success --- Performing Test HAVE_C_WNO_UNINITIALIZED --- Performing Test HAVE_C_WNO_UNINITIALIZED - Success --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER --- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Failed --- Looking for semaphore.h --- Looking for semaphore.h - found --- Performing Test HAVE_CXX_WNO_SHADOW --- Performing Test HAVE_CXX_WNO_SHADOW - Success --- Performing Test HAVE_CXX_WNO_UNUSED --- Performing Test HAVE_CXX_WNO_UNUSED - Success --- Performing Test HAVE_CXX_WNO_SIGN_COMPARE --- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success --- Performing Test HAVE_CXX_WNO_UNDEF --- Performing Test HAVE_CXX_WNO_UNDEF - Success --- Performing Test HAVE_CXX_WNO_UNINITIALIZED --- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success --- Performing Test HAVE_CXX_WNO_SWITCH --- Performing Test HAVE_CXX_WNO_SWITCH - Success --- Performing Test HAVE_CXX_WNO_PARENTHESES --- Performing Test HAVE_CXX_WNO_PARENTHESES - Success --- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS --- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success --- Performing Test HAVE_CXX_WNO_EXTRA --- Performing Test HAVE_CXX_WNO_EXTRA - Success --- Looking for linux/videodev.h --- Looking for linux/videodev.h - not found --- Looking for linux/videodev2.h --- Looking for linux/videodev2.h - not found --- Looking for sys/videoio.h --- Looking for sys/videoio.h - not found --- Looking for libavformat/avformat.h --- Looking for libavformat/avformat.h - not found --- Looking for ffmpeg/avformat.h --- Looking for ffmpeg/avformat.h - not found --- Found PythonInterp: /usr/bin/python (found suitable version "2.7.1", minimum required is "2.0") --- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable exact version "2.7.1") --- Found apache ant 1.8.2: /usr/bin/ant --- Found JNI: -framework JavaVM --- Assume that non-module dependency is available: -framework OpenCL (for module opencv_ocl) --- Performing Test HAVE_OBJCXX_FOBJC_EXCEPTIONS --- Performing Test HAVE_OBJCXX_FOBJC_EXCEPTIONS - Success --- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS --- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success --- --- General configuration for OpenCV 2.4.9 ===================================== --- Version control: 2.4.9-59-gc9cb480 --- --- Platform: --- Host: Darwin 11.4.2 i386 --- CMake: 2.8.12.2 --- CMake generator: Unix Makefiles --- CMake build tool: /usr/bin/make --- Configuration: Release --- --- C/C++: --- Built as dynamic libs?: NO --- C++ Compiler: /usr/bin/c++ (ver 4.2.0) --- C++ flags (Release): -m32 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG --- C++ flags (Debug): -m32 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -g -O0 -DDEBUG -D_DEBUG --- C Compiler: /usr/bin/cc --- C flags (Release): -m32 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG --- C flags (Debug): -m32 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -g -O0 -DDEBUG -D_DEBUG --- Linker flags (Release): --- Linker flags (Debug): --- Precompiled headers: NO --- --- OpenCV modules: --- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib java python stitching superres ts videostab --- Disabled: world --- Disabled by dependency: - --- Unavailable: androidcamera dynamicuda viz --- --- GUI: --- QT: NO --- Cocoa: YES --- OpenGL support: NO --- VTK support: NO --- --- Media I/O: --- ZLib: build (ver 1.2.7) --- JPEG: build (ver 62) --- PNG: build (ver 1.5.12) --- TIFF: build (ver 42 - 4.0.2) --- JPEG 2000: build (ver 1.900.1) --- OpenEXR: build (ver 1.7.1) --- --- Video I/O: --- DC1394 1.x: NO --- DC1394 2.x: NO --- FFMPEG: NO --- codec: NO --- format: NO --- util: NO --- swscale: NO --- gentoo-style: NO --- OpenNI: NO --- OpenNI PrimeSensor Modules: NO --- PvAPI: NO --- GigEVisionSDK: NO --- QuickTime: NO --- QTKit: YES --- V4L/V4L2: NO/NO --- --- Other third-party libraries: --- Use IPP: NO --- Use Eigen: NO --- Use TBB: NO --- Use OpenMP: NO --- Use GCD YES --- Use Concurrency NO --- Use C=: NO --- Use Cuda: NO --- Use OpenCL: YES --- --- OpenCL: --- Version: static --- libraries: -framework OpenCL --- Use AMD FFT: NO --- Use AMD BLAS: NO --- --- Python: --- Interpreter: /usr/bin/python (ver 2.7.1) --- Libraries: /usr/lib/libpython2.7.dylib (ver 2.7.1) --- numpy: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include (ver 1.5.1) --- packages path: lib/python2.7/site-packages --- --- Java: --- ant: /usr/bin/ant (ver 1.8.2) --- JNI: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Headers /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers --- Java tests: YES --- --- Documentation: --- Build Documentation: NO --- Sphinx: NO --- PdfLaTeX compiler: NO --- --- Tests and samples: --- Tests: YES --- Performance tests: YES --- C/C++ Examples: NO --- --- Install path: /usr/local --- --- cvconfig.h is in: /Users/user/Projects/itseez-opencv/build --- ----------------------------------------------------------------- --- --- Configuring done --- Generating done --- Build files have been written to: /Users/user/Projects/itseez-opencv/build diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_32/libopencv_java249.dylib b/src/main/resources/nu/pattern/opencv/osx/x86_32/libopencv_java249.dylib deleted file mode 100755 index d8d7b58..0000000 Binary files a/src/main/resources/nu/pattern/opencv/osx/x86_32/libopencv_java249.dylib and /dev/null differ diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_64/README.md b/src/main/resources/nu/pattern/opencv/osx/x86_64/README.md index ee0ca67..4c17b91 100644 --- a/src/main/resources/nu/pattern/opencv/osx/x86_64/README.md +++ b/src/main/resources/nu/pattern/opencv/osx/x86_64/README.md @@ -1,5 +1,9 @@ # OS X x86_64 +```shell +cmake -DBUILD_SHARED_LIBS=OFF -DEIGEN_INCLUDE_PATH=/usr/local/include/eigen3 .. +``` + ```shell git clone git://github.com/Itseez/opencv.git itseez-opencv cd itseez-opencv diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_64/cmake.log b/src/main/resources/nu/pattern/opencv/osx/x86_64/cmake.log index d4b758d..88c0cf5 100644 --- a/src/main/resources/nu/pattern/opencv/osx/x86_64/cmake.log +++ b/src/main/resources/nu/pattern/opencv/osx/x86_64/cmake.log @@ -1,118 +1,601 @@ --- Looking for linux/videodev.h --- Looking for linux/videodev.h - not found --- Looking for linux/videodev2.h --- Looking for linux/videodev2.h - not found --- Looking for sys/videoio.h --- Looking for sys/videoio.h - not found --- Looking for libavformat/avformat.h --- Looking for libavformat/avformat.h - not found --- Looking for ffmpeg/avformat.h --- Looking for ffmpeg/avformat.h - not found --- Found apache ant 1.8.2: /usr/bin/ant --- Assume that non-module dependency is available: -framework OpenCL (for module opencv_ocl) --- --- General configuration for OpenCV 2.4.9 ===================================== --- Version control: 2.4.9-59-gc9cb480 +-- The CXX compiler identification is AppleClang 11.0.3.11030032 +-- The C compiler identification is AppleClang 11.0.3.11030032 +-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ +-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc +-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +-- Detected processor: x86_64 +-- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found /Users/jason/.pyenv/shims/python2.7) +-- Found PythonInterp: /Users/jason/.pyenv/shims/python3 (found suitable version "3.7.4", minimum required is "3.2") +-- Could NOT find PythonLibs: Found unsuitable version "3.7.6", but required is exact version "3.7.4" (found /usr/local/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib) +-- Looking for ccache - not found +-- Performing Test HAVE_CXX_FSIGNED_CHAR +-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success +-- Performing Test HAVE_C_FSIGNED_CHAR +-- Performing Test HAVE_C_FSIGNED_CHAR - Success +-- Performing Test HAVE_CXX_W +-- Performing Test HAVE_CXX_W - Success +-- Performing Test HAVE_C_W +-- Performing Test HAVE_C_W - Success +-- Performing Test HAVE_CXX_WALL +-- Performing Test HAVE_CXX_WALL - Success +-- Performing Test HAVE_C_WALL +-- Performing Test HAVE_C_WALL - Success +-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE +-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success +-- Performing Test HAVE_C_WERROR_RETURN_TYPE +-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success +-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR +-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success +-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR +-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success +-- Performing Test HAVE_CXX_WERROR_ADDRESS +-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success +-- Performing Test HAVE_C_WERROR_ADDRESS +-- Performing Test HAVE_C_WERROR_ADDRESS - Success +-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT +-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success +-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT +-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success +-- Performing Test HAVE_CXX_WFORMAT +-- Performing Test HAVE_CXX_WFORMAT - Success +-- Performing Test HAVE_C_WFORMAT +-- Performing Test HAVE_C_WFORMAT - Success +-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY +-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success +-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY +-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success +-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS +-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success +-- Performing Test HAVE_C_WMISSING_DECLARATIONS +-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success +-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES +-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success +-- Performing Test HAVE_C_WMISSING_PROTOTYPES +-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success +-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES +-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success +-- Performing Test HAVE_C_WSTRICT_PROTOTYPES +-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success +-- Performing Test HAVE_CXX_WUNDEF +-- Performing Test HAVE_CXX_WUNDEF - Success +-- Performing Test HAVE_C_WUNDEF +-- Performing Test HAVE_C_WUNDEF - Success +-- Performing Test HAVE_CXX_WINIT_SELF +-- Performing Test HAVE_CXX_WINIT_SELF - Success +-- Performing Test HAVE_C_WINIT_SELF +-- Performing Test HAVE_C_WINIT_SELF - Success +-- Performing Test HAVE_CXX_WPOINTER_ARITH +-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success +-- Performing Test HAVE_C_WPOINTER_ARITH +-- Performing Test HAVE_C_WPOINTER_ARITH - Success +-- Performing Test HAVE_CXX_WSHADOW +-- Performing Test HAVE_CXX_WSHADOW - Success +-- Performing Test HAVE_C_WSHADOW +-- Performing Test HAVE_C_WSHADOW - Success +-- Performing Test HAVE_CXX_WSIGN_PROMO +-- Performing Test HAVE_CXX_WSIGN_PROMO - Success +-- Performing Test HAVE_C_WSIGN_PROMO +-- Performing Test HAVE_C_WSIGN_PROMO - Success +-- Performing Test HAVE_CXX_WUNINITIALIZED +-- Performing Test HAVE_CXX_WUNINITIALIZED - Success +-- Performing Test HAVE_C_WUNINITIALIZED +-- Performing Test HAVE_C_WUNINITIALIZED - Success +-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR +-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success +-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR +-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success +-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS +-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success +-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS +-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success +-- Performing Test HAVE_CXX_WNO_COMMENT +-- Performing Test HAVE_CXX_WNO_COMMENT - Success +-- Performing Test HAVE_C_WNO_COMMENT +-- Performing Test HAVE_C_WNO_COMMENT - Success +-- Performing Test HAVE_CXX_WNO_DEPRECATED_ENUM_ENUM_CONVERSION +-- Performing Test HAVE_CXX_WNO_DEPRECATED_ENUM_ENUM_CONVERSION - Failed +-- Performing Test HAVE_C_WNO_DEPRECATED_ENUM_ENUM_CONVERSION +-- Performing Test HAVE_C_WNO_DEPRECATED_ENUM_ENUM_CONVERSION - Failed +-- Performing Test HAVE_CXX_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION +-- Performing Test HAVE_CXX_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION - Failed +-- Performing Test HAVE_C_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION +-- Performing Test HAVE_C_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION - Failed +-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION +-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success +-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION +-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success +-- Performing Test HAVE_CXX_WNO_LONG_LONG +-- Performing Test HAVE_CXX_WNO_LONG_LONG - Success +-- Performing Test HAVE_C_WNO_LONG_LONG +-- Performing Test HAVE_C_WNO_LONG_LONG - Success +-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS +-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success +-- Performing Test HAVE_C_QUNUSED_ARGUMENTS +-- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success +-- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY +-- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY - Success +-- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY +-- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY - Success +-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS +-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success +-- Performing Test HAVE_C_FFUNCTION_SECTIONS +-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success +-- Performing Test HAVE_CXX_FDATA_SECTIONS +-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success +-- Performing Test HAVE_C_FDATA_SECTIONS +-- Performing Test HAVE_C_FDATA_SECTIONS - Success +-- Performing Test HAVE_CPU_SSE_SUPPORT (check file: cmake/checks/cpu_sse.cpp) +-- Performing Test HAVE_CPU_SSE_SUPPORT - Success +-- Performing Test HAVE_CPU_SSE2_SUPPORT (check file: cmake/checks/cpu_sse2.cpp) +-- Performing Test HAVE_CPU_SSE2_SUPPORT - Success +-- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) +-- Performing Test HAVE_CPU_SSE3_SUPPORT - Success +-- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) +-- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success +-- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) +-- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success +-- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) +-- Performing Test HAVE_CPU_POPCNT_SUPPORT - Failed +-- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) +-- Performing Test HAVE_CXX_MPOPCNT - Success +-- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) +-- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Failed +-- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) +-- Performing Test HAVE_CXX_MSSE4_2 - Success +-- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp) +-- Performing Test HAVE_CPU_FP16_SUPPORT - Failed +-- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) +-- Performing Test HAVE_CXX_MF16C - Success +-- Performing Test HAVE_CXX_MFMA +-- Performing Test HAVE_CXX_MFMA - Success +-- Performing Test HAVE_CPU_AVX_SUPPORT (check file: cmake/checks/cpu_avx.cpp) +-- Performing Test HAVE_CPU_AVX_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) +-- Performing Test HAVE_CXX_MAVX - Success +-- Performing Test HAVE_CPU_AVX2_SUPPORT (check file: cmake/checks/cpu_avx2.cpp) +-- Performing Test HAVE_CPU_AVX2_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) +-- Performing Test HAVE_CXX_MAVX2 - Success +-- Performing Test HAVE_CPU_AVX_512F_SUPPORT (check file: cmake/checks/cpu_avx512.cpp) +-- Performing Test HAVE_CPU_AVX_512F_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp) +-- Performing Test HAVE_CXX_MAVX512F - Success +-- Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT (check file: cmake/checks/cpu_avx512common.cpp) +-- Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success +-- Performing Test HAVE_CPU_AVX512_KNL_SUPPORT (check file: cmake/checks/cpu_avx512knl.cpp) +-- Performing Test HAVE_CPU_AVX512_KNL_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF (check file: cmake/checks/cpu_avx512knl.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF - Success +-- Performing Test HAVE_CPU_AVX512_KNM_SUPPORT (check file: cmake/checks/cpu_avx512knm.cpp) +-- Performing Test HAVE_CPU_AVX512_KNM_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF_MAVX5124FMAPS_MAVX5124VNNIW_MAVX512VPOPCNTDQ (check file: cmake/checks/cpu_avx512knm.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF_MAVX5124FMAPS_MAVX5124VNNIW_MAVX512VPOPCNTDQ - Failed +-- AVX512_KNM is not supported by C++ compiler +-- Performing Test HAVE_CPU_AVX512_SKX_SUPPORT (check file: cmake/checks/cpu_avx512skx.cpp) +-- Performing Test HAVE_CPU_AVX512_SKX_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success +-- Performing Test HAVE_CPU_AVX512_CNL_SUPPORT (check file: cmake/checks/cpu_avx512cnl.cpp) +-- Performing Test HAVE_CPU_AVX512_CNL_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI (check file: cmake/checks/cpu_avx512cnl.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI - Success +-- Performing Test HAVE_CPU_AVX512_CLX_SUPPORT (check file: cmake/checks/cpu_avx512clx.cpp) +-- Performing Test HAVE_CPU_AVX512_CLX_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512VNNI (check file: cmake/checks/cpu_avx512clx.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512VNNI - Success +-- Performing Test HAVE_CPU_AVX512_ICL_SUPPORT (check file: cmake/checks/cpu_avx512icl.cpp) +-- Performing Test HAVE_CPU_AVX512_ICL_SUPPORT - Failed +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI_MAVX512VNNI_MAVX512VBMI2_MAVX512BITALG_MAVX512VPOPCNTDQ (check file: cmake/checks/cpu_avx512icl.cpp) +-- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI_MAVX512VNNI_MAVX512VBMI2_MAVX512BITALG_MAVX512VPOPCNTDQ - Success +-- Performing Test HAVE_CPU_BASELINE_FLAGS +-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX +-- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success +-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN +-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success +-- Performing Test HAVE_C_FVISIBILITY_HIDDEN +-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success +-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN +-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success +-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN +-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success +-- Performing Test HAVE_LINK_AS_NEEDED +-- Performing Test HAVE_LINK_AS_NEEDED - Failed +-- Looking for posix_memalign +-- Looking for posix_memalign - found +-- Looking for malloc.h +-- Looking for malloc.h - not found +-- Check if the system is big endian +-- Searching 16 bit integer +-- Looking for sys/types.h +-- Looking for sys/types.h - found +-- Looking for stdint.h +-- Looking for stdint.h - found +-- Looking for stddef.h +-- Looking for stddef.h - found +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Using unsigned short +-- Check if the system is big endian - little endian +-- Looking for fseeko +-- Looking for fseeko - found +-- Looking for unistd.h +-- Looking for unistd.h - found +-- Check size of off64_t +-- Check size of off64_t - failed +-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 +-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success +-- Performing Test HAVE_C_WNO_ATTRIBUTES +-- Performing Test HAVE_C_WNO_ATTRIBUTES - Success +-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES +-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success +-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES +-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success +-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS +-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success +-- Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE +-- Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE - Success +-- Performing Test HAVE_C_WNO_UNDEF +-- Performing Test HAVE_C_WNO_UNDEF - Success +-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH +-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success +-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER +-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success +-- Performing Test HAVE_C_WNO_SIGN_COMPARE +-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success +-- libjpeg-turbo: VERSION = 2.0.4, BUILD = opencv-4.3.0-libjpeg-turbo +-- Check size of size_t +-- Check size of size_t - done +-- Check size of unsigned long +-- Check size of unsigned long - done +-- Performing Test HAVE_BUILTIN_CTZL +-- Performing Test HAVE_BUILTIN_CTZL - Success +-- Looking for include file locale.h +-- Looking for include file locale.h - found +-- Looking for include file stdlib.h +-- Looking for include file stdlib.h - found +-- Looking for include file sys/types.h +-- Looking for include file sys/types.h - found +-- Looking for assert.h +-- Looking for assert.h - found +-- Looking for dlfcn.h +-- Looking for dlfcn.h - found +-- Looking for fcntl.h +-- Looking for fcntl.h - found +-- Looking for inttypes.h +-- Looking for inttypes.h - found +-- Looking for io.h +-- Looking for io.h - not found +-- Looking for limits.h +-- Looking for limits.h - found +-- Looking for memory.h +-- Looking for memory.h - found +-- Looking for search.h +-- Looking for search.h - found +-- Looking for string.h +-- Looking for string.h - found +-- Looking for strings.h +-- Looking for strings.h - found +-- Looking for sys/time.h +-- Looking for sys/time.h - found +-- Looking for unistd.h +-- Looking for unistd.h - found +-- Performing Test C_HAS_inline +-- Performing Test C_HAS_inline - Success +-- Check size of signed short +-- Check size of signed short - done +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Check size of signed int +-- Check size of signed int - done +-- Check size of unsigned int +-- Check size of unsigned int - done +-- Check size of signed long +-- Check size of signed long - done +-- Check size of signed long long +-- Check size of signed long long - done +-- Check size of unsigned long long +-- Check size of unsigned long long - done +-- Check size of unsigned char * +-- Check size of unsigned char * - done +-- Check size of ptrdiff_t +-- Check size of ptrdiff_t - done +-- Check size of INT8 +-- Check size of INT8 - failed +-- Check size of INT16 +-- Check size of INT16 - failed +-- Check size of INT32 +-- Check size of INT32 - failed +-- Looking for floor +-- Looking for floor - found +-- Looking for pow +-- Looking for pow - found +-- Looking for sqrt +-- Looking for sqrt - found +-- Looking for isascii +-- Looking for isascii - found +-- Looking for memset +-- Looking for memset - found +-- Looking for mmap +-- Looking for mmap - found +-- Looking for getopt +-- Looking for getopt - found +-- Looking for memmove +-- Looking for memmove - found +-- Looking for setmode +-- Looking for setmode - found +-- Looking for strcasecmp +-- Looking for strcasecmp - found +-- Looking for strchr +-- Looking for strchr - found +-- Looking for strrchr +-- Looking for strrchr - found +-- Looking for strstr +-- Looking for strstr - found +-- Looking for strtol +-- Looking for strtol - found +-- Looking for strtol +-- Looking for strtol - found +-- Looking for strtoull +-- Looking for strtoull - found +-- Looking for lfind +-- Looking for lfind - found +-- Performing Test HAVE_SNPRINTF +-- Performing Test HAVE_SNPRINTF - Success +-- Check if the system is big endian +-- Searching 16 bit integer +-- Using unsigned short +-- Check if the system is big endian - little endian +-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE +-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Failed +-- Performing Test HAVE_C_WNO_UNUSED +-- Performing Test HAVE_C_WNO_UNUSED - Success +-- Performing Test HAVE_C_WNO_CAST_ALIGN +-- Performing Test HAVE_C_WNO_CAST_ALIGN - Success +-- Performing Test HAVE_C_WNO_SHADOW +-- Performing Test HAVE_C_WNO_SHADOW - Success +-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED +-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed +-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST +-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success +-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST +-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success +-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION +-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Failed +-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS +-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER +-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success +-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES +-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success +-- Performing Test HAVE_CXX_WNO_UNDEF +-- Performing Test HAVE_CXX_WNO_UNDEF - Success +-- Performing Test HAVE_C_STD_C99 +-- Performing Test HAVE_C_STD_C99 - Success +-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE +-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success +-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION +-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success +-- Found OpenJPEG: openjp2 (found version "2.3.1") +-- Performing Test HAVE_CXX_WNO_SHADOW +-- Performing Test HAVE_CXX_WNO_SHADOW - Success +-- Performing Test HAVE_CXX_WNO_UNUSED +-- Performing Test HAVE_CXX_WNO_UNUSED - Success +-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE +-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success +-- Performing Test HAVE_CXX_WNO_UNINITIALIZED +-- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success +-- Performing Test HAVE_CXX_WNO_SWITCH +-- Performing Test HAVE_CXX_WNO_SWITCH - Success +-- Performing Test HAVE_CXX_WNO_PARENTHESES +-- Performing Test HAVE_CXX_WNO_PARENTHESES - Success +-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS +-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success +-- Performing Test HAVE_CXX_WNO_EXTRA +-- Performing Test HAVE_CXX_WNO_EXTRA - Success +-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS +-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success +-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION +-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Failed +-- Performing Test HAVE_CXX_WNO_DEPRECATED +-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success +-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed +-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE +-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success +-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH +-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Success +-- Performing Test HAVE_CXX_WNO_REORDER +-- Performing Test HAVE_CXX_WNO_REORDER - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT +-- Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success +-- IPPICV: Download: ippicv_2020_mac_intel64_20191018_general.tgz +-- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] +-- at: /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/target/osx/x86_64/3rdparty/ippicv/ippicv_mac/icv +-- found Intel IPP Integration Wrappers sources: 2020.0.0 +-- at: /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/target/osx/x86_64/3rdparty/ippicv/ippicv_mac/iw +-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off +-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off +-- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_BLAS_LIBRARY) +-- Looking for sgemm_ +-- Looking for sgemm_ - not found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - found +-- Found Threads: TRUE +-- Looking for dgemm_ +-- Looking for dgemm_ - found +-- Found BLAS: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework +-- Looking for cheev_ +-- Looking for cheev_ - found +-- A library with LAPACK API found. +-- LAPACK(LAPACK/Apple): LAPACK_LIBRARIES: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework +-- Looking for Accelerate/Accelerate.h +-- Looking for Accelerate/Accelerate.h - found +-- Looking for Accelerate/Accelerate.h +-- Looking for Accelerate/Accelerate.h - found +-- LAPACK(LAPACK/Apple): Support is enabled. +-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS +-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success +-- Performing Test HAVE_CXX_WNO_SIGN_PROMO +-- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE +-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success +-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS +-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION +-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success +-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE +-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success +-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success +-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF +-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success +-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH +-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success +-- Found apache ant: /usr/local/bin/ant (1.10.5) +-- Found JNI: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/libjawt.dylib +-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file +-- Looking for dlerror in dl +-- Looking for dlerror in dl - found +-- ADE: Download: v0.1.1f.zip +-- OpenCV Python: during development append to PYTHONPATH: /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/target/osx/x86_64/python_loader +-- Checking for module 'gstreamer-base-1.0' +-- No package 'gstreamer-base-1.0' found +-- Checking for module 'gstreamer-app-1.0' +-- No package 'gstreamer-app-1.0' found +-- Checking for module 'gstreamer-riff-1.0' +-- No package 'gstreamer-riff-1.0' found +-- Checking for module 'gstreamer-pbutils-1.0' +-- No package 'gstreamer-pbutils-1.0' found +-- Checking for module 'libdc1394-2' +-- No package 'libdc1394-2' found +-- Allocator metrics storage type: 'long long' +-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake +-- opencv_dnn: filter out ocl4dnn source code +-- opencv_dnn: filter out cuda4dnn source code +-- Performing Test HAVE_OBJCXX_FOBJC_EXCEPTIONS +-- Performing Test HAVE_OBJCXX_FOBJC_EXCEPTIONS - Success +-- +-- General configuration for OpenCV 4.3.0 ===================================== +-- Version control: acb81f4-dirty -- -- Platform: --- Host: Darwin 11.4.2 i386 --- CMake: 2.8.12.2 +-- Timestamp: 2020-04-12T15:57:24Z +-- Host: Darwin 19.3.0 x86_64 +-- CMake: 3.13.3 -- CMake generator: Unix Makefiles --- CMake build tool: /usr/bin/make +-- CMake build tool: /usr/local/bin/gmake -- Configuration: Release -- +-- CPU/HW features: +-- Baseline: SSE SSE2 SSE3 SSSE3 SSE4_1 +-- requested: DETECT +-- Dispatched code generation: SSE4_2 FP16 AVX AVX2 AVX512_SKX +-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX +-- SSE4_2 (2 files): + POPCNT SSE4_2 +-- FP16 (1 files): + POPCNT SSE4_2 FP16 AVX +-- AVX (5 files): + POPCNT SSE4_2 AVX +-- AVX2 (30 files): + POPCNT SSE4_2 FP16 FMA3 AVX AVX2 +-- AVX512_SKX (6 files): + POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX +-- -- C/C++: -- Built as dynamic libs?: NO --- C++ Compiler: /usr/bin/c++ (ver 4.2.0) --- C++ flags (Release): -m64 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG --- C++ flags (Debug): -m64 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -g -O0 -DDEBUG -D_DEBUG --- C Compiler: /usr/bin/cc --- C flags (Release): -m64 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -O3 -DNDEBUG -DNDEBUG --- C flags (Debug): -m64 -fPIC -fsigned-char -W -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -g -O0 -DDEBUG -D_DEBUG --- Linker flags (Release): --- Linker flags (Debug): +-- C++ standard: 11 +-- C++ Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ (ver 11.0.3.11030032) +-- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG +-- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG +-- C Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc +-- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG +-- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG +-- Linker flags (Release): -Wl,-dead_strip +-- Linker flags (Debug): -Wl,-dead_strip +-- ccache: NO -- Precompiled headers: NO +-- Extra dependencies: -framework OpenCL /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework ade -framework Cocoa openjp2 +-- 3rdparty dependencies: ittnotify libprotobuf zlib libjpeg-turbo libwebp libpng libtiff IlmImf quirc ippiw ippicv -- -- OpenCV modules: --- To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib java python stitching superres ts videostab +-- To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc java ml objdetect photo stitching ts video videoio -- Disabled: world -- Disabled by dependency: - --- Unavailable: androidcamera dynamicuda viz +-- Unavailable: js python2 python3 +-- Applications: tests perf_tests apps +-- Documentation: NO +-- Non-free algorithms: NO -- -- GUI: --- QT: NO -- Cocoa: YES --- OpenGL support: NO -- VTK support: NO -- -- Media I/O: --- ZLib: build (ver 1.2.7) --- JPEG: build (ver 62) --- PNG: build (ver 1.5.12) --- TIFF: build (ver 42 - 4.0.2) --- JPEG 2000: build (ver 1.900.1) --- OpenEXR: build (ver 1.7.1) +-- ZLib: build (ver 1.2.11) +-- JPEG: build-libjpeg-turbo (ver 2.0.4-62) +-- WEBP: build (ver encoder: 0x020f) +-- PNG: build (ver 1.6.37) +-- TIFF: build (ver 42 - 4.0.10) +-- JPEG 2000: OpenJPEG (ver 2.3.1) +-- OpenEXR: build (ver 2.3.0) +-- HDR: YES +-- SUNRASTER: YES +-- PXM: YES +-- PFM: YES -- -- Video I/O: --- DC1394 1.x: NO --- DC1394 2.x: NO --- FFMPEG: NO --- codec: NO --- format: NO --- util: NO --- swscale: NO --- gentoo-style: NO --- OpenNI: NO --- OpenNI PrimeSensor Modules: NO --- PvAPI: NO --- GigEVisionSDK: NO --- QuickTime: NO --- QTKit: YES --- V4L/V4L2: NO/NO +-- DC1394: NO +-- GStreamer: NO +-- AVFoundation: YES +-- +-- Parallel framework: GCD +-- +-- Trace: YES (with Intel ITT) -- -- Other third-party libraries: --- Use IPP: NO --- Use Eigen: NO --- Use TBB: NO --- Use OpenMP: NO --- Use GCD YES --- Use Concurrency NO --- Use C=: NO --- Use Cuda: NO --- Use OpenCL: YES --- --- OpenCL: --- Version: static --- libraries: -framework OpenCL --- Use AMD FFT: NO --- Use AMD BLAS: NO --- --- Python: --- Interpreter: /usr/bin/python (ver 2.7.1) --- Libraries: /usr/lib/libpython2.7.dylib (ver 2.7.1) --- numpy: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include (ver 1.5.1) --- packages path: lib/python2.7/site-packages --- --- Java: --- ant: /usr/bin/ant (ver 1.8.2) --- JNI: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Headers /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers --- Java tests: YES +-- Intel IPP: 2020.0.0 Gold [2020.0.0] +-- at: /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/target/osx/x86_64/3rdparty/ippicv/ippicv_mac/icv +-- Intel IPP IW: sources (2020.0.0) +-- at: /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/target/osx/x86_64/3rdparty/ippicv/ippicv_mac/iw +-- Lapack: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework) +-- Custom HAL: NO +-- Protobuf: build (3.5.1) -- --- Documentation: --- Build Documentation: NO --- Sphinx: NO --- PdfLaTeX compiler: NO +-- OpenCL: YES (no extra features) +-- Include path: NO +-- Link libraries: -framework OpenCL -- --- Tests and samples: --- Tests: YES --- Performance tests: YES --- C/C++ Examples: NO +-- Python (for build): /Users/jason/.pyenv/shims/python3 -- --- Install path: /usr/local +-- Java: +-- ant: /usr/local/bin/ant (ver 1.10.5) +-- JNI: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/include /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/include/darwin /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/include +-- Java wrappers: YES +-- Java tests: YES -- --- cvconfig.h is in: /Users/user/Projects/itseez-opencv/build +-- Install to: /usr/local -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done --- Build files have been written to: /Users/user/Projects/itseez-opencv/build +-- Build files have been written to: /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/target/osx/x86_64 diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_64/libopencv_java249.dylib b/src/main/resources/nu/pattern/opencv/osx/x86_64/libopencv_java249.dylib deleted file mode 100755 index 49e1c8b..0000000 Binary files a/src/main/resources/nu/pattern/opencv/osx/x86_64/libopencv_java249.dylib and /dev/null differ diff --git a/src/main/resources/nu/pattern/opencv/osx/x86_64/libopencv_java430.dylib b/src/main/resources/nu/pattern/opencv/osx/x86_64/libopencv_java430.dylib new file mode 100755 index 0000000..a6a467d Binary files /dev/null and b/src/main/resources/nu/pattern/opencv/osx/x86_64/libopencv_java430.dylib differ diff --git a/src/main/resources/nu/pattern/opencv/linux/x86_64/libopencv_java249.so b/src/main/resources/nu/pattern/opencv/windows/x86_32/opencv_java430.dll similarity index 51% rename from src/main/resources/nu/pattern/opencv/linux/x86_64/libopencv_java249.so rename to src/main/resources/nu/pattern/opencv/windows/x86_32/opencv_java430.dll index 3bb4b65..0f0fb75 100755 Binary files a/src/main/resources/nu/pattern/opencv/linux/x86_64/libopencv_java249.so and b/src/main/resources/nu/pattern/opencv/windows/x86_32/opencv_java430.dll differ diff --git a/src/main/resources/nu/pattern/opencv/windows/x86_64/opencv_java430.dll b/src/main/resources/nu/pattern/opencv/windows/x86_64/opencv_java430.dll new file mode 100755 index 0000000..b018601 Binary files /dev/null and b/src/main/resources/nu/pattern/opencv/windows/x86_64/opencv_java430.dll differ diff --git a/src/test/java/nu/pattern/LibraryLoadingTest.java b/src/test/java/nu/pattern/LibraryLoadingTest.java index 7becfd0..31243f4 100644 --- a/src/test/java/nu/pattern/LibraryLoadingTest.java +++ b/src/test/java/nu/pattern/LibraryLoadingTest.java @@ -1,6 +1,8 @@ package nu.pattern; -import org.junit.Assert; +import java.util.logging.Level; +import java.util.logging.Logger; + import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @@ -8,10 +10,6 @@ import org.opencv.core.Mat; import org.opencv.core.Scalar; -import java.net.URLClassLoader; -import java.util.logging.Level; -import java.util.logging.Logger; - /** * @see Issue 7 */ @@ -41,40 +39,6 @@ public Client() { } } - public static class TestClassLoader extends URLClassLoader { - public TestClassLoader() { - super(((URLClassLoader) getSystemClassLoader()).getURLs()); - } - - @Override - public Class loadClass(String name) throws ClassNotFoundException { - if (name.startsWith("nu.pattern") || name.startsWith("org.opencv")) { - return super.findClass(name); - } - - return super.loadClass(name); - } - } - - /** - * Multiple {@link ClassLoader} instances should be able to successfully load the native library, and call OpenCV APIs. - */ - @Test - @SuppressWarnings("unchecked") - public void multipleClassLoaders() throws ClassNotFoundException, IllegalAccessException, InstantiationException { - final ClassLoader loader0 = new TestClassLoader(); - final ClassLoader loader1 = new TestClassLoader(); - - final Class c0 = Class.forName(Client.class.getName(), true, loader0); - final Class c1 = Class.forName(Client.class.getName(), true, loader1); - - Assert.assertNotEquals("A class from two different loaders should not be equal.", c0, c1); - Assert.assertNotSame("A class from two different loaders should not be same.", c0, c1); - - c0.newInstance(); - c1.newInstance(); - } - /** * {@link OpenCV#loadLocally()} is safe to call repeatedly within a single {@link ClassLoader} context. */ diff --git a/src/test/java/nu/pattern/MserTest.java b/src/test/java/nu/pattern/MserTest.java new file mode 100644 index 0000000..0b065cf --- /dev/null +++ b/src/test/java/nu/pattern/MserTest.java @@ -0,0 +1,47 @@ +package nu.pattern; + +import java.util.ArrayList; +import java.util.List; + +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; +import org.opencv.core.CvType; +import org.opencv.core.Mat; +import org.opencv.core.MatOfPoint; +import org.opencv.core.MatOfRect; +import org.opencv.core.Point; +import org.opencv.core.Scalar; +import org.opencv.features2d.MSER; +import org.opencv.imgproc.Imgproc; + +@RunWith(JUnit4.class) +public class MserTest { + static { + OpenCV.loadLocally(); + } + + /** + * Draws a filled circle in an image and then uses MSER to attempt to + * find it. Expects to find one result. + */ + @Test + public void testMser() { + Mat mat = new Mat(400, 400, CvType.CV_8U); + mat.setTo(new Scalar(0)); + Imgproc.circle( + mat, + new Point(200, 200), + 20, + new Scalar(100), + -1); + MSER mser = MSER.create(); + List msers = new ArrayList<>(); + MatOfRect bboxes = new MatOfRect(); + mser.detectRegions(mat, msers, bboxes); + Assert.assertEquals(1, msers.size()); + } +} + + diff --git a/upstream/opencv-249.jar b/upstream/opencv-249.jar deleted file mode 100644 index c7844ce..0000000 Binary files a/upstream/opencv-249.jar and /dev/null differ diff --git a/upstream/opencv-430.jar b/upstream/opencv-430.jar new file mode 100644 index 0000000..344ca16 Binary files /dev/null and b/upstream/opencv-430.jar differ diff --git a/upstream/opencv-test.jar b/upstream/opencv-test.jar index 565c7ea..121caf4 100644 Binary files a/upstream/opencv-test.jar and b/upstream/opencv-test.jar differ diff --git a/upstream/res/drawable/lena.jpg b/upstream/res/drawable/lena.jpg deleted file mode 100644 index f06aa74..0000000 Binary files a/upstream/res/drawable/lena.jpg and /dev/null differ diff --git a/upstream/res/drawable/lena.png b/upstream/res/drawable/lena.png new file mode 100644 index 0000000..3e86687 Binary files /dev/null and b/upstream/res/drawable/lena.png differ