[sleuthkit-users] Using libtsk.lib with qt under windows
Brought to you by:
carrier
|
From: <ma...@mh...> - 2014-10-09 13:38:41
|
Hi,
I tried to use the libtsk.lib in a qt project under windows.
So I downloaded the sleuthkit-4.1.3-win32 and the src files of version 4.1.3.
After this I add the link to the library in my project file:
win32: LIBS +=
-L$$PWD/../../sleuthkit/sleuthkit-4.1.3-win32/lib/ -llibtsk
INCLUDEPATH += $$PWD/../../sleuthkit/sleuthkit-4.1.3-win32
DEPENDPATH += $$PWD/../../sleuthkit/sleuthkit-4.1.3-win32
In my main.cpp I include the <tsk/libtsk.h> header and try to open an Image:
TskImgInfo *imgInfo;
imgInfo = new TskImgInfo();
imgInfo->open("F:\37-0147-14\02\02.E01", TSK_IMG_TYPE_DETECT, 0);
The compilation works well, but during the linking I get the following error:
E:\Projects\ICQGrabber\tsk_api_test\TSK_API_TEST\main.cpp:-1: Fehler:
undefined reference to `tsk_img_open_utf8_sing'
I tried build my own lib with visual studio. But when I use the same
library I get the same error.
Thanks for your help
Markus
|