[IGSTK-Developers] Re: StateMachine diagrams can now be inserted in the IGSTK book

Patrick Cheng cheng at isis.georgetown.edu
Thu Mar 23 16:56:45 EST 2006


Thanks Julien,

I was struggling with this right now. Some precompiled executables has 
plugin loading problem. And the graphviz 2.8 source has one plugin 
failed to build.

I will try your package. It seems to be working on your machine already. 
Nice!

Patrick

Julien Jomier wrote:
> Patrick,
> 
> I just compiled the book using Cygwin. I had to download a previous 
> release of graphviz for Cygwin instead of the current one (dot was 
> failing). Here's the link in case you need it:
> http://lassauge.free.fr/cygwin/release/graphviz/
> 
> Julien
> 
> Patrick Cheng wrote:
>> Yea, I did enable the BUILD_DOCUMENTATION, and setup path for the dot 
>> tool.
>>
>> But the problem is the Windows version dot tool, doesn't recognize the 
>> cygwin style path to dot file:
>>
>> The error msg is:
>> "Error: dot: can't open 
>> /cygdrive/c/Patrick/IGSTKDocuments/IGSTKDocuments-Dev/TheBook/Art/igstkCTImageReader.dot" 
>>
>>
>> The cygwin doesn't come with Graphviz, I might need to get some third 
>> party executable to put into cygwin /bin directory.
>>
>> Anyone have better solutions to this problem?
>>
>> Patrick
>>
>>
>> Luis Ibanez wrote:
>>>
>>> The dot tool is found indirectly through the
>>>
>>>     INCLUDE(${CMAKE_ROOT}/Modules/Documentation.cmake)
>>>
>>> This file in CMake include the one for Doxygen.cmake
>>> that in turns searches for the dot tool.
>>>
>>> Remember that you have to go to advanced options and
>>> enable the BUILD_DOCUMENTATION options.
>>>
>>>
>>>    Luis
>>>
>>>
>>> --------------------------
>>> Andinet Enquobahrie wrote:
>>>> David Gobbi wrote:
>>>>
>>>>> I'm also having some trouble with the .dot files, the CMakeLists files
>>>>> don't have a FIND_PROGRAM line to find the dot executable.
>>>>
>>>>
>>>> David,
>>>>
>>>> Take a look at TheBook/Art/CMakeLists files . FIND_PROGRAM for both 
>>>> "dot" and "fig2dev" executables....
>>>>
>>>> -Andinet
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>> Patrick Cheng wrote:
>>>>>
>>>>>> the 16 Byte files are empty,
>>>>>> I have problem building the book, I thought it's b/z of the dot 
>>>>>> files is empty, but actually it's b/z of the dot tool I am using, 
>>>>>> I have to install the Graphviz for cygwin.
>>>>>>
>>>>>> sorry for the confusion.
>>>>>>
>>>>>> Patrick
>>>>>>
>>>>>> Luis Ibanez wrote:
>>>>>>
>>>>>>>
>>>>>>> Hi Patrick,
>>>>>>>
>>>>>>> I see content on them...
>>>>>>>
>>>>>>> Which file did you looked at ?
>>>>>>>
>>>>>>> Here are the sizes of the files in the repository
>>>>>>>
>>>>>>>    16  igstkCTImageReader.dot
>>>>>>>    16  igstkCTImageSpatialObject.dot
>>>>>>>    16  igstkCTImageSpatialObjectRepresentation.dot
>>>>>>>    16  igstkCylinderObject.dot
>>>>>>>   330  igstkCylinderObjectRepresentation.dot
>>>>>>>   864  igstkDICOMImageReaderSurrogate.dot
>>>>>>>    16  igstkEllipsoidObject.dot
>>>>>>>   334  igstkEllipsoidObjectRepresentation.dot
>>>>>>>  2.2K  igstkImageSpatialObjectRepresentation.dot
>>>>>>>   223  igstkImageSpatialObjectSurrogate.dot
>>>>>>>  2.2K  igstkLandmark3DRegistration.dot
>>>>>>>    16  igstkMRImageReader.dot
>>>>>>>    16  igstkMRImageSpatialObject.dot
>>>>>>>    16  igstkMRImageSpatialObjectRepresentation.dot
>>>>>>>  3.0K  igstkObjectRepresentationSurrogate.dot
>>>>>>>  1.1K  igstkPivotCalibration.dot
>>>>>>>  1.1K  igstkPrincipalAxisCalibration.dot
>>>>>>>  1.3K  igstkPulseGenerator.dot
>>>>>>>    16  igstkSerialCommunicationForPosix.dot
>>>>>>>   981  igstkSpatialObjectReader.dot
>>>>>>>   839  igstkSpatialObjectSurrogate.dot
>>>>>>>  2.4K  igstkTracker.dot
>>>>>>>   490  igstkTrackerTool.dot
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>   Luis
>>>>>>>
>>>>>>>
>>>>>>> ----------------------
>>>>>>> Patrick Cheng wrote:
>>>>>>>
>>>>>>>> Hi Luis,
>>>>>>>>
>>>>>>>> I just tried the dot file, but it seems they are all empty.
>>>>>>>>
>>>>>>>> Patrick
>>>>>>>>
>>>>>>>> Luis Ibanez wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> David, Patrick,
>>>>>>>>>
>>>>>>>>> The .dot files exported from the StateMachines have been
>>>>>>>>> added to the Art directory of the IGSTK Book.
>>>>>>>>>
>>>>>>>>> Commands have been added to the CMakeLists.txt file in order
>>>>>>>>> to have CMake invoke the dot tool for converting the .dot
>>>>>>>>> files into .eps.
>>>>>>>>>
>>>>>>>>> For this to work, you should enable "BUILD_DOCUMENTATION"
>>>>>>>>> in the advanced options of CMake when you configure the book.
>>>>>>>>>
>>>>>>>>> The eps diagrams will be put in the Generated subdirectory
>>>>>>>>> of the Art directory in the build tree of the book.
>>>>>>>>>
>>>>>>>>> You can then include the files in the appropriate .tex
>>>>>>>>> files using the includegraphics command.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   Luis
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> IGSTK-Developers mailing list
>>>>>> IGSTK-Developers at public.kitware.com
>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IGSTK-Developers mailing list
>>>>> IGSTK-Developers at public.kitware.com
>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> IGSTK-Developers mailing list
>>>> IGSTK-Developers at public.kitware.com
>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IGSTK-Developers mailing list
>>> IGSTK-Developers at public.kitware.com
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>>
>>>
>> _______________________________________________
>> IGSTK-Developers mailing list
>> IGSTK-Developers at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>
> 
> 
> 



More information about the IGSTK-Developers mailing list