Are you adding /Tc to the flags anywhere in your build? (either incorrectly with add_definitions, or correctly with set cmake_c_flags?)
Ryan On Thu, Aug 5, 2010 at 9:16 PM, John McGehee <cm...@voom.net> wrote: > I have my CMake build, test and install working on Linux, and now I'm > trying to get it to build on Windows. > > On Windows XP SP3, I have installed: > CMake 2.8.2 > Virtual Studio Express 9 and 10 > > CMake Configure and Generate for either Virtual Studio 9 or 10 run without > error. > > In VS, I open the project or solution, and execute the VS "Build > Build > BUILD_ALL" command. The cl compiler fails with the error, > > ------ Build started: Project: dp42, Configuration: Debug Win32 ------ > Compiling... > cl : Command line error D8004 : '/Tc' requires an argument > > The same thing happens when I generate for and build on VS 9 and 10. What > is the problem here? > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu http://academic.cleardefinition.com Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake