Compile and run the C/C++ sample applications

Do the following to compile and run the C/C++ sample applications.

For OEM licensing, prepare the sample files before compilation and running. Seat licenses do not require such preparation.

  1. Change to the Samples subfolder.
  2. Compile the project.
    make
  3. To display the help built in the sample application, run the following command:
    ./sample -h
  4. Run the required samples. To run all the samples, use this command:
    ./sample -x all

See the supplied Makefile for the use of OCRLIBPATH and OCRINCPATH.