<div dir="ltr"><div><div><div><div><div>Hi Matt,<br></div>looks like you did it !!<br><br></div>The SW Guide was successfully generated (in Release mode and using the ITK superbuild). <br><br>So as for the last of the compiler issues, the thing is that, as you said, the argument of the DVIPS_CONVERTER CMake variable had to go between inverted commas. In my case (Windows), it pointed to "C:/Program Files/MiKTeX 2.9/miktex/bin/x64/dvips.exe".<br>
<br></div><div>Besides, as you said, in order for it to work (compile), I had to point the CMake binaries to ITKSoftwareGuide-build, generate and build that. Then go back to the parent (original) bin folder, configure and generate.<br>
<br></div><div>Et voilà, the compiler generated the ITK Software Guide in PDF. Amazing.<br></div><div><br></div><div>As a feature request, I guess it would be great if it worked when USET_SYSTEM_ITK is ON.<br><br></div>Now, let's see how to I replicate the process for a software of our own. <br>
<br></div>Thanks for your endeavor,<br></div>JON HAITZ<br><br><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 9 October 2013 18:07, 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>
Try pointing CMake to the "ITKSoftwareGuide-build" directory as the<br>
binary directory.<br>
<br>
Thanks,<br>
Matt<br>
<div class=""><div class="h5"><br>
On Wed, Oct 9, 2013 at 10:53 AM, Jon Haitz Legarreta<br>
<<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>> wrote:<br>
> Dear Matt,<br>
> thanks again for your answer.<br>
><br>
> Well, the variable does not appear at all in my CMake :-S<br>
><br>
> I did a search over the project and found it in<br>
> \SoftwareGuide\Latex\CMakeLists.txt, but it does not get shown in CMake. I<br>
> have MikTeX installed, so if the variable were found by CMake, I should have<br>
> it accessible.<br>
><br>
> JON HAITZ<br>
><br>
><br>
><br>
><br>
> On 7 October 2013 19:30, Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>> wrote:<br>
>><br>
>> Hi Jon,<br>
>><br>
>> ><br>
>> > However, the project still fails to compile (MS Visual 2010):<br>
>> ><br>
>> > 8>6>CUSTOMBUILD : LaTeX warning : There were multiply-defined labels.<br>
>> > 8> 6> )<br>
>> > 8> 6> (\end occurred inside a group at level 1)<br>
>> > 8> 6> ### simple group (level 1) entered at line 484 ({)<br>
>> > 8> 6> ### bottom level<br>
>> > 8> 6> (see the transcript file for additional information)<br>
>> > 8> 6> Output written on 00-SoftwareGuide.dvi (739 pages, 4818484<br>
>> > bytes).<br>
>> > 8> 6> Transcript written on 00-SoftwareGuide.log.<br>
>> > 8> 6> Generating 00-SoftwareGuide.ind<br>
>> > 8> 6> This is C:\Program Files\MiKTeX<br>
>> > 2.9\miktex\bin\x64\makeindex.exe,<br>
>> > version 2.15 [MiKTeX 2.9 64-bit] (kpathsea + Thai support).<br>
>> > 8> 6> Scanning input file 00-SoftwareGuide.idx.....done (1757 entries<br>
>> > accepted, 0 rejected).<br>
>> > 8> 6> Sorting entries..................done (21076 comparisons).<br>
>> > 8> 6> Generating output file 00-SoftwareGuide.ind.....done (1699 lines<br>
>> > written, 0 warnings).<br>
>> > 8> 6> Output written in 00-SoftwareGuide.ind.<br>
>> > 8> 6> Transcript written in 00-SoftwareGuide.ilg.<br>
>> > 8> 6> Generating 00-SoftwareGuide.ps<br>
>> > 8> 6> 'C:/Program' is not recognized as an internal or external<br>
>> > command,<br>
>> > 8> 6> operable program or batch file.<br>
>> ><br>
>> > 8>C:\Program Files<br>
>> > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):<br>
>> > error<br>
>> > MSB6006: "cmd.exe" exited with code 1.<br>
>> ><br>
>> ><br>
>><br>
>> Hmm, almost there! It sounds like it is failing at the dvi to ps<br>
>> conversion step. Is the<br>
>><br>
>> DVIPS_CONVERTER<br>
>><br>
>> CMake variable set correctly? Does adding quotes to<br>
>> SoftwareGuide/<a href="http://DvipsWrapper.bat.in" target="_blank">DvipsWrapper.bat.in</a> help?<br>
>><br>
>> Thanks,<br>
>> Matt<br>
><br>
><br>
</div></div></blockquote></div><br></div></div></div></div></div></div></div>