CMakeLists.txt:359 (ocv_include_directories)

asked 2014-08-11 14:28:17 -0600

p_q gravatar image

updated 2014-08-12 06:13:58 -0600

-- Detected version of GNU GCC: 48 (408)
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at cmake/OpenCVUtils.cmake:42 (if):
  if given arguments:

    "~/opencv-2.4.9/build" "MATCHES" "^~/opencv-2.4.9" "OR" "~/opencv-2.4.9/build" "MATCHES" "^~/opencv-2.4.9/build"

  Regular expression "^~/opencv-2.4.9" cannot compile
Call Stack (most recent call first):
  CMakeLists.txt:359 (ocv_include_directories)


-- Configuring incomplete, errors occurred!
See also "~/opencv-2.4.9/build/CMakeFiles/CMakeOutput.log".

that is what I got after run

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..

I'm running Ubuntu 14.04 x64

edit retag flag offensive close merge delete

Comments

I have same problem

Jeongu gravatar imageJeongu ( 2016-09-28 02:53:14 -0600 )edit