-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hi, @bnprks
After reading the opened issues and closed issues, I still have the problem to install the package.
My R version is 4.3.3, Seurat version is 5.2.1. The main issue is 'Error running 'pkg-config hdf5 --cflags --libs' and 'Unable to locate libhdf5'.
I have already used conda to install hdf5 (v1.14.6), when I tried to use 'remotes::install_github("bnprks/BPCells/r")'。The error message show:

I have already tried to edit the '~/.R/Makevars'. As showing below:
CC = /home/tangbo/anaconda3/envs/visium_rctd/bin/x86_64-conda-linux-gnu-gcc
CXX = /home/tangbo/anaconda3/envs/visium_rctd/bin/x86_64-conda-linux-gnu-g++
CXX11 = /home/tangbo/anaconda3/envs/visium_rctd/bin/x86_64-conda-linux-gnu-g++
CXX14 = /home/tangbo/anaconda3/envs/visium_rctd/bin/x86_64-conda-linux-gnu-g++
CXX17 = /home/tangbo/anaconda3/envs/visium_rctd/bin/x86_64-conda-linux-gnu-g++
CXX17STD = -std=c++17
RLD_LIBRARY_PATH = $(HOME)/anaconda3/envs/visium_rctd/lib
CPPFLAGS = -I/home/tangbo/anaconda3/envs/visium_rctd/include
LDFLAGS = -L/home/tangbo/anaconda3/envs/visium_rctd/lib -Wl,-rpath,/home/tangbo/anaconda3/envs/visium_rctd/lib
And also, I have already tried : sudo yum install hdf5-devel . However, I do not have the right to use sudo to install it.