Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

How to build u2f-test/HID #170

Open
Open

Description

@stephenwwu

I can't build the code under Linux. The README only specify one command "make". Error message

Package hidapi-hidraw was not found in the pkg-config search path.
Perhaps you should add the directory containing hidapi-hidraw.pc' to the PKG_CONFIG_PATH environment variable No package 'hidapi-hidraw' found make: *** No rule to make target hidapi/linux/hid.c', needed by `hid.o'. Stop.

Activity

  1. Coconop commented on Jan 2, 2019

    @Coconop

    Looking at the makefile, it tests if you have hidapi-hidraw in your pkg-config. If so it will use it, otherwise it will use local sources.
    Indeed, the README also specifies :

    DEPENDENCIES:
    git clone https://github.com/signal11/hidapi
    git clone -b lollipop-release https://android.googlesource.com/platform/system/core

    So it means that you should have downloaded hidapi and core folders in the u2f-tests/HID/ folder to build correctly.

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

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