Problems building doxygen docs

Aleksey Naumov naumov at acsu.buffalo.edu
Thu Apr 13 14:23:32 EDT 2000


Please excuse if this was unintentionally duplicated - I sent it first
to the old
address (vtkusers at gsao.med.ge.com)...
-----------------------------------------------------------

Dear Sebastien and Vetle (and everybody),

I am trying to build docs with doxygen using your scripts and having two

problems.

1. One is minor - header2doxygen.pl complains that it's unable to create
a destination file:

[lesha at Chinara vtk]$ perl ../vtk_doxygen/header2doxygen.pl --to ../vtk2
header2doxygen.pl 0.5, by V. Roeim, S. Barre
Converting...
header2doxygen.pl: unable to open destination file ../vtk2/common/vtk.h

I found out that once I create directory 'common' in vtk2 (which I also
had to create), the script works:

[lesha at Chinara vtk]$ cd ..
[lesha at Chinara VTK]$ mkdir vtk2
[lesha at Chinara vtk]$ cd vtk2
[lesha at Chinara vtk2]$ mkdir common
[lesha at Chinara vtk2]$ cd ../vtk
[lesha at Chinara vtk]$ perl ../vtk_doxygen/header2doxygen.pl --to ../vtk2
header2doxygen.pl 0.5, by V. Roeim, S. Barre
Converting...
header2doxygen.pl: unable to open destination file
../vtk2/contrib/vtkAsynchronousBuffer.h

so, it works, but it's inconvenient to create all subdirs - common,
graphics, imaging, etc... manually. Am I missing something with file
permissions? Here's what I have:

[lesha at Chinara /home]$ l
...
drwxr-xr-x   6 lesha    lesha        1024 Apr 11 16:29 VTK

[lesha at Chinara VTK]$ l
...
drwxr-xr-x  15 lesha    lesha        1024 Mar 28 19:41 vtk
drwxrwxr-x   7 lesha    lesha        1024 Apr 11 16:33 vtk2

seems ok to me...


2. Another problem is with class2example script - it bugs out. Here's
the info:

[lesha at Chinara vtk2]$ perl ../vtk_doxygen/class2example.pl
class2example.pl 0.3, by S. Barre
Collecting files...
 => 0 file(s) collected in 1 s.
Parsing files...
 => 0 file(s) parsed in 0 s.
Eliminating some classes...
 => 0 class(es) eliminated () in 0 s.
Building documentation to class2example.dox...
Illegal division by zero at ../vtk_doxygen/class2example.pl line 329.
[lesha at Chinara vtk2]$

Sorry, I don't know perl at all... Any ideas?

Thank you!
Aleksey



--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list