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

perftools required? #2

Open
nfultz opened this issue Mar 13, 2024 · 0 comments
Open

perftools required? #2

nfultz opened this issue Mar 13, 2024 · 0 comments

Comments

@nfultz
Copy link

nfultz commented Mar 13, 2024

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.

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

No branches or pull requests

1 participant