Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DOCSDK and version 2.2.2

...

Download the SDK from https://support.neonode.com/docs/display/Downloads.

Anchor
Preparing the system
Preparing the system

Preparing the system for building and running SDK programs

...

  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 in for Preparing the Systemsystem 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:

    sudo./zForceSDK-Example

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

...