[Insight-users] [ITK] Software Guide generation process problems

Matt McCormick matt.mccormick at kitware.com
Fri Oct 11 13:55:18 EDT 2013


Hi Jon,

Fantastic to hear that you successfully built the PDF!  We will pump
life into The Software Guide once again!  "It's alive!" :-)

Thanks,
Matt

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


More information about the Insight-users mailing list