<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span><div><span>Hi Constantine,</span></div><div><span><br></span></div><div><span>are you sure your CVS instance is working properly? </span></div><div><span><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; ">"1>cvs.exe checkout: warning: failed to open M:\\.cvspass for reading: No such file or directory"</span> </span><span style="font-size: 10pt; ">might be a hint CVS isn't working as intended.</span></div><div><span><br></span></div><div><span>On the other hand I am not sure what happens if you checkout GCC_XML again. I will try later but I couldn't experience these problems since I haven't yet checked out GCC_XML twice.</span></div><div><br></div><div>In my eyes it is not the patch that causes your problems. Have you made progress since you've written the mail?</div><div>How
about the compilation of GCC_XML? Any errors?</div><div><br></div><div>Cheers,</div><div>Willi</div></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Von:</span></b> Constantine Zakkaroff <mnkz@leeds.ac.uk><br> <b><span style="font-weight: bold;">An:</span></b> "insight-users@itk.org" <insight-users@itk.org> <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 18:55 Samstag, 28.Juli 2012<br> <b><span style="font-weight: bold;">Betreff:</span></b> Re: [Insight-users] Make that wrapping projects depend on the swig project<br> </font> </div> <br>Hi Matt, Willi,<br><br>> Please test and
review this patch:<br>> <br>> <a href="http://review.source.kitware.com/#/c/5300/" target="_blank">http://review.source.kitware.com/#/c/5300/</a><br><br>I'm also struggling with compiling ITK 4.2 with Python wrapping on<br>Windows Vista, Visual Studio 2008. So I thought you might want to see<br>the results with the the patch you suggested.<br><br>Here's the errors from the clean build with the patch above:<br><br>1>------ Build started: Project: GCC_XML, Configuration: Release x64 ------<br>2>------ Build started: Project: GCC_XML-install, Configuration: Release x64 ------<br>1>Could not find the temporary path. Make sure the TEMP environment variable is set.<br>1><br>2>Creating directories for 'GCC_XML'<br>3>------ Build started: Project: itkv3p_lsqr, Configuration: Release x64 ------<br>4>------ Build started: Project: itkvcl, Configuration: Release x64 ------<br>2>Performing download step (CVS checkout) for
'GCC_XML'<br>3>Compiling...<br>4>Compiling...<br>1>Creating directories for 'GCC_XML'<br>3>lsqrBase.cxx<br>4>vcl_deprecated.cxx<br>1>Performing download step (CVS checkout) for 'GCC_XML'<br>4>vcl_alloc.cxx<br>4>vcl_hashtable.cxx<br>4>vcl_rbtree_instances.cxx<br>4>vcl_string_instances.cxx<br>4>vcl_limits.cxx<br>4>vcl_cstdlib.cxx<br>4>vcl_cassert.cxx<br>2>cvs.exe checkout: warning: failed to open M:\\.cvspass for reading: No such file or directory<br>4>vcl_cmath.cxx<br>1>cvs.exe checkout: warning: failed to open M:\\.cvspass for reading: No such file or directory<br>1>cvs checkout: [15:09:02] waiting for cvsuser's lock in /cvsroot/GCC_XML/CVSROOT<br>4>Generating Code...<br>4>Creating library...<br>4>Build log was saved at "file://e:\WorkspaceBin\InsightToolkit-4.2.0.x64A\Modules\ThirdParty\VNL\src\vxl\vcl\itkvcl.dir\Release\BuildLog.htm"<br>4>itkvcl - 0 error(s), 0 warning(s)<br>5>------
Build started: Project: itkvnl, Configuration: Release x64 ------<br>2>U GCC_XML/CMakeLists.txt<br>...<br>... deleted 552 lines with 2>U checkout mesages.<br>...<br>1>cvs checkout: [15:09:32] obtained lock in /cvsroot/GCC_XML/CVSROOT<br>1>cvs.exe checkout: move away GCC_XML/CMakeLists.txt; it is in the way<br>1>C GCC_XML/CMakeLists.txt<br>1>cvs.exe checkout: move away GCC_XML/CTestConfig.cmake; it is in the way<br>1>C GCC_XML/CTestConfig.cmake<br>1>cvs.exe checkout: move away GCC_XML/README; it is in the way<br>5>vnl_vector_fixed+float.5-.cxx<br>1>C GCC_XML/README<br>1>cvs.exe checkout: move away GCC_XML/gccxmlCPack.cmake; it is in the way<br>1>C GCC_XML/gccxmlCPack.cmake<br>1>cvs.exe checkout: move away GCC_XML/GCC/CMakeLists.txt; it is in the way<br>1>C GCC_XML/GCC/CMakeLists.txt<br>1>cvs.exe checkout: move away GCC_XML/GCC/COPYING; it is in the way<br>1>C GCC_XML/GCC/COPYING<br>1>cvs.exe checkout:
move away GCC_XML/GCC/COPYING.LIB; it is in the way<br>1>C GCC_XML/GCC/COPYING.LIB<br>1>cvs.exe checkout: move away GCC_XML/GCC/config.guess; it is in the way<br>...<br>... many more messagess like above.<br>...<br>1>cvs.exe checkout: move away GCC_XML/GCC/gcc/config/soft-fp/floatunsisf.c; it is in the way<br>1>C GCC_XML/GCC/gcc/config/soft-fp/floatunsisf.c<br>1>cvs.exe checkout: move away GCC_XML/GCC/gcc/config/soft-fp/floatunsitf.c; it is in the way<br>1>C GCC_XML/GCC/gcc/config/soft-fp/floatunsitf.c<br>1>U GCC_XML/GCC/gcc/config/soft-fp/gedf2.c<br>1>cvs.exe [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: Permission denied<br>1>Project : error PRJ0019: A tool returned an error code from "Performing download step (CVS checkout) for 'GCC_XML'"<br><br>Which is when all other build tasks start failing.<br><br>By looking closer at the log I notice multiple checkouts for the same file (this is just one
example, all files get checke out multiple times):<br><br>Line 4801: 1>cvs.exe checkout: move away GCC_XML/GCC/gcc/config/sh/sh-protos.h; it is in the way<br>Line 4802: 1>C GCC_XML/GCC/gcc/config/sh/sh-protos.h<br>Line 4994: 2>U GCC_XML/GCC/gcc/config/sh/sh-protos.h<br><br>I didn't experience these problems without the patch, although I did<br>notice the download and compile step repeated more than once.<br><br>I'm happy to try out more suggestions, patches, tests, or whatever it<br>takes to get a working ITK 4.x build with Python wrapping.<br><br>Regards,<br>Constantine<br><br><br>> On Wed, Jul 25, 2012 at 4:07 PM, Willi Huber<br>> <<a ymailto="mailto:surfersparadise85-itk@yahoo.com" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>> wrote:<br>>> Hello all,<br>>> <br>>> I am trying to build ITK of the repository with wrapping support for Python<br>>> 2.7 on a win7-x64 machine
using VS2008 to build x64-release.<br>>> <br>>> Sometimes the swig-project (download and extract swig if ITK_USE_SYSTEM_SWIG<br>>> == NO) was built after a project that needs it. I did not yet find out how<br>>> to set dependencies for all wrapping projects. This makes it necessary to<br>>> build swig first or rerun the build. My goal is to get an out-of-the-box<br>>> version that is easy to compile with wrapping support.<br>>> <br>>> Any help is appreciated. Thanks in advance.<br>>> <br>>> Cheers,<br>>> Willi<br>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a
href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>