Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install via install.packages("hdf5r") #176

Open
TeaByrd opened this issue Aug 5, 2021 · 1 comment
Open

Unable to install via install.packages("hdf5r") #176

TeaByrd opened this issue Aug 5, 2021 · 1 comment

Comments

@TeaByrd
Copy link

TeaByrd commented Aug 5, 2021

Hey hdf5r team,

In order to install Seutrat-Disk, I need to install hdf5r.

I run R 4.1 from my conda env and facing this issue when installing via: install.packages("hdf5r"):

...

/HelperStructs.h:33:3: error: unknown type name 'H5O_token_t'; did you mean 'H5O_type_t'?
  H5O_token_t token;
  ^~~~~~~~~~~
  H5O_type_t
/Users/thomaslordick/opt/anaconda3/envs/r4-base/include/H5Opublic.h:98:3: note: 'H5O_type_t' declared here
} H5O_type_t;
  ^
In file included from const_export.c:23:
In file included from ./const_export.h:22:
In file included from ./global.h:33:
./HelperStructs.h:81:3: error: unknown type name 'H5L_info1_t'
  H5L_info1_t link;
  ^
2 errors generated.
make: *** [/Users/thomaslordick/opt/anaconda3/envs/r4-base/lib/R/etc/Makeconf:170: const_export.o] Error 1
ERROR: compilation failed for package ‘hdf5r’

Anyone knows what to do? :/

Thanks in advance,
Thomas

@millerkaplanlab
Copy link

I'm having the same issue, but I'm using a Mac (Big Sur). Can anyone help? I've tried installing from source and have also used brew in Terminal, which seems to install properly but is not recognized by R.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants