vendredi 2 août 2019

infinity loop on simple program that uses tesseract and gtest

I am working on some tests using tesseract and Gtest.

I am falling on the following error:

Starting sh -c "trap 'kill %1' 0 1 2 ; java -Xms1024m -Xmx2048m -jar ./ScrollView.jar & wait"
ScrollView: Waiting for server...
sh: 1: java: not found
sh: 1: kill: No such process

ScrollView: Waiting for server...

The following simple program reproduces the behavior above

# include <gtest/gtest.h>

For compiling and linking it I use the following command

clang++ foo.cc -lgtest -ltesseract

My question is why do I get that error? I suspect that it is related to something with tesseract because I get the error only when I link tesseract.

Aucun commentaire:

Enregistrer un commentaire