@davydden But after I finish configure the dealii: sudo cmake -DCMAKE_INSTALL_PREFIX=/home/chenxi/DealIInew -DDEAL_II_WITH_HDF5=ON -DHDF5_LIBRARY=/usr/lib/x86_64-linux-gnu/hdf5/serial/lib -DHDF5_INCLUDE_DIR=/usr/lib/x86_64-linux-gnu/hdf5/serial/include -DHDF5_HL_LIBRARY=/usr/include/hdf5/serial/hdf5_hl.h -DHDF5_PUBCONF=/usr/include/hdf5/serial/H5pubconf.h ../.
(I follow https://www.coursera.org/learn/finite-element-method/discussions/all/threads/4CIlFMjHEeaFyhIY_gUU0g carefully) But I still got some warnings: WARNING: Target "deal_II.g" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "deal_II" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "deal_II.g" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "deal_II" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "step.release" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "step.debug" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "affinity.debug" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. WARNING: Target "tbb.debug" requests linking to directory "/usr/lib/x86_64-linux-gnu/hdf5/serial/lib". Targets may link only to libraries. CMake is dropping the item. -- Generating done -- Build files have been written to: /home/chenxi/Desktop/deal.II/build But it works when I use make install to install dealii What should I do to fix this problem? Thank you very much in advance!!!! -- 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.