libyal / libewf

Libewf is a library to access the Expert Witness Compression Format (EWF)
GNU Lesser General Public License v3.0
263 stars 76 forks source link

How could i use the libewf in my application in c programing (Ubuntu OS) #179

Closed ReninRoy closed 1 year ago

ReninRoy commented 1 year ago

I want to use the functions in this libewf.so library in my application and need to generate E01 encase file. Please tell me how to link this .so file with my application and step by step procedure for developing the application. Thanks in advance.

joachimmetz commented 1 year ago

Have a look at https://github.com/libyal/libewf/wiki/C-development and https://github.com/libyal/libewf/wiki/Building

joachimmetz commented 1 year ago

If that is not sufficient, you'll need to ask more specific questions, because I lack the necessary context what you're trying to accomplish and in which kind of development/build environment.

ReninRoy commented 1 year ago

I am trying to develop a C program for reading ,compressing hard disk data in E01 format and need to write it in a folder of another hard disk. So i am planing to use libewf library. Can you please tell me what all are the APIs need to use and how i can compile the c code in ubuntu os.

joachimmetz commented 1 year ago

The 2 links I sent you should get you started, assuming you know the basics of developing C for Ubuntu. Otherwise the ewftools to exactly that what you describe so have a look at that. As I said, unless you have very specific follow up questions, your questions are too generic for me to give you a specific answer.