![]() Currently this feature is supported for HTML only. If GRAPHICAL_HIERARCHY is set to YES, a graphical representation of the class hierarchy will be drawn, along with the textual one. If you have the "dot" tool available in the path, you can set HAVE_DOT to YES in the configuration file to let doxygen use it.ĭoxygen uses the "dot" tool to generate the following graphs: Graphviz is an "open-sourced", cross-platform graph drawing toolkit from AT&T and Lucent Bell Labs and can be found at ![]() The linked PPA also has backports of LLVM 8.0.1 and 9.0.1 for Xenial & Bionic systems, as well as 10.0.0 for Xenial systems.Doxygen manual: Graphs and diagrams Graphs and diagramsDoxygen has built-in support to generate inheritance diagrams for C++ classes.ĭoxygen can use the "dot" tool from graphviz 1.5 to generate more advanced diagrams and graphs. Xenial) don't have available by default (although Bionic does now have LLVM 10 available in the official bionic-updates repo). Building doxygen with LLVM 6 avoids bringing in dependencies on LLVM 10 packages, which older series (ie. This backported version works fine to build doxygen 1.8.17 successfully (as I have now been able to do). ![]() To make the local system use a different default version either requires setting up alternatives oneself (see "man update-alternatives") or building and installing an updated defaults package.Īnyone wanting an LLVM 6.0 for either Ubuntu Xenial or Bionic that works with CMake can see my PPA where I have today backported LLVM 6.0.1 from Focal to Xenial & Bionic. There is often a secondary package, in this case llvm-defaults for Debian/Ubuntu systems, that defines the desired default version of the software (whether LLVM, GCC, etc). Relative apt-get install llvm not installing the latest LLVM version, this is due the way that "defaults" work on Linux-based systems. Thus, a backport of an LLVM 6.0 package with at least that Debian package revision or higher will work fine for building doxygen (and whatever else that might require Clang 6.0) with CMake. Although older package revisions of LLVM 6.0 for Debian/Ubuntu are broken for building with CMake (not finding Clang) any llvm-toolchain-6.0 packages with version 1:6.0.1~+rc1-1~exp2 () and higher fix the CMake breakage relative Clang. Xenial & Bionic) in the past few days led me to this issue here. ![]() Having encountered the same CMake error trying to build doxygen 1.8.17 for older Ubuntu series (ie. As mentioned in the issue OP linked at #8054 (comment) this is a packaging bug with earlier revisions of Debian/Ubuntu LLVM 6.0, see KDAB/codebrowser#74 (comment). I will probably put a write up question and answer in stack overflow in case someone else runs into this issue.Īlthough this issue is closed, in case anyone else searches for the CMake error encountered by OP (as I did this week) and lands here then some extra information might be helpful. Build files have been written to: /home/libiconv-1.16/doxygen-1.8.20/build I'm not sure how to install Clang properly to make doxygen build cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -Duse_libclang=ON. See also "/home/doxygen/build/CMakeFiles/CMakeError.log". The javacc executable not found, using existing files Performing Test ICONV_ACCEPTS_CONST_INPUT - Failed Performing Test ICONV_ACCEPTS_CONST_INPUT Performing Test ICONV_ACCEPTS_NONCONST_INPUT - Success Performing Test ICONV_ACCEPTS_NONCONST_INPUT One (and only one) of the ICONV_ACCEPTS_. Performing Test ICONV_COMPILES - Success Looking for pthread_create in pthread - found Looking for pthread_create in pthreads - not found Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed Performing Test CMAKE_HAVE_LIBC_PTHREAD Found BISON: /usr/bin/bison (found version "3.0.4") Found FLEX: /usr/bin/flex (found version "2.6.4") Found PythonInterp: /usr/bin/python (found version "2.7.17") See also "/home/doxygen/build/CMakeFiles/CMakeOutput.log".ĬMake Error at /usr/share/llvm-6.0/cmake/ClangConfig.cmake:18 (include): Configuring incomplete, errors occurred! Provides a separate development package or SDK, be sure it has been "Clang_DIR" to a directory containing one of the above files. Check for working CXX compiler: /usr/bin/c++ - skippedĬMake Error at CMakeLists.txt:52 (find_package):Ĭould not find a package configuration file provided by "Clang" with any ofĪdd the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set Check for working C compiler: /usr/bin/cc - skipped The CXX compiler identification is GNU 7.5.0 The C compiler identification is GNU 7.5.0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |