Are you adding /Tc to the flags anywhere in your build? (either incorrectly with add_definitions, or correctly with set cmake_c_flags?)<br><br>Ryan<br><br><div class="gmail_quote">On Thu, Aug 5, 2010 at 9:16 PM, John McGehee <span dir="ltr">&lt;<a href="mailto:cmake@voom.net">cmake@voom.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I have my CMake build, test and install working on Linux, and now I&#39;m trying to get it to build on Windows.<br>

<br>
On Windows XP SP3, I have installed:<br>
    CMake 2.8.2<br>
    Virtual Studio Express 9 and 10<br>
<br>
CMake Configure and Generate for either Virtual Studio 9 or 10 run without error.<br>
<br>
In VS, I open the project or solution, and execute the VS &quot;Build &gt; Build BUILD_ALL&quot; command.  The cl compiler fails with the error,<br>
<br>
  ------ Build started: Project: dp42, Configuration: Debug Win32 ------<br>
  Compiling...<br>
  cl : Command line error D8004 : &#39;/Tc&#39; requires an argument<br>
<br>
The same thing happens when I generate for and build on VS 9 and 10.  What is the problem here?<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Ryan Pavlik<br>HCI Graduate Student<br>Virtual Reality Applications Center<br>Iowa State University<br><br><a href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a><br>
<a href="http://academic.cleardefinition.com">http://academic.cleardefinition.com</a><br>Internal VRAC/HCI Site: <a href="http://tinyurl.com/rpavlik">http://tinyurl.com/rpavlik</a><br>