SampleConfig.h missing

  • Last Post 19 December 2017
  • Topic Is Solved
Jan Rademaker posted this 07 December 2017


I installed the FREngine using the installer script:

$ ./

Creating directory FREngine-Linux-x86_64-

Verifying archive integrity... All good.


Install at /opt/ABBYY/FREngine11?(y/n) n

Input installation directory: /home/bwss/tmp/fre11/install

1) Developer installation

2) Runtime installation

#? 1

Fine Reader Engine is installed but not activated.

Launch /home/bwss/tmp/fre11/install/ as root user to complete activation process

So I selected a custom install directory and choose to install the developer installation. After this I tried to compile some of the samples, but the compilation fails because there is no SampleConfig.h.


../SharedTools/FREngineLoader.cpp:13:30: fatal error: ../SamplesConfig.h: No such file or directory

 #include "../SamplesConfig.h"


compilation terminated.

make: *** [FREngineLoader.o] Error 1


And indeed there is none. What is this file and why is it missing?

Kseniya Leontyeva posted this 19 December 2017


SamplesConfig.h is a file that helps to build samples. For example, it contains a path to FineReader Engine installation folder and SN of the license.

It will be generated automatically if you configure licensing service. To do it you should run ./ again and choose  the following option: “1) Reconfigure service, manage licenses and set up samples”