title: Compiling CMakeCXXCompilerId.cpp and CMakeCCompilerId.c files failed error in CMakeLists.txt file while configuring OpenCV with CMake
body: <p>I am doing object detection in images using <a href="http://opencv.org/" rel="nofollow">OpenCV</a> library in Eclipse java. For this I need to create a <code>.vec</code> file using <a href="http://docs.opencv.org/doc/user_guide/ug_traincascade.html" rel="nofollow"><code>opencv_createsamples</code></a> utility in command prompt but <code>opencv_createsamples</code> is not getting recognized in Dos prompt.</p>
  
  <p>So I need to configure opencv enabled with TBB with CMake but getting compilation error in <code>CMakeCCompilerId.c</code> and <code>CMakeCXXCompilerId.cpp</code> files in CMakeLists.txt file. </p>
  
  <p>Am I missing something?</p>