Answer the question
In order to leave comments, you need to log in
Qt4 does not see the function in the dynamic library, although it includes the library itself?
Compiled dynamic library libbozorth3. It defines the bozorth_main(xyt_struct*, xyt_struct*) function.
I checked it on the test source, compiled it using gcc, everything compiled, the function worked fine.
But when I connect the same library to Qt4 (in Qt Creator), then gcc sees it (otherwise it would swear that the library was not found), but does not see this function (although I just copied the code from the test source into my project ). What could be the problem and how to fix it? Why does the same gcc compile normally in the first case, but does not find the function together with qt4?
[email protected] ~/workspace/qt_fprint-build-desktop $ gcc -o qt_fprint main.o
mainwindow.o cfingerprintscanner.o cfingerprintdata.o moc_mainwindow.o moc_cfingerprintscanner.o
-lfprint -lQtGui -lQtCore -lpthread -lbozorth3cfingerprintscanner.o:
In function `CFingerprintScanner::comparePrintData(CFingerprintData,
CFingerprintData)':
/home/robotex/workspace/qt_fprint-build-desktop/../qt_fprint/cfingerprintscanner.cpp:475: undefined
reference to `bozorth_main(xyt_struct*, xyt_struct*)'
collect2: ld returned 1 exit status
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question