Albrecht Schlosser wrote:
>>      Thing is, I just tried removing all the src/*.gif images,
>>      and then ran "doxygen".. no errors! Also, "make pdf-dist"
>>      made no complaints either. 'make html' does complain though,
>>      but only due to the missing dependency it seems.
> 
> Hmm, maybe after you changed the image sources to the png files?

        Oh wait, I see what's happening.

        doxygen is finding an old copy I'd made of all the gifs
        in a subdir of src.. So even though I removed src/*.gif,
        doxygen was secretly finding the ones in src/gifs/*.gif

        It seems doxygen doesn't just look for images in src;
        if it can't find it there, it recursively descends into
        subdirs looking for the image, and whatever it finds
        that has a matching filename, it uses.

        I noticed when looking at the source for doxygen that the
        image code actually does a 'find' type of operation..
        which explains the above.

        Here's the proof:

/usr/local/src/fltk-1.3.x-svn/documentation
# doxygen
                                                <-- no errors
/usr/local/src/fltk-1.3.x-svn/documentation
# mkdir src/gif; mv src/*.gif src/gif           <-- move all gifs into a subdir

/usr/local/src/fltk-1.3.x-svn/documentation
# doxygen                                       <-- still works!
                                                <-- no errors (!) and docs 
created OK
/usr/local/src/fltk-1.3.x-svn/documentation
# \rm src/gif/table*                            <-- remove the table gifs in 
subdir

/usr/local/src/fltk-1.3.x-svn/documentation
# doxygen                                       <-- ok, now it complains
/usr/local/src/fltk-1.3.x-svn/FL/Fl_Table.H:72: Warning: image file 
table-as-container.gif is not found in IMAGE_PATH: assuming external image.
/usr/local/src/fltk-1.3.x-svn/FL/Fl_Table.H:73: Warning: image file 
table-as-container.gif is not found in IMAGE_PATH: assuming external image.
/usr/local/src/fltk-1.3.x-svn/FL/Fl_Table.H:85: Warning: image file 
table-dimensions.gif is not found in IMAGE_PATH: assuming external image.

        So it's not a bug, it's a feature! ;)

> Which doxygen version are you using?

        1.5.6 here.
        But the above explains it all now.

        Just so happened I had that extra copy of the gifs in a subdir
        due to previous testing. Never thought it would do a recursive
        search..!
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to