tum-vision / fastfusion

Volumetric 3D Mapping in Real-Time on a CPU
GNU General Public License v2.0
559 stars 173 forks source link

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

Open zhangxaochen opened 7 years ago

zhangxaochen commented 7 years ago

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 commented 7 years ago

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