Giter Club home page Giter Club logo

Comments (3)

joachimmetz avatar joachimmetz commented on July 19, 2024

Can you provide more information about the compilation steps you are following. Also see: https://github.com/libyal/libevtx/wiki/Building

from libevtx.

gclen avatar gclen commented on July 19, 2024

I was able to download and compile using your build instructions. That is:

git clone https://github.com/libyal/libevtx.git
cd libevtx/
./synclibs.sh
./autogen.sh
./configure
make
sudo make install

I copied evtxtools/evtxtools.c into a file called src/main.cpp. I then ran the following command

g++ -g -std=c++11 -I/home/gclenden/Documents/libevtx/include -I/home/gclenden/Documents/libevtx/common -I/home/gclenden/Documents/libevtx/libcerror -I/home/gclenden/Documents/libevtx/libcdata -I/home/gclenden/Documents/libevtx/libcthreads -I/home/gclenden/Documents/libevtx/libclocale -I/home/gclenden/Documents/libevtx/libcnotify -I/home/gclenden/Documents/libevtx/libcsplit -I/home/gclenden/Documents/libevtx/libuna -I/home/gclenden/Documents/libevtx/libcfile -I/home/gclenden/Documents/libevtx/libcpath -I/home/gclenden/Documents/libevtx/libbfio -I/home/gclenden/Documents/libevtx/libfcache -I/home/gclenden/Documents/libevtx/libfdata -I/home/gclenden/Documents/libevtx/libfdatetime -I/home/gclenden/Documents/libevtx/libfguid -I/home/gclenden/Documents/libevtx/libfvalue -I/home/gclenden/Documents/libevtx/libfwevt -I/home/gclenden/Documents/libevtx/libfwnt -I/home/gclenden/Documents/libevtx/libexe -I/home/gclenden/Documents/libevtx/libregf -I/home/gclenden/Documents/libevtx/libwrc -I/home/gclenden/Documents/libevtx/libcdirectory -I/home/gclenden/Documents/libevtx/evtxtools -c -o build/main.o src/main.cpp

And got the following error:

In file included from src/main.cpp:36:0:
/home/gclenden/Documents/libevtx/evtxtools/evtxtools_libcerror.h:45:23: fatal error: libcerror.h: No such file or directory

As far as I can tell there is no libcerror.h in the libevtx git repo (even after all dependencies are downloaded). Do you have any suggestions?

from libevtx.

joachimmetz avatar joachimmetz commented on July 19, 2024

I copied evtxtools/evtxtools.c into a file called src/main.cpp. I then ran the following command

My first question is why do you copied this code?

The reason that you get the error is that you're not passing the correct pre-compiler definitions. Also see:
https://github.com/libyal/libevtx/blob/master/evtxtools/evtxtools_libcerror.h

You compilation configuration expects libcerror to be a stand-alone library. Setting up the proper build environment and setting is handled by .configure and make.

from libevtx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.