Some of these try-compile tests end up failing if your path name is too
long on Windows. Are you building under a super-long directory name
under your My Documents folder, perhaps?<br>
<br>
You may start to run into trouble with path names as short as 100
characters long or so, believe it or not because of the way some of the
relative paths are constructed for use by the CMake/Visual Studio
combination... Try using &quot;C:\VTKbuild&quot; or something silimarly short as
the root of your build tree.<br><br>
HTH,<br>
David<br>
<br><div><span class="gmail_quote">On 11/9/06, <b class="gmail_sendername">James Bigler</b> &lt;<a href="mailto:bigler@cs.utah.edu">bigler@cs.utah.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to build VTK 5.0.2 with Visual Studio 2005 Express Edition.<br>I need to build libraries in order to make some plugins for another<br>application.&nbsp;&nbsp;I'm also using CMake 2.4.3 on WinXP.<br><br>I've been able to build other things with VS 2005 IDE.&nbsp;&nbsp;In fact, I can
<br>build another open source package teem (<a href="http://teem.sourceforge.net">http://teem.sourceforge.net</a>)<br>with CMake using VS 2005 IDE and nmake (which needed a hack to include<br>Windows SDK includes).<br><br>
I tried following these instructions with no success.<br><br><a href="http://www.cmake.org/Wiki/CMake_Generator_Specific_Information#How_to_generate_NMake_Makefiles_using_Visual_C.2B.2B_Express_Edition_.28free_Visual_Studio_8.29">
http://www.cmake.org/Wiki/CMake_Generator_Specific_Information#How_to_generate_NMake_Makefiles_using_Visual_C.2B.2B_Express_Edition_.28free_Visual_Studio_8.29</a><br><br>If I use the Visual Studio 8 generator the configure fails when checking
<br>the endianness of the machine.&nbsp;&nbsp;This may be because of the msvcr80.dll<br>and manifest issue.&nbsp;&nbsp;I haven't been able to find much information on the<br>mailing lists about this.<br><br>The nmake generator completes, but complains about manifests.&nbsp;&nbsp;If I
<br>restart the build it seems to get further.<br><br>[&nbsp;&nbsp;1%] Building CXX object<br>Utilities/kwsys/CMakeFiles/vtksys.dir/CommandLineArgu<br>ments.obj<br>CommandLineArguments.cxx<br>Linking CXX shared library ..\..\bin\vtksys.dll
<br>&nbsp;&nbsp;&nbsp;&nbsp;Creating library ..\..\bin\vtksys.lib and object ..\..\bin\vtksys.exp<br><br>..\..\bin\vtksys.dll.manifest : general error c1010070: Failed to load<br>and parse the manifest. The system cannot find the file specified.
<br>NMAKE : fatal error U1077: '&quot;C:\Program Files\Microsoft Visual Studio<br>8\VC\BIN\mt.EXE&quot;' : return code '0x1f'<br>Stop.<br>NMAKE : fatal error U1077: '&quot;C:\Program Files\Microsoft Visual Studio<br>8\VC\BIN\nmake.exe&quot;' : return code '0x2'
<br>Stop.<br>NMAKE : fatal error U1077: '&quot;C:\Program Files\Microsoft Visual Studio<br>8\VC\BIN\nmake.exe&quot;' : return code '0x2'<br>Stop.<br><br>Perhaps there is a wrong dependency chain?&nbsp;&nbsp;It did seem to build after I
<br>restarted nmake 30 times or so.<br><br>Thanks,<br>James<br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>