bindings-dsl icon indicating copy to clipboard operation
bindings-dsl copied to clipboard

I fixed it by adding the following to `bindings-hdf5.cabal`, under `library`:

Open ishfaq333 opened this issue 5 years ago • 2 comments
trafficstars

I fixed it by adding the following to bindings-hdf5.cabal, under library:

  include-dirs: /usr/include/hdf5/serial
  extra-lib-dirs: /usr/lib/x86_64-linux-gnu/hdf5/serial

Should we add this to the repo? That would be useful so that other people using Ubuntu 15.04 can run stack install bindings-hdf5 globally and it would just work, rather than having to manually clone the repo, update the cabal file, and build manually.

Originally posted by @sid-kap in https://github.com/jwiegley/bindings-dsl/issues/15#issuecomment-174748864

Hi dear, I am new to all this. I successfully installed o2scl program. now when I am trying to build any program file, it shows the error "hdf5.h, no such file or directory", what should I do

ishfaq333 avatar Jan 30 '20 06:01 ishfaq333

We could add those under an ostype flag.

jwiegley avatar Jan 30 '20 23:01 jwiegley

I am sorry dear but I am not getting you.

which file I have to modify in order for the program to compile successfully

ishfaq333 avatar Jan 31 '20 03:01 ishfaq333