Giter VIP home page Giter VIP logo

Comments (8)

rimmartin avatar rimmartin commented on July 22, 2024

Your build line?

<your projects build command>   --fallback-to-build --hdf5_home_win=<your native hdf path>

where <your native hdf path> has the hdf5 include and lib folder for hdf5?
http://hdf-ni.github.io/hdf5.node/doc/install-setup.html

from hdf5.node.

 avatar commented on July 22, 2024

sorry, i didn't understand what you mean. i only have hdf5.h file in C:\opencv-3.0.0\build\include\opencv2\flann\hdf5.h except this hdf5 file, i dnt any hdf5 in my pc.

from hdf5.node.

 avatar commented on July 22, 2024

i downloaded HDF and isntalled in C:\Program Files\HDF_Group\HDF5\1.8.18, now what to do next?
what do you mean by --fallback-to-build --hdf5_home_win=

from hdf5.node.

rimmartin avatar rimmartin commented on July 22, 2024

--fallback-to-build has to do with prebuilts I put on Amazon; if your case matches up it just downloads them(no need to build in that case).

--hdf5_home_win=C:\Program Files\HDF_Group\HDF5\1.8.18

your install location is passed to your npm install and even if hdf5.node(hdf5) is a package within another project this switch will tell hdf5.node where the native hdf5 is located when building. See https://github.com/HDF-NI/hdf5.node/blob/master/binding.gyp#L4
It replaces this build variable from command line.

Make sure you have node-gyp installed; node-pre-gyp uses it

from hdf5.node.

rimmartin avatar rimmartin commented on July 22, 2024

which nodejs version are you using?

from hdf5.node.

yylovess avatar yylovess commented on July 22, 2024

I have the same problem, I am using windows 10 , Vs 2013. When I compile a project. These errors happen:
Error 1083: can not open include file: 'hdf5.h': No Such file or directory
IntelliSense: can not open source file "hdf5.h".

But I am sure I have linked the project to the directory where there is the file “hdf5.h”.
How do you solve this errors? Thank you. @rimmartin @maqsoodshah

from hdf5.node.

rimmartin avatar rimmartin commented on July 22, 2024

what is your build command?

npm install --hdf5_home_win=C:\Program Files\HDF_Group\HDF5\1.8.18

--hdf5_home_win needs to point to base directory of hdf5 native installation

from hdf5.node.

yylovess avatar yylovess commented on July 22, 2024

Thank you very much for your reply. I have solved this problem.
What I did is change the platform to x64. @rimmartin

from hdf5.node.

Related Issues (20)

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.