Open BlackZou opened 5 years ago
I have to check which is the right version of hdf5 you need. I'm working on it, I'll keep you posted today or tomorrow.
@BlackZou
Compile Seal [Follow instructions of Seal readme]
Compile hdf5
mkdir hdf5
cd hdf5
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.20/src/hdf5-1.8.20.tar.gz
tar xvpf hdf5-1.8.20.tar.gz
mkdir build
mkdir install
cd build
cmake -DCMAKE_INSTALL_PREFIX=$PWD/../install ../hdf5-1.8.20
make -j
make install -j
Move Static libraries in CrCNN
From root folder:
mkdir CrCNN/lib
cp SEAL_2.3.1/lib/libseal.a CrCNN/lib/
cp hdf5/install/lib/*.a CrCNN/lib/
cd CrCNN
make -j
Thanks for your advice! But I still can't make success, the good news are that I got fewer "errors" .
I think maybe there are some problems with H5Location::createGroup ,but I had repeated install and uninstall "hdf5" several times . It still got the same problem. I check the code in the "/hdf5/install/include/H5Location.h" but dosen't find "createGroup" function. What's your environment that can compile it success, can I have a look at your lib snip? My lib after compile is this:
I got it, I find that the version hdf5-1.10.1 can compile success. And I almost can success run "main.o", these problems seems need to be familiar with your code. Thanks for your hard working.
I also meet this problem ...
I download the fiel "hdf5-1.10.4.tar.gz " from the website "http://h5cpp.org/download/" , then I try to build it by "./configure 、make 、make install" But after that , in the document "lib" don't have the file ( H5Cpp.h , H5Cpp.a .... ) that need in your code. Thus I can't success run "make" to exec your code. Did I get wrong in my building process, or I have download the incorrect file ? Can you help me?