Re: [sleuthkit-users] Using libtsk.lib with qt under windows
Brought to you by:
carrier
From: <ma...@mh...> - 2014-10-16 07:24:14
|
Hi Brian, I compile to program with mingw. I allready tried to convert the lib with the reimp tool. The tool runs around 10 minutes but I didn't get any output. On the second step I tried to compile the sleuthkit with mingw. During the compilation I found 2 Problems: - I was not able to include the libewf library. If I determine the path, the libtool throws an error. - If I try to compile the sleuthkit without libewf support, I get an error because of a missing regex.h header file. Markus Quoting Brian Carrier <ca...@sl...>: > 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 |