sgan81 / apfs-fuse

FUSE driver for APFS (Apple File System)
GNU General Public License v2.0
1.79k stars 164 forks source link

Error in compiling the apfs-fuse driver on macOS #187

Open giuseppetotaro opened 1 year ago

giuseppetotaro commented 1 year ago

Hi folks,

I've searching around if anyone has tried to compile the apfs-fuse driver on macOS. I know that the driver is for linux but I assume it might be compiled on macOS as well. I've tried to compile apfs-fuse on my MacBook running macOS Ventura 13.5, but unfortunately I always get the following error when running make:

[ 86%] Building CXX object CMakeFiles/apfs-dump.dir/ApfsDump/Apfs.cpp.o
[ 88%] Linking CXX executable apfs-dump
[ 88%] Built target apfs-dump
[ 90%] Building CXX object CMakeFiles/apfs-dump-quick.dir/ApfsDumpQuick/ApfsDumpQuick.cpp.o
[ 92%] Linking CXX executable apfs-dump-quick
[ 92%] Built target apfs-dump-quick
[ 94%] Building CXX object CMakeFiles/apfs-fuse.dir/apfsfuse/ApfsFuse.cpp.o
/Users/gostep/bin/apfs-fuse/apfsfuse/ApfsFuse.cpp:37:10: fatal error: 'fuse/fuse.h' file not found
#include <fuse/fuse.h>
         ^~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/apfs-fuse.dir/apfsfuse/ApfsFuse.cpp.o] Error 1
make[1]: *** [CMakeFiles/apfs-fuse.dir/all] Error 2
make: *** [all] Error 2

Actually, my system is enabled with macfuse and fuse.h is available at /usr/local/include.

Do you have any experience with this? Have you ever tried to compile apfs-fuse on macOS?

Thanks in advance for your support.

Sincerely, Giuseppe

NeffIsBack commented 12 months ago

For me issue 87 solved the problem: https://github.com/sgan81/apfs-fuse/issues/87