SampleConfig.h missing

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

Hi,

I installed the FREngine using the installer script:

$ ./fre11linux-r8p2gm-x86_64_part_1155_33_build_11_1_19_936527.sh

Creating directory FREngine-Linux-x86_64-11.1.19.936527

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/activatefre.sh 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

Hi,

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 ./activatefre.sh again and choose  the following option: “1) Reconfigure service, manage licenses and set up samples”

Close