Hi there,
I got a fingerprint scanner together with the driver, header files and a couple of files ftrscanAPI.lib and ftrscanAPI.dll. Presumably these have been built with MSVC.
I'm working in Windows 7.
My installation of Qt Creator uses Mingw and gcc but since I do have MSVC 2008 I suppose I could configure it to use MSVC, but I'd rather not for the time being.
Anyway I have tried a test application which shows that the scanner runs fine.
But trying to make use of the functions in a Qt C+ program is another story.
I addedto the project file, but nothing doing, I get error messages at compile timeQt Code:
LIBS += -LD:\\dev\\CplusPlus\\DemoFutronics\\ftrScanAPITo copy to clipboard, switch view to plain text mode
like
Look at the last one, it's really obscure.D:\dev\CplusPlus\DemoFutronics\mainwindow.cpp:-1: error: undefined reference to `ftrScanOpenDevice@0'
D:\dev\CplusPlus\DemoFutronics\mainwindow.cpp:-1: error: undefined reference to `ftrScanGetImageSize@8'
...
:-1: error: release/mainwindow.o: bad reloc address 0x2bc in section `.gcc_except_table'
I dont know what I'm doing wrong.
My strategy is now to load at runtime, I am making good progress, but it's unfortunate to have to go this way.
Bookmarks