Encrypting and compressing using p7zip

554 Views Asked by At

I am trying to replace the usage of 7zip in my QT Xcode project. Currently the files are archived using a password and my project on Windows uses 7z when accessing automatically opens the file. I have found p7zip to be the port of 7zip for linux/mac The objectives are:

  1. Open existing 7zip archived files with password
  2. Save stream with password as a single file.

I built with the following commands

$cd path/to/p7zip
$cp makefile.macosx_64bits makefile.machine
$make 7z

It built without any errors but I am not able to find *.a or *.dylib files. Instead I find the following in the bin folder

  1. 7z
  2. 7z.so
  3. Codecs

Codecs has Rar.so

That is a linux lib file isn't it?

I am very new to the Mac dev, so any help or suggestion would be helpful. I am not able to find an example program too.

0

There are 0 best solutions below