Compile and run the C++ sample applications

Once code sample files are copied, do the following to compile and run the c++ sample applications and use them with Seat or Page Pack licensing.

  1. Run the following command to change to the working directory:
    cd ~/sample/c++
  2. Compile the project.
    make
  3. To display the help built in the sample application, run the following command:
    cd ../input
    ../c++/sample -h
  4. Run the required samples. To run all the samples, use this command:
     ../c++/sample -x all

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