Thank you! Professor W.
I have solved my problem,
-DHDF5_LIBRARY=/usr/lib/x86_64-linux-gnu/hdf5/serial/lib
this command should link a static library, not a /lib.
在 2018年4月27日星期五 UTC+8下午10:45:27,Wolfgang Bangerth写道:
>
> On 04/27/2018 01:28 AM, cxmai...@gmail.com wrote:
> > @davydden But
On 04/27/2018 01:28 AM, cxmail.w...@gmail.com wrote:
@davydden But after I finish configure the dealii:
|
sudo cmake -DCMAKE_INSTALL_PREFIX=/home/chenxi/DealIInew
It's generally a bad idea to do anything with 'sudo'. In your case, you
are installing into your home directory, so it is not
@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