fastSparse icon indicating copy to clipboard operation
fastSparse copied to clipboard

perftools required?

Open nfultz opened this issue 1 year ago • 0 comments

Hello, I tried installing the R package from here using

remotes::install_github("interpretml/fastSparse", subdir = "FastSparse")

which had a compile error,

   profile.cpp:2:10:fatal error: tools/profiler.h: No such file or directory
       2 | #include "gperftools/profiler.h"
         |          ^~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
   make: *** [/usr/lib/R/etc/Makeconf:177: profile.o] Error 1
   make: *** Waiting for unfinished jobs....
   In file included from include/MakeCD.h:10
                    from include/Grid1D.h:10
                    from include/Grid.h:9
                    from include/Interface.h:7
                    from Interface.cpp:1

I worked around it using

apt install libgoogle-perftools-dev libgoogle-perftools4

but I didn't see that mentioned in the README, so thought I would report this.

nfultz avatar Mar 13 '24 00:03 nfultz