Skip to content

perftools required? #2

@nfultz

Description

@nfultz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions