<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Rupert,<div><br></div><div>Could you please report this issue into the ITK issue tracker:</div><div><br></div><div><a href="http://issues.itk.org">http://issues.itk.org</a></div><div><br></div><div><br></div><div>Thanks,</div><div>Brad</div><div><br></div><div><div><div>On Apr 20, 2012, at 1:22 PM, Rupert Brooks wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi everyone,<br><br>I'm trying to use itk 4.1.0 using Visual Studio 2005, in 32 bit. &nbsp;The<br>IDE is very unstable (read, unusuable) due to the number of projects<br>that are created, a problem thats been noted here before. &nbsp;To work<br>around this, i started using JOM, which is a multithreaded NMake<br>clone. &nbsp;It seems to build faster anyway.<br><br>ITK4.1.0 builds fine with JOM, however, I cant link any projects<br>against it. &nbsp;They fail to find some libraries, because the name of the<br>library set by the FindITK Cmake process is incorrect.<br><br>This seems to be because the ITKTargets.cmake has errors.<br>Specifically, when building with JOM, there are no entries in the<br>ITKTargets.cmake corresponding to some, but not all of the ITK<br>Libraries. &nbsp;These entries are necessary because they tag the -4.1<br>extension on the name of the library. So with JOM, some get put in,<br>and some dont.<br><br>I find it particularly strange how all the libraries get passed<br>through correctly for Visual Studio, but only some do for JOM. &nbsp;If<br>they all failed to pass through it would be easier to understand.<br><br>I am having trouble parsing the maze of CMake commands that actually<br>ends up setting this filename to determine what is the difference<br>between the modules that work and those that dont. &nbsp;I dont mind<br>debugging more if somebody could give me a pointer where to look.<br><br>The list of ITK Libraries follows. &nbsp;As you can see - some but not all<br>get put into the ITKTargets.cmake. &nbsp;Those that dont end up with just<br>the lib name.<br><br>Cheers,<br>Rupert<br><br><br>E:\ext\ITK-4.1.0-R\lib\itksys-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\itkvnl_algo-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\itkvnl-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\itkv3p_netlib-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\ITKCommon-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\itkNetlibSlatec-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\ITKStatistics-4.1.lib<br>ITKIOImageBase.lib<br>ITKIOBMP.lib<br>ITKIOBioRad.lib<br>ITKEXPAT.lib<br>itkopenjpeg.lib<br>itkzlib.lib<br>gdcmDICT.lib<br>gdcmMSFF.lib<br>ITKIOGDCM.lib<br>ITKIOGIPL.lib<br>itkjpeg.lib<br>ITKIOJPEG.lib<br>itktiff.lib<br>ITKIOTIFF.lib<br>ITKIOLSM.lib<br>ITKMetaIO.lib<br>ITKIOMeta.lib<br>ITKznz.lib<br>ITKniftiio.lib<br>ITKIONIFTI.lib<br>ITKNrrdIO.lib<br>ITKIONRRD.lib<br>itkpng.lib<br>ITKIOPNG.lib<br>ITKIOStimulate.lib<br>ITKIOVTK.lib<br>ITKMesh.lib<br>ITKSpatialObjects.lib<br>ITKPath.lib<br>ITKLabelMap.lib<br>ITKQuadEdgeMesh.lib<br>ITKOptimizers.lib<br>ITKPolynomials.lib<br>ITKBiasCorrection.lib<br>ITKBioCell.lib<br>ITKFFT.lib<br>ITKDICOMParser.lib<br>ITKIOXML.lib<br>ITKIOSpatialObjects.lib<br>ITKFEM.lib<br>ITKIOIPL.lib<br>ITKIOGE.lib<br>ITKIOSiemens.lib<br>ITKKLMRegionGrowing.lib<br>ITKVTK.lib<br>ITKWatersheds.lib<br>ITKDeprecated.lib<br>ITKgiftiio.lib<br>ITKIOMesh.lib<br>itkhdf5_cpp.lib<br>itkhdf5.lib<br>ITKIOCSV.lib<br>ITKIOHDF5.lib<br>ITKIOTransformBase.lib<br>ITKIOTransformHDF5.lib<br>ITKIOTransformInsightLegacy.lib<br>ITKIOTransformMatlab.lib<br>ITKOptimizersv4.lib<br>ITKReview.lib<br>ITKVideoCore.lib<br>ITKVideoIO.lib<br>ITKVideoBridgeOpenCV.lib<br>ws2_32.lib<br>E:\ext\ITK-4.1.0-R\lib\ITKVNLInstantiation-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\itkv3p_lsqr-4.1.lib<br>E:\ext\ITK-4.1.0-R\lib\itkvcl-4.1.lib<br><br>--------------------------------------------------------------<br>Rupert Brooks<br><a href="mailto:rupert.brooks@gmail.com">rupert.brooks@gmail.com</a><br>_____________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at<br>http://www.kitware.com/opensource/opensource.html<br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">========================================================</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Bradley Lowekamp<span class="Apple-converted-space">&nbsp;</span><span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Medical Science and Computing for</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">Office of High Performance Computing and Communications</font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">National Library of Medicine<span class="Apple-converted-space">&nbsp;</span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; "><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>