Re: [sleuthkit-users] Using libtsk.lib with qt under windows
Brought to you by:
carrier
|
From: Brian C. <ca...@sl...> - 2014-10-16 03:23:41
|
Are you compiling your program with mingw?
On Oct 9, 2014, at 9:17 AM, ma...@mh... wrote:
>
> 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
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> sleuthkit-users mailing list
> https://lists.sourceforge.net/lists/listinfo/sleuthkit-users
> http://www.sleuthkit.org
|