Skip to content

Instantly share code, notes, and snippets.

@MarSoft
Created November 9, 2015 21:02
Show Gist options
  • Save MarSoft/843347b674dea2e2c313 to your computer and use it in GitHub Desktop.
Save MarSoft/843347b674dea2e2c313 to your computer and use it in GitHub Desktop.
g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o Release/ocr_test ocr_test.o ImgCoordsScaler.o ImgParser.o ImgProcHelper.o IoHelper.o OcrAbcSaver.o OcrMatchProcessor.o OcrSystem.o ocrmatchprocessorworker.o OcrLogger.o moc_ocrmatchprocessorworker.o -ltesseract -llept -lopencv_core -lopencv_highgui -lopencv_imgproc -lQt5Core -lpthread
OcrMatchProcessor.o: In function `OcrMatchProcessor::_worker_processFrame()':
OcrMatchProcessor.cpp:(.text+0x2b14): undefined reference to `OcrMeanValue::pushVal(int)'
OcrMatchProcessor.cpp:(.text+0x2b27): undefined reference to `OcrMeanValue::pushVal(int)'
OcrMatchProcessor.cpp:(.text+0x2b33): undefined reference to `OcrMeanValue::getVal()'
OcrMatchProcessor.cpp:(.text+0x2b41): undefined reference to `OcrMeanValue::getVal()'
OcrMatchProcessor.cpp:(.text+0x300f): undefined reference to `OcrMeanValue::pushVal(int)'
OcrMatchProcessor.cpp:(.text+0x3022): undefined reference to `OcrMeanValue::pushVal(int)'
OcrMatchProcessor.cpp:(.text+0x302e): undefined reference to `OcrMeanValue::getVal()'
OcrMatchProcessor.cpp:(.text+0x3041): undefined reference to `OcrMeanValue::getVal()'
OcrMatchProcessor.cpp:(.text+0x3067): undefined reference to `OcrMeanValue::pushVal(int)'
OcrMatchProcessor.cpp:(.text+0x307a): undefined reference to `OcrMeanValue::pushVal(int)'
OcrMatchProcessor.cpp:(.text+0x3086): undefined reference to `OcrMeanValue::getVal()'
OcrMatchProcessor.cpp:(.text+0x3094): undefined reference to `OcrMeanValue::getVal()'
OcrMatchProcessor.o: In function `OcrMatchProcessor::OcrMatchProcessor()':
OcrMatchProcessor.cpp:(.text+0x3c6b): undefined reference to `OcrMeanValue::OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3c81): undefined reference to `OcrMeanValue::OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3c97): undefined reference to `OcrMeanValue::OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3cad): undefined reference to `OcrMeanValue::OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3ece): undefined reference to `OcrMeanValue::~OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3eda): undefined reference to `OcrMeanValue::~OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3ee6): undefined reference to `OcrMeanValue::~OcrMeanValue()'
OcrMatchProcessor.cpp:(.text+0x3ef2): undefined reference to `OcrMeanValue::~OcrMeanValue()'
OcrMatchProcessor.o: In function `OcrMatchProcessor::~OcrMatchProcessor()':
OcrMatchProcessor.cpp:(.text+0x40a0): undefined reference to `OcrMeanValue::~OcrMeanValue()'
OcrMatchProcessor.o:OcrMatchProcessor.cpp:(.text+0x40ac): more undefined references to `OcrMeanValue::~OcrMeanValue()' follow
collect2: error: ld returned 1 exit status
Makefile:260: recipe for target 'Release/ocr_test' failed
make: *** [Release/ocr_test] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment