Hi Michael,
I've opened an issu <https://github.com/dealii/dealii/issues/4049>e for
this. The problem seems not to be with the actual examples *per se*, but
rather that the current mechanism in place to build the documentation. It
will collect whichever files are in these subdirectories and pass them
along to doxygen. So, in the event that one's built or run any of the
examples, what's passed to doxygen includes any CMakeFiles, visualisation
output etc. We'll find away to improve this, but in the mean time you can
completely purge all of these directories of any superfluous files (i.e.
run "make distclean" in those directories), nuke and build it all again.
Hopefully you'll only have to build the documentation once more :-)
Best,
Jean-Paul
On Tuesday, March 7, 2017 at 9:34:38 PM UTC+1, Michael Harmon wrote:
>
> Hi Jean-Paul,
>
> Yes, Thanks! I removed all the CG examples except for
> goal_oriented_electroplasticity and my own and it worked.... I guess it is
> one of the CG examples.. It takes an painfully long time to write the html
> on my puny macbook air :)
>
> - Mike
>
> On Tuesday, March 7, 2017 at 11:54:42 AM UTC-5, Jean-Paul Pelteret wrote:
>>
>> Thanks Wolfgang, a slight permutation of that seemed to work! I'll submit
>> a PR in a moment.
>>
>> Michael, can you tell me if you've built any of the code gallery
>> examples? I think that this might be the issue. If you have, can you go
>> into those examples' directories and run "make distclean", then try to
>> build the documentation again? It looks like this has fixed the problem for
>> me.
>>
>> FYI. Before cleaning the CG examples completely, this was the last line
>> of doxygen.log:
>>
>>> input buffer overflow, can't enlarge buffer because scanner uses REJECT
>>>
>>
>> On Tuesday, March 7, 2017 at 5:34:39 PM UTC+1, Wolfgang Bangerth wrote:
>>>
>>> On 03/07/2017 09:30 AM, Jean-Paul Pelteret wrote:
>>> >
>>> > Matthias, is there any way to disable the deletion of doxygen.log when
>>> a
>>> > build of the documentation fails?
>>>
>>> In doc/doxygen/CMakeLists.txt, line ~230, you have
>>>
>>> ADD_CUSTOM_COMMAND(
>>> OUTPUT
>>> ${CMAKE_BINARY_DIR}/doxygen.log
>>> COMMAND ${DOXYGEN_EXECUTABLE}
>>> ${CMAKE_CURRENT_BINARY_DIR}/options.dox
>>> > ${CMAKE_BINARY_DIR}/doxygen.log 2>&1 # *pssst*
>>> ...
>>>
>>> Can you try to change that into something of the form
>>>
>>> ADD_CUSTOM_COMMAND(
>>> OUTPUT
>>> ${CMAKE_BINARY_DIR}/doxygen.log
>>> COMMAND
>>> (${DOXYGEN_EXECUTABLE}
>>> ${CMAKE_CURRENT_BINARY_DIR}/options.dox
>>> > ${CMAKE_BINARY_DIR}/doxygen.log 2>&1 # *pssst*
>>> )
>>> ||
>>> mv ${CMAKE_BINARY_DIR}/doxygen.log ${CMAKE_BINARY_DIR}/doxygen.err
>>> ...
>>>
>>>
>>> The second branch of || is only executed if the first one fails, and
>>> moves the output file to an error file.
>>>
>>> If this happens to work, please submit this as a patch in general -- we
>>> should try to preserve error messages.
>>>
>>> Best
>>> W.
>>>
>>> --
>>> ------------------------------------------------------------------------
>>> Wolfgang Bangerth email: [email protected]
>>> www:
>>> http://www.math.colostate.edu/~bangerth/
>>>
>>
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.