ntrteam / ntrboot_flasher

🔓 Flash ntrboot to supported flashcarts using your 3DS.
https://3ds.hacks.guide/ntrboot.html
GNU General Public License v3.0
234 stars 33 forks source link

Compiling error. #87

Closed SapphireMH closed 6 years ago

SapphireMH commented 6 years ago

After following the compiling instructions i run into the following error:

$ make make[1]: Entering directory /c/Users/mike3/Desktop/GitHub/ntrboot_flasher/libncgc' Makefile:26: *** missing separator. Stop. make[1]: Leaving directory/c/Users/mike3/Desktop/GitHub/ntrboot_flasher/libncgc' make: *** [/c/Users/mike3/Desktop/GitHub/ntrboot_flasher/libncgc/lib/libncgc.a] Error 2

Am i doing something wrong or is this a legit issue i've run into?

kitlith commented 6 years ago

hm. Try pulling submodules (git submodule update --init). I don't think that's the issue, but it's a possibility.

@angelsl since this is complaining about libncgc.

This is probably just a case where ntrboot_flasher needs to be updated and have a new release, though.

SapphireMH commented 6 years ago

Sadly pulling the submodules did not work. Still getting the same error as before. (All commands were run from within the ntrboot_flasher folder.)

$ git submodule update --init

$ make make[1]: Entering directory /c/Users/mike3/Desktop/Github/ntrboot_flasher/libncgc' Makefile:26: *** missing separator. Stop. make[1]: Leaving directory/c/Users/mike3/Desktop/Github/ntrboot_flasher/libncgc' make: *** [/c/Users/mike3/Desktop/Github/ntrboot_flasher/libncgc/lib/libncgc.a] Error 2

angelsl commented 6 years ago

@thisismike97

Go to the libncgc folder and update it to the latest master, or remove the undefine COMNFLAGS line on line 26.

Alternatively, upgrade to a recent version of GNU Make.

SapphireMH commented 6 years ago

Go to the libncgc folder and update it to the latest master, or remove the undefine COMNFLAGS line on line 26.

Both of the above worked, thank you for you fast reply.

Alternatively, upgrade to a recent version of GNU Make.

Im using Make version 3.81 via msys included in the devkitpro. I dont really know how i should go about upgrading this since I installed the latest version of devkitpro yesterday.

In any case, my issue is now resolved. Thanks.

angelsl commented 6 years ago

Make 3.81 now supported in 1e7e8efae07749878d76f90490290163b11ad5e6.