Coder Social home page Coder Social logo

How to build Hdf5 library? about crcnn HOT 5 OPEN

BlackZou avatar BlackZou commented on June 4, 2024
How to build Hdf5 library?

from crcnn.

Comments (5)

barlettacarmen avatar barlettacarmen commented on June 4, 2024

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.

from crcnn.

barlettacarmen avatar barlettacarmen commented on June 4, 2024

@BlackZou

  1. Compile Seal
    [Follow instructions of Seal readme]

  2. 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
  1. 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/
  1. Compile CrCNN
    From root folder
cd CrCNN
make -j

from crcnn.

BlackZou avatar BlackZou commented on June 4, 2024

Thanks for your advice! But I still can't make success, the good news are that I got fewer "errors" .
image

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:
image

from crcnn.

BlackZou avatar BlackZou commented on June 4, 2024

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.
image

from crcnn.

damionfan avatar damionfan commented on June 4, 2024

I also meet this problem ...

from crcnn.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.