XorTroll / Goldleaf

🍂 Multipurpose homebrew tool for Nintendo Switch
GNU General Public License v3.0
2.65k stars 349 forks source link

Error while building #612

Closed ghost closed 3 years ago

ghost commented 3 years ago

Error while building

Bug description

It errors when I try to build (as you see I have no idea what to put here)

Your setup

Bug reproduction

  1. Clone Goldleaf Repo.
  2. (also get dependencies)
  3. Run make all.
  4. Get error.

Additional information

Log ```c make[1]: Entering directory '/home/me/Goldleaf/Plutonium' make[2]: Entering directory '/home/me/Goldleaf/Plutonium/Plutonium' make[3]: '/home/me/Goldleaf/Plutonium/Plutonium/Output/lib/libpu.a' is up to date. make[2]: Leaving directory '/home/me/Goldleaf/Plutonium/Plutonium' make[1]: Leaving directory '/home/me/Goldleaf/Plutonium' make[1]: Entering directory '/home/me/Goldleaf/libusbhsfs' release usbhsfs_drive.c In file included from /home/me/Goldleaf/libusbhsfs/source/usbhsfs_drive.h:20, from /home/me/Goldleaf/libusbhsfs/source/usbhsfs_request.h:15, from /home/me/Goldleaf/libusbhsfs/source/usbhsfs_drive.c:11: /home/me/Goldleaf/libusbhsfs/source/ntfs-3g/ntfs.h:17:10: fatal error: ntfs-3g/config.h: No such file or directory 17 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [/opt/devkitpro/devkitA64/base_rules:19: usbhsfs_drive.o] Error 1 make[1]: *** [Makefile:142: lib/libusbhsfs.a] Error 2 make[1]: Leaving directory '/home/me/Goldleaf/libusbhsfs' make: *** [Makefile:6: all] Error 2 ```
Masamune3210 commented 3 years ago

you are missing part of ntfs3g or missed a step, it's looking for a file that you are missing. make sure you pulled in all files correctly

ghost commented 3 years ago

i cloned correctly, this is also happening in gh actions

lookye commented 3 years ago

As the error shows, you´re missing ntfs-3g in devkitpro, Read up on here how to set up/compile libusbhsfs to be ready for Goldleaf.