Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Enter the directory that was created when extracting the .tar.gz or .zip file.
  2. Open the file called "Makefile" with a texteditor. 
  3. Go to the top of the file, and remove the hash from whichever CPU architecture you are using, and then save and close the file.
    If you are using ARMv6+VFPv2 it should look like this:

    #ARCHITECTURE=x86-64 ARCHITECTURE=ARMv6+VFPv2

  4. In the terminal, navigate to the directory that was created when extracting the .tar.gz or .zip file.
  5. Execute the following command to build the example program:

    make

  6. Check for errors. If errors occur, make sure that all steps for Preparing the system were performed correctly. If another flavor of Linux than Ubuntu 16.04 is used, the compiler version may be too old. If that is the case, upgrade the compiler.
  7. To run the example program using USB HID:
    a. Plug in a USB-HID enabled sensor into a USB port of the computer.
    b. Navigate to the root folder of the SDK release.
    c. Execute the following command to run the example program:

    sudosudo ./zForceSDK-Example

  8. If prompted, enter the password.
  9. To break the program, press Control-C.

...