<div dir="ltr"><div><div>Hi Matt,<br>thanks for the patch.<br></div><br>The mentioned problem seems to be solved. However, the build keeps failing now due to:<br><br>Some images not being produced by two of the examples:<br>
<br><i>Error 94 error : XXXXXXXXXXXX MISSING C:\SDKs\ITK\itkSoftwareGuideBin\ITKSoftwareGuide-build\SoftwareGuide\Art\Generated\BinaryThresholdImageFilterOutput.png<br><br>Error 98 error : XXXXXXXXXXXX MISSING C:\SDKs\ITK\itkSoftwareGuideBin\ITKSoftwareGuide-build\SoftwareGuide\Art\Generated\ThresholdSegmentationLevelSetImageFilterVentricle.png</i><br>
</div><div><br></div><div>Although I bet the SW guide would be produced anyway lacking those images.<br><br></div>Besides, some of the filters yield error data (Max. RMS error, for example) among their output, such as the GeodesicActiveContourImageFilter. The funny thing is that VS 2010 marks them as compilation errors :-S<br>
<br><div>There is another disturbing error that says <br><i>>6>CUSTOMBUILD : ! Package minted error : You must have `pygmentize' installed to use this package.<br></i><br></div><div>I haven't noticed it was among the requirements.<br>
</div><div><br></div><div>And finally another two errors:<br><i>Generating 00-SoftwareGuide.bbl<br>8> <br>8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.</i><br>
<br><br><i>Generating Examples/TreeContainer.tex<br>8> <br>8> 4> File "C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/ParseCxxExamples.py", line 138<br>8> <br>8> 4> print sys.argv<br>8> <br>
8> 4> ^<br>8> <br>8> 4> SyntaxError: invalid syntax<br>8> <br>8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 1.<br>
</i><br><br></div><div>The first one has to do with the BibTeX and the second one with a potentially wrong command in the python script.<br><br></div><div>Any thoughts?<br><br><br></div><div>Thanks again,<br>JON HAITZ<br>
<br></div><div><br>P.S.: I meant to configure the project to send the results to the dashboard but I did not succeed; I'll post on this.<br><br><div><div class="gmail_extra"><br><div class="gmail_quote">On 1 October 2013 16:28, Matt McCormick <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jon,<br>
<br>
Thanks for the note and for your efforts with the Software Guide. The<br>
build is definitely a bear, but improvements will come incrementally.<br>
Building in Release configuration instead of Debug on Windows should<br>
definitely help.<br>
<br>
It looks like there error is due to a Python 3 incompatiblity. I will<br>
work on a patch.<br>
<br>
Thanks,<br>
Matt<br>
<br>
<br>
<br>
On Tue, Oct 1, 2013 at 7:43 AM, Jon Haitz Legarreta<br>
<div><div class="h5"><<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>> wrote:<br>
> Hi there,<br>
><br>
> so I finally got to successfully configure and generate the ITKSoftwareGuide<br>
> project, provided that the ITKSoftwareGuide_SUPERBUILD flag is ON.<br>
><br>
> However, it failed to compile (on Visual Studio 2010) :-S Although the ITK<br>
> superbuild compiled OK, the SW Guide generation failed. It took almost 19<br>
> hours to compile the whole thing on an Intel Core i5-2320 @ 3.00 GHz, 4 GB<br>
> of RAM, 64-bit Win 7. I cannot remember ITK having taken so long to compile<br>
> on its own... Besides, it needed around 36 GB of my HDD. My goodness.<br>
><br>
> Anyway, there seems to be some error with a python command according to the<br>
> build output (sorry, I should have set the system to send the compilation<br>
> result to the dashboard :-S):<br>
><br>
> 3> ========== Build: 602 succeeded, 0 failed, 0 up-to-date, 0 skipped<br>
> ==========<br>
> 3><br>
> 3> No install step for 'ITKv4'<br>
> 3> Completed 'ITKv4'<br>
> 8>------ Build started: Project: ITKSoftwareGuide, Configuration: Debug x64<br>
> ------<br>
> 8> Building Custom Rule C:/SDKs/ITK/ITKSoftwareGuide/CMakeLists.txt<br>
> 8> CMake does not need to re-run because<br>
> C:\SDKs\ITK\itkSoftwareGuideBin\CMakeFiles\generate.stamp is up-to-date.<br>
> 8> Creating directories for 'ITKSoftwareGuide'<br>
> 8> No download step for 'ITKSoftwareGuide'<br>
> 8> No update step for 'ITKSoftwareGuide'<br>
> 8> No patch step for 'ITKSoftwareGuide'<br>
> 8> Performing configure step for 'ITKSoftwareGuide'<br>
> 8> Not searching for unused variables given on the command line.<br>
> 8> -- PRE_RUN_PYTHON ART GENERATION.<br>
> 8> -- Running: C:/Python33/python.exe<br>
> C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py<br>
> --itkSource C:/SDKs/ITK/itkSoftwareGuideBin/ITKv4 --itkBuildDir<br>
> C:/SDKs/ITK/itkSoftwareGuideBin/ITKv4-build --itkExecDir<br>
> C:/SDKs/ITK/itkSoftwareGuideBin/bin/Debug --SWGuidBaseOutput<br>
> C:/SDKs/ITK/itkSoftwareGuideBin/ITKSoftwareGuide-build/SoftwareGuide<br>
> 8> File<br>
> "C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py", line<br>
> 186<br>
> 8> print self.GetCommandLine()<br>
> 8> ^<br>
> 8> SyntaxError: invalid syntax<br>
> 8> CMake Error at SoftwareGuide/CMakeLists.txt:161 (message):<br>
> 8> POST_RUN_PYTHON ART GENERATION 1.<br>
> 8><br>
> 8><br>
> 8> -- Configuring incomplete, errors occurred!<br>
> 8>C:\Program Files<br>
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error<br>
> MSB6006: "cmd.exe" exited with code 1.<br>
> 9>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------<br>
> 9>Project not selected to build for this solution configuration<br>
> ========== Build: 2 succeeded, 1 failed, 0 up-to-date, 6 skipped ==========<br>
><br>
><br>
><br>
> On the other hand, the process fails to be configured when the<br>
> ITKSoftwareGuide_SUPERBUILD flag is OFF and I decide to use an external ITK<br>
> (USE_SYSTEM_ITK flag ON) may have already compiled (including examples) in<br>
> my HDD (ITK 4.2.1). In this case, CMake yields the following error:<br>
><br>
> PRE_RUN_PYTHON ART GENERATION.<br>
><br>
> Running: C:/Python33/python.exe<br>
> C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py<br>
> --itkSource C:/SDKs/ITK/itk-4.2.1 --itkBuildDir C:/SDKs/ITK/itkBin-4.2.1<br>
> --itkExecDir C:/SDKs/ITK/itkBin-4.2.1/bin --SWGuidBaseOutput<br>
> C:/SDKs/ITK/itkSoftwareGuideBin_/SoftwareGuide<br>
><br>
> CMake Error at SoftwareGuide/CMakeLists.txt:161 (message):<br>
><br>
> POST_RUN_PYTHON ART GENERATION 1.<br>
><br>
> Configuring incomplete, errors occurred!<br>
><br>
><br>
><br>
> So again, it seems a problem with a python script.<br>
><br>
> Any thoughts?<br>
><br>
> Thank you,<br>
> JON HAITZ<br>
><br>
><br>
> P.S.: This is part of a recent conversation I was holding with some of the<br>
> ITK community members about the ITK Software Guide generation process. Matt<br>
> McCormick suggested moving it to the mailing list (which was the primary<br>
> purpose, but my original message to the list got held by a moderator<br>
> approval message due to its length; did not include the original attachment<br>
> here). You will find the history of the conversation from its very beginning<br>
> further below.<br>
> Sorry for the length.<br>
><br>
><br>
><br>
> On 25 September 2013 21:41, Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>><br>
> wrote:<br>
>><br>
>> Hi Jon,<br>
>><br>
>> The FindLATEX.cmake patch has been merged, so<br>
>><br>
>> cd /c/path/to/ITKSoftwareGuide<br>
>> git checkout master<br>
>> git pull<br>
>><br>
>> should make it possible to do a clean build without issues related to<br>
>> ITK_EXECUTABLES_DIR or ps2pdf.<br>
>><br>
>> We should probably start moving these conversations to the<br>
>> insight-users mailing list so other can benefit from them, too.<br>
>><br>
>> Thanks,<br>
>> Matt<br>
>><br>
>> On Wed, Sep 25, 2013 at 3:09 PM, Constantine Z <<a href="mailto:mnkz@leeds.ac.uk">mnkz@leeds.ac.uk</a>> wrote:<br>
>> > Hi Jon.<br>
>> ><br>
>> >> OK, as for the ITK_EXECUTABLES_DIR variable, it is indeed in<br>
>> >> SoftwareGuide/CMakeLists.txt. However, it is somehow not exposed to the<br>
>> >> user in CMake. Furthermore, Matt's pointed patch was replacing<br>
>> >> /find_path(ITK_EXECUTABLES_DIR/ for /find_file(ITK_EXECUTABLES_DIR/,<br>
>> >><br>
>> >> which I am not so sure was intended.<br>
>> ><br>
>> ><br>
>> > That's definitely the right thing to do. find_path sorta guesses the bin<br>
>> > directory with all examples executables by looking just for one of the<br>
>> > examples.<br>
>> ><br>
>> > Regards,<br>
>> > Constantine<br>
>> ><br>
>> ><br>
><br>
><br>
><br>
><br>
> ---------- Forwarded message ----------<br>
> From: Constantine Z <<a href="mailto:mnkz@leeds.ac.uk">mnkz@leeds.ac.uk</a>><br>
> Date: 25 September 2013 17:09<br>
> Subject: Re: Fwd: [ITK] Software Guide generation process problems<br>
> To: Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>><br>
> Cc:<br>
><br>
><br>
> Hi Jon.<br>
><br>
>> OK, as for the ITK_EXECUTABLES_DIR variable, it is indeed in<br>
>> SoftwareGuide/CMakeLists.txt. However, it is somehow not exposed to the<br>
>> user in CMake. Furthermore, Matt's pointed patch was replacing<br>
>> /find_path(ITK_EXECUTABLES_DIR/ for /find_file(ITK_EXECUTABLES_DIR/,<br>
>><br>
>> which I am not so sure was intended.<br>
><br>
><br>
> That's definitely the right thing to do. find_path sorta guesses the bin<br>
> directory with all examples executables by looking just for one of the<br>
> examples.<br>
><br>
> Regards,<br>
> Constantine<br>
><br>
><br>
><br>
> ---------- Forwarded message ----------<br>
> From: Constantine Z <<a href="mailto:mnkz@leeds.ac.uk">mnkz@leeds.ac.uk</a>><br>
> Date: 25 September 2013 17:06<br>
> Subject: Re: Fwd: [ITK] Software Guide generation process problems<br>
> To: Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>><br>
> Cc:<br>
><br>
><br>
> Hi John,<br>
><br>
><br>
>> As for the super-build, I understand that it allows to build ALL ITK<br>
>> from the SoftwareGuide project/solution. Correct me if I am wrong and if<br>
>> it just builds the ITK examples.<br>
><br>
><br>
> No, you are right. ITK gets downloaded and built in the binary output<br>
> directory for the ITKSoftwareGuide project.<br>
><br>
><br>
>> I used patches Matt was mentioning in hist first email:<br>
>><br>
>> [1]<br>
>><br>
>> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/commit/2e5c7375b80cc3fee54ab062043a2afa47b5f986" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/commit/2e5c7375b80cc3fee54ab062043a2afa47b5f986</a><br>
><br>
><br>
> Those are old patches, which have been committed to the build by now [I'm<br>
> pretty sure].<br>
><br>
><br>
>> However, there are things that I do not get to understand: In the above<br>
>> patch the SoftwareGuide/CMakeLists.txtis different from the<br>
>> SoftwareGuide/CMakeLists.txtin the patch above (the one you point<br>
>> Constantine).<br>
>><br>
>> Furthermore, there are no such files (present in the patch you point<br>
>> Constantine) in my clone:<br>
>> SoftwareGuide/CMake/FindLATEX.cmake<br>
>> SoftwareGuide/Latex/CMakeLists.txt<br>
><br>
><br>
> That's why you need to get this patch I mentioned earlier:<br>
><br>
> <a href="http://review.source.kitware.com/#/c/12774/" target="_blank">http://review.source.kitware.com/#/c/12774/</a><br>
><br>
> On the patch page (mid-way through the page) there's a git command line with<br>
> the word 'Download' net to it which would get the patch on your system.<br>
> There's even a button to copy it in the buffer! :) When you get (git) that<br>
> patch, you'll find the missing FindLATEX.cmake where it's supposed to be.<br>
><br>
><br>
>> When configuring the CMake, since I have not yet switched to git for<br>
>> ITK, and I usually download the sources as a .zip and then build them, I<br>
>> have chosen to use an external ITK. To be precise, I am using ITK 4.2.1.<br>
>> Thus, I checked USE_SYSTEM_ITK and set<br>
>><br>
>> ITK_BINARY_DIR<br>
>> C:/SDKs/ITK/itkBin-4.2.1 (contains the project created by CMake and<br>
>> compiler's output)<br>
>> ITK_DIR<br>
>> C:/SDKs/ITK/itkBin-4.2.1 (contains the project created by CMake and<br>
>> compiler's output)<br>
>> ITK_SOURCE_DIR<br>
>> C:/SDKs/ITK/itk-4.2.1 (contains the source code)<br>
><br>
><br>
> I didn't try it with external compiled ITK, so I can't comment, but what you<br>
> say looks OK.<br>
><br>
><br>
>> As to what Matt said, there is no ITK_EXECUTABLES_DIR variable as far as<br>
>> I can see, but the compiler complains about it: the generation seemed to<br>
>> be successful, but when compiling the project, Visual Studio (2010)<br>
>> yielded the following error:<br>
>><br>
>> 8>------ Build started: Project: ITKSoftwareGuide, Configuration: Debug<br>
>> x64 ------<br>
>> 8> Building Custom Rule C:/SDKs/ITK/ITKSoftwareGuide/CMakeLists.txt<br>
>> 8> CMake does not need to re-run because<br>
>> C:\SDKs\ITK\itkSoftwareGuideBin\CMakeFiles\generate.stamp is up-to-date.<br>
>> 8> Creating directories for 'ITKSoftwareGuide'<br>
>> 8> No download step for 'ITKSoftwareGuide'<br>
>> 8> No update step for 'ITKSoftwareGuide'<br>
>> 8> No patch step for 'ITKSoftwareGuide'<br>
>> 8> Performing configure step for 'ITKSoftwareGuide'<br>
>> 8> Not searching for unused variables given on the command line.<br>
>> 8> -- PRE_RUN_PYTHON ART GENERATION.<br>
>> 8> -- Running: C:/Python33/python.exe<br>
>> C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py<br>
>> --itkSource C:/SDKs/ITK/itk-4.2.1 --itkBuildDir C:/SDKs/ITK/itkBin-4.2.1<br>
>> --itkExecDir ITK_EXECUTABLES_DIR-NOTFOUND --SWGuidBaseOutput<br>
>> C:/SDKs/ITK/itkSoftwareGuideBin/ITKSoftwareGuide-build/SoftwareGuide<br>
>> 8> File<br>
>> "C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py",<br>
>> line 186<br>
>> 8> print self.GetCommandLine()<br>
>> 8> ^<br>
>> 8> SyntaxError: invalid syntax<br>
>> 8> CMake Error at SoftwareGuide/CMakeLists.txt:159 (message):<br>
>> 8> POST_RUN_PYTHON ART GENERATION 1.<br>
>> 8><br>
>> 8><br>
>> 8> -- Configuring incomplete, errors occurred!<br>
><br>
><br>
> The ITK_EXECUTABLES_DIR is initialised in SoftwareGuide/CMakeLists.txt.<br>
> Maybe try without external ITK for now?<br>
><br>
> Regards,<br>
> Constantine<br>
><br>
><br>
><br>
> On 25 September 2013 15:13, Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>><br>
> wrote:<br>
> Dear Constantine,<br>
><br>
> many thanks for your answer.<br>
><br>
><br>
> On 25 September 2013 13:48, Constantine Zakkaroff <<a href="mailto:mnkz@leeds.ac.uk">mnkz@leeds.ac.uk</a>> wrote:<br>
>><br>
>><br>
>> I'm not sure if anyone mentioned this, but it seems to me you are using an<br>
>> older version of the SoftwareGuide code? ANYONE, PLEASE CORRECT ME IF I'M<br>
>> WRONG. I see nothing like that in the code available through git:<br>
>><br>
>> git clone<br>
>> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide.git" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide.git</a><br>
>><br>
>> Do you follow the instructions in:<br>
>><br>
>><br>
>> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/README.md" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/README.md</a><br>
>><br>
>> I had to figure out git and such to get started. The project is configured<br>
>> as a super-build project, where the dependencies (ITK) are built firs at<br>
>> then the examples are run to generate the images and figures for the<br>
>> Software Guide.<br>
><br>
><br>
> Yes you are right; I was using the old SoftwareGuide generation system,<br>
> which dated back to 2004 :-S I was just not aware that there was a new<br>
> system under git.<br>
><br>
> I followed the instructions and apparently successfully cloned the<br>
> repository.<br>
><br>
> As for the super-build, I understand that it allows to build ALL ITK from<br>
> the SoftwareGuide project/solution. Correct me if I am wrong and if it just<br>
> builds the ITK examples.<br>
><br>
>><br>
>> Matt fixed it the latest patch (FindLATEX.cmake):<br>
>><br>
>> <a href="http://review.source.kitware.com/#/c/12774/" target="_blank">http://review.source.kitware.com/#/c/12774/</a><br>
><br>
><br>
><br>
> I used patches Matt was mentioning in hist first email:<br>
><br>
> [1]<br>
> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/commit/2e5c7375b80cc3fee54ab062043a2afa47b5f986" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/commit/2e5c7375b80cc3fee54ab062043a2afa47b5f986</a><br>
><br>
><br>
> However, there are things that I do not get to understand: In the above<br>
> patch the SoftwareGuide/CMakeLists.txtis different from the<br>
> SoftwareGuide/CMakeLists.txtin the patch above (the one you point<br>
> Constantine).<br>
><br>
> Furthermore, there are no such files (present in the patch you point<br>
> Constantine) in my clone:<br>
> SoftwareGuide/CMake/FindLATEX.cmake<br>
> SoftwareGuide/Latex/CMakeLists.txt<br>
><br>
><br>
> When configuring the CMake, since I have not yet switched to git for ITK,<br>
> and I usually download the sources as a .zip and then build them, I have<br>
> chosen to use an external ITK. To be precise, I am using ITK 4.2.1. Thus, I<br>
> checked USE_SYSTEM_ITK and set<br>
><br>
> ITK_BINARY_DIR<br>
> C:/SDKs/ITK/itkBin-4.2.1 (contains the project created by CMake and<br>
> compiler's output)<br>
> ITK_DIR<br>
> C:/SDKs/ITK/itkBin-4.2.1 (contains the project created by CMake and<br>
> compiler's output)<br>
> ITK_SOURCE_DIR<br>
> C:/SDKs/ITK/itk-4.2.1 (contains the source code)<br>
><br>
><br>
> As to what Matt said, there is no ITK_EXECUTABLES_DIR variable as far as I<br>
> can see, but the compiler complains about it: the generation seemed to be<br>
> successful, but when compiling the project, Visual Studio (2010) yielded the<br>
> following error:<br>
><br>
> 8>------ Build started: Project: ITKSoftwareGuide, Configuration: Debug x64<br>
> ------<br>
> 8> Building Custom Rule C:/SDKs/ITK/ITKSoftwareGuide/<br>
> CMakeLists.txt<br>
> 8> CMake does not need to re-run because<br>
> C:\SDKs\ITK\itkSoftwareGuideBin\CMakeFiles\generate.stamp is up-to-date.<br>
> 8> Creating directories for 'ITKSoftwareGuide'<br>
> 8> No download step for 'ITKSoftwareGuide'<br>
> 8> No update step for 'ITKSoftwareGuide'<br>
> 8> No patch step for 'ITKSoftwareGuide'<br>
> 8> Performing configure step for 'ITKSoftwareGuide'<br>
> 8> Not searching for unused variables given on the command line.<br>
> 8> -- PRE_RUN_PYTHON ART GENERATION.<br>
> 8> -- Running: C:/Python33/python.exe<br>
> C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py<br>
> --itkSource C:/SDKs/ITK/itk-4.2.1 --itkBuildDir C:/SDKs/ITK/itkBin-4.2.1<br>
> --itkExecDir ITK_EXECUTABLES_DIR-NOTFOUND --SWGuidBaseOutput<br>
> C:/SDKs/ITK/itkSoftwareGuideBin/ITKSoftwareGuide-build/SoftwareGuide<br>
> 8> File<br>
> "C:/SDKs/ITK/ITKSoftwareGuide/SoftwareGuide/Examples/RunExamples.py", line<br>
> 186<br>
> 8> print self.GetCommandLine()<br>
> 8> ^<br>
> 8> SyntaxError: invalid syntax<br>
> 8> CMake Error at SoftwareGuide/CMakeLists.txt:159 (message):<br>
> 8> POST_RUN_PYTHON ART GENERATION 1.<br>
> 8><br>
> 8><br>
> 8> -- Configuring incomplete, errors occurred!<br>
><br>
><br>
> Thanks again.<br>
><br>
> Sincerely,<br>
> JON HAITZ<br>
><br>
><br>
><br>
> On 25 September 2013 13:48, Constantine Zakkaroff <<a href="mailto:mnkz@leeds.ac.uk">mnkz@leeds.ac.uk</a>> wrote:<br>
> Hi Jon,<br>
><br>
> Yes, I've been grinding away trying to get the ITK Software Guide built on<br>
> Windows, in collaboration with Matt. I think we are getting there.<br>
><br>
>> 1.- First, the /SoftwareGuide/Examples/CMakeLists.txt contains<br>
>> references to some examples that no longer exist (either because there<br>
>> is no Patent folder in ITK4 or because the examples themselves no<br>
>> longer exist/have been moved elsewhere):<br>
>><br>
>> * ${ITK_SOURCE_DIR}/Examples/Patented/IterativeClosestPoint1.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Patented/IterativeClosestPoint2.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Patented/IterativeClosestPoint3.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Patented/FuzzyConnectednessImageFilter.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Statistics/EuclideanDistance.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Statistics/GaussianDensityFunction.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Statistics/ImageToListAdaptor.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Statistics/ListSampleToHistogramFilter.cxx<br>
>> *<br>
>> ${ITK_SOURCE_DIR}/Examples/Statistics/ListSampleToHistogramGenerator.cxx<br>
>> * ${ITK_SOURCE_DIR}/Examples/Statistics/PointSetToListAdaptor.cxx<br>
>> *<br>
>> ${ITK_SOURCE_DIR}/Examples/Statistics/SampleToHistogramProjectionFilter.cxx<br>
><br>
><br>
> I'm not sure if anyone mentioned this, but it seems to me you are using an<br>
> older version of the SoftwareGuide code? ANYONE, PLEASE CORRECT ME IF I'M<br>
> WRONG. I see nothing like that in the code available through git:<br>
><br>
> git clone <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide.git" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide.git</a><br>
><br>
> Do you follow the instructions in:<br>
><br>
> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/README.md" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/README.md</a><br>
><br>
> I had to figure out git and such to get started. The project is configured<br>
> as a super-build project, where the dependencies (ITK) are built firs at<br>
> then the examples are run to generate the images and figures for the<br>
> Software Guide.<br>
><br>
><br>
>> 2.- According to the /SoftwareGuide/README.txt, some additional data<br>
>> should be downloaded in order to successfully insert some figures. This<br>
>> data was originally found at<br>
>> <a href="ftp://public.kitware.com/pub/itk/Data/BrainWeb/" target="_blank">ftp://public.kitware.com/pub/itk/Data/BrainWeb/</a><br>
>><br>
>> However, the link seems not to be working. Thus, I hoped to continue<br>
>> working without it.<br>
><br>
><br>
> Manual downloading in not require any longer. The data from BraindWed is<br>
> downloaded automatically as a part of the super-build.<br>
><br>
>> 3.- I have installed all required components for Windows:<br>
>><br>
>> * Latex, BibTeX (MiKTeX 2.9)<br>
>> * Perl (ActiveState Perl, downloaded from here<br>
>> <<a href="http://www.perl.org/get.html" target="_blank">http://www.perl.org/get.html</a>>)<br>
>> * ImageMagick (ImageMagick-6.8.6-9-Q16-x64-dll, downloaded from here<br>
>> <<a href="http://www.imagemagick.org/script/binary-releases.php" target="_blank">http://www.imagemagick.org/script/binary-releases.php</a>>)<br>
>> * fig2dev (fig2dev3.2.3d, downloaded from here<br>
>><br>
>> <<a href="http://tams-www.informatik.uni-hamburg.de/applets/jfig/download.html" target="_blank">http://tams-www.informatik.uni-hamburg.de/applets/jfig/download.html</a>>)<br>
>> * transfig (TransFig 3.2.4, downloaded from here<br>
>> <<a href="http://www.tucows.com/preview/8734/TransFig" target="_blank">http://www.tucows.com/preview/8734/TransFig</a>> :-S found no other<br>
>> "better" place)<br>
>> * ps2pdf, dvipdf, ps2pdf, dvips (these are bundled in MiKTeX),<br>
>> Ghostscript (9.10) libraries<br>
><br>
><br>
> fig2dev and transfig are not required any longer. Gohstscript is not<br>
> required if MiKTex is installed.<br>
><br>
><br>
>> However, the /SoftwareGuide/CMakeLists.txt seems not to look<br>
>> for/configure the location of neither transfig nor Ghostscript (although<br>
>> this last is also bundled in MiKTeX).<br>
><br>
><br>
> Matt fixed it the latest patch (FindLATEX.cmake):<br>
><br>
> <a href="http://review.source.kitware.com/#/c/12774/" target="_blank">http://review.source.kitware.com/#/c/12774/</a><br>
><br>
> I'm planning to update the instructions for the top-level README.md file<br>
> once the build is working.<br>
><br>
> I think the wiki page on the subject of building Software Guide perhaps can<br>
> be updated with more detailed instructions and notes.<br>
><br>
> Many thanks,<br>
> Constantine<br>
><br>
><br>
><br>
> On 21 September 2013 18:52, Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>><br>
> wrote:<br>
> Hi Jon,<br>
><br>
> Sorry we missed your message, and thanks for your interest in contributing!<br>
><br>
> Hans Johnson has done a lot of work updating the build process. There is<br>
> now a superbuild (it automatically builds/configures ITK), and the build<br>
> system is now in Python instead of Perl, which make things much easier.<br>
><br>
> Constantine has been helping test the Windows build. This week, we merged a<br>
> patch that allows us to build on Windows again [1], although Windows does<br>
> take more effort. Manual setting of the CMake configuration variable<br>
> ITK_EXECUTABLES_DIR may still be required. The dependencies have changed<br>
> slightly. Hans may correctly, but I think fig2dev and transfig are no<br>
> longer required. An additional requirement is pygments for one of the<br>
> MikTeX syntax highlighting packages -- a link on how to install that can be<br>
> found in SoftwareGuide/README.txt.<br>
><br>
> The contribution process is the same as ITK with Gerrit Code Review [2]<br>
><br>
> Please let us know if you have any questions or issues.<br>
><br>
> Thanks,<br>
> Matt<br>
><br>
><br>
> [1]<br>
> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/commit/2e5c7375b80cc3fee54ab062043a2afa47b5f986" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/commit/2e5c7375b80cc3fee54ab062043a2afa47b5f986</a><br>
> [2]<br>
> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/README.md" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide/blob/master/README.md</a><br>
><br>
><br>
> On Sat, Sep 21, 2013 at 8:59 AM, Luis Ibanez <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>
> wrote:<br>
> Hi Jon,<br>
><br>
> Thanks for your interest in the ITK Software Guide.<br>
><br>
> The Guide is currently being restructured.<br>
><br>
> You will find its current form in Github at:<br>
> <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide" target="_blank">https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide</a><br>
><br>
><br>
> Thanks<br>
><br>
><br>
> Luis<br>
><br>
><br>
> ---------- Forwarded message ----------<br>
> From: Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>><br>
> Date: 10 September 2013 11:00<br>
> Subject: [ITK] Software Guide generation process problems<br>
> To: Insight-users <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>
><br>
><br>
> Hi there,<br>
> I was trying to inspire a software user's guide generation process on ITK's<br>
> Software Guide generation process.<br>
><br>
> I have read some old post concerning the issue:<br>
> <a href="http://itk-users.7.n7.nabble.com/Insight-Users-Guide-PDF-Generation-td767.html" target="_blank">http://itk-users.7.n7.nabble.com/Insight-Users-Guide-PDF-Generation-td767.html</a><br>
><br>
> And found the software generation repository at this address:<br>
> <a href="http://www.itk.org/cgi-bin/viewcvs.cgi/SoftwareGuide/?root=InsightDocuments" target="_blank">http://www.itk.org/cgi-bin/viewcvs.cgi/SoftwareGuide/?root=InsightDocuments</a><br>
><br>
> I have noticed that it has not been changed since some time. I guess this is<br>
> due to the fact that all itk users (including me until very recently) use<br>
> the on-line PDF document or the doxygen-generated documentation.<br>
><br>
> I don't know whether anybody has tried to reproduce the software guide<br>
> generation process or whether kitware no longer supports this feature.<br>
><br>
> The thing is that CMake fails to correctly configure the SoftwareGuide<br>
> project.<br>
><br>
> I am using Windows 7 64-bit and ITK 4.2.1. I am not using Cygwin.<br>
><br>
> There are several issues here, some related to ITKv4 compatibility/migration<br>
> issues:<br>
><br>
> 1.- First, the /SoftwareGuide/Examples/CMakeLists.txt contains references to<br>
> some examples that no longer exist (either because there is no Patent folder<br>
> in ITK4 or because the examples themselves no longer exist/have been moved<br>
> elsewhere):<br>
><br>
> ${ITK_SOURCE_DIR}/Examples/Patented/IterativeClosestPoint1.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Patented/IterativeClosestPoint2.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Patented/IterativeClosestPoint3.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Patented/FuzzyConnectednessImageFilter.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/EuclideanDistance.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/GaussianDensityFunction.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/ImageToListAdaptor.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/ListSampleToHistogramFilter.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/ListSampleToHistogramGenerator.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/PointSetToListAdaptor.cxx<br>
> ${ITK_SOURCE_DIR}/Examples/Statistics/SampleToHistogramProjectionFilter.cxx<br>
><br>
> Commenting or deleting these entries from the CMakeLists.txt is enough to<br>
> solve this issue, at least apparently.<br>
><br>
> 2.- According to the /SoftwareGuide/README.txt, some additional data should<br>
> be downloaded in order to successfully insert some figures. This data was<br>
> originally found at <a href="ftp://public.kitware.com/pub/itk/Data/BrainWeb/" target="_blank">ftp://public.kitware.com/pub/itk/Data/BrainWeb/</a><br>
><br>
> However, the link seems not to be working. Thus, I hoped to continue working<br>
> without it.<br>
><br>
> 3.- I have installed all required components for Windows:<br>
><br>
> Latex, BibTeX (MiKTeX 2.9)<br>
> Perl (ActiveState Perl, downloaded from here)<br>
> ImageMagick (ImageMagick-6.8.6-9-Q16-x64-dll, downloaded from here)<br>
> fig2dev (fig2dev3.2.3d, downloaded from here)<br>
> transfig (TransFig 3.2.4, downloaded from here :-S found no other "better"<br>
> place)<br>
> ps2pdf, dvipdf, ps2pdf, dvips (these are bundled in MiKTeX), Ghostscript<br>
> (9.10) libraries<br>
><br>
> However, the /SoftwareGuide/CMakeLists.txt seems not to look for/configure<br>
> the location of neither transfig nor Ghostscript (although this last is also<br>
> bundled in MiKTeX).<br>
><br>
> 4.- Once the CMake has all the variables set, the configuration process<br>
> fails due to some invalid escape sequences introduced by the<br>
> /SoftwareGuide/Examples/CMakeLists.txt. The CMake configuration result is<br>
> attached as a txt file.<br>
><br>
> I have been looking for some forward slash in that CMakeLists.txt that may<br>
> be causing these problems at the lines pointed in the CMake configuration<br>
> result, but found none.<br>
><br>
> Any help would be highly appreciated.<br>
><br>
> Sincerely,<br>
> JON HAITZ<br>
><br>
><br>
> P.S.: Sorry for the length of the message.<br>
><br>
><br>
><br>
</div></div>> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><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>
</blockquote></div><br></div></div></div></div>