maharmstone / ntfs2btrfs

GNU General Public License v2.0
707 stars 33 forks source link

Error when compiling. #28

Closed alexandermeek closed 3 years ago

alexandermeek commented 3 years ago

I'm on linux trying to build from source. Followed the instructions on the readme, including installing the libfmt package. When running the make command I got the following error:

ntfs2btrfs/src/compress.cpp:25:10: fatal error: lzo/lzo1x.h: No such file or directory

include <lzo/lzo1x.h>

Am I missing a package? I have the liblzo2-2 package.

Any help would be appreciated.

maharmstone commented 3 years ago

Possibly. It doesn't ship a cmake file unfortunately, so there's no easy way to check you're missing it. The exact version I'm using is lzo 2.10.2 on Gentoo, if that helps.

alexandermeek commented 3 years ago

Got it to work, had to install the dev version since I only had liblzo 2.10.1. Also needed libzstd-dev.