Skip to content

error: 'find: -printf: unknown primary or operator' under macOS #28

@dafei-qin

Description

@dafei-qin

I tried to build this project but error occurs:

find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
ar rcs build_cpuonly/lib/libgnn.a
ar: no archive members specified

I tried to delete all -printf in Makefile but another error occurs:

make: *** No rule to make target build_cpuonly/objs/cxx/src//nn/hit_at_k.o', needed by build_cpuonly/lib/libgnn.a'. Stop.

I tried to install findutils as suggested by this but it wouldn't work.

I think this is a trivial error that can be easily solved. However it seems that nobody has occurred the same issue.

Can anybody provide some instructions? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions