getting make compilation error: unknown property attribute 'class'

asked 2017-09-05 05:21:14 -0600

arpit gravatar image

System information (version)

opencv version : 3.3.0 $ clang --version Apple LLVM version 7.3.0 (clang-703.0.31) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.3.0 (clang-703.0.31) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Detailed description

first i ran the cmake task in saperate build directory and after that when running make in build directory getting below compilation errors. I am attaching the build logs. please rename it to file.jpeg to file.zip(because of upload restrictions). C:\fakepath\Archive.zip.jpeg Steps to reproduce

  1. download opencv-3.3.0 src from opencv.org
  2. unzip it(lets say /opencv-3.3.0/) and create a separate build directory(/opencv_build/).
  3. run cmake ~/opencv-3.3.0 inside build directory.
  4. after cmake completes, run make inside ~/opencv_build/ directory.
edit retag flag offensive close merge delete

Comments

one work around I found is to install it through anaconda instead: conda install -c menpo opencv3

arpit gravatar imagearpit ( 2017-09-08 01:46:36 -0600 )edit