Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(win10 + vs2010) cmake error: "string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command" #16

Open
zhangxaochen opened this issue Oct 9, 2016 · 1 comment

Comments

@zhangxaochen
Copy link

zhangxaochen commented Oct 9, 2016

I come across an error as the title says, and the full cmake output is as following:

OpenCV ARCH: x86
OpenCV RUNTIME: vc10
OpenCV STATIC: OFF
Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v6.5 (found suitable exact version "6.5") 
Found OpenCV 2.4.9 in D:/sdk/opencv249/x86/vc10/lib
You might need to add D:\sdk\opencv249\x86\vc10\bin to your PATH to be able to run your applications.
CMake Error at CMakeLists.txt:39 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.


Number of avx2 occurrences in /proc/cpuinfo: 0
Compiling without AVX2 support
PROJECT_SOURCE_DIR is E:/Github/fastfusion
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
Did not find qglviewer2, linking qglviewer-qt4
Configuring incomplete, errors occurred!
See also "E:/Github/fastfusion/_build.vc10/CMakeFiles/CMakeOutput.log".
See also "E:/Github/fastfusion/_build.vc10/CMakeFiles/CMakeError.log".

In file CMakeError.log, I find msg like:

CheckSymbolExists.cxx(8): error C2065: 'Q_WS_X11' : undeclared identifier [E:\Github\fastfusion\_build.vc10\CMakeFiles\CMakeTmp\cmTryCompileExec2372179826.vcxproj]

    0 Warning(s)
    1 Error(s)

I've no idea what's the exact error, could someone help me out? Thx in advance~

@Miranda0920
Copy link

I meet the same problem. Have you find any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants