There was no error generated because there was no real error ;-). Please see my second mail, in that one I investigated it a little more.<br><br><br><div class="gmail_quote">2008/7/14 Bill Hoffman &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">Steven Van Ingelgem wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
<br>
I am trying to convert &quot;datadraw&quot; into a CMake project, but I&#39;m running against this problem:<br>
<br>
<br>
C:\TEMP\datadraw&gt;cmake . -G &quot;MinGW Makefiles&quot;<br>
-- Building datadraw...<br>
CMake Error at cmake/prebuilt.cmake:41 (MESSAGE):<br>
 &nbsp;datadraw failed to build. &nbsp;This is a needed file for the database<br>
 &nbsp;precompilation!<br>
Call Stack (most recent call first):<br>
 &nbsp;CMakeLists.txt:55 (INCLUDE)<br>
<br>
<br>
This output is very small, and I cannot find any reason why it would be failing (because when I run the same command in the &quot;src&quot; directory, it&#39;s building fine).<br>
<br>
<br>
The command which is building datadraw is:<br>
 &nbsp;TRY_COMPILE(<br>
 &nbsp; &nbsp; &nbsp;DATADRAW_OK<br>
 &nbsp; &nbsp; &nbsp;${PROJECT_SOURCE_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp<br>
 &nbsp; &nbsp; &nbsp;${PROJECT_SOURCE_DIR}/src<br>
 &nbsp; &nbsp; &nbsp;datadraw<br>
 &nbsp;)<br>
<br>
<br>
</blockquote></div></div>
See CMakeError.log that was generated during the try compile.<br>
<br>
-Bill<br><font color="#888888">
<br>
-- <br>
Bill Hoffman<br>
Kitware, Inc.<br>
28 Corporate Drive<br>
Clifton Park, NY 12065<br>
<a href="mailto:bill.hoffman@kitware.com" target="_blank">bill.hoffman@kitware.com</a><br>
<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
518-371-3971 (phone and fax)<br>
</font></blockquote></div><br>