yellows8 / hblauncher_loader

3DS NCCH application for booting the *hax payloads.
244 stars 27 forks source link

No longer compiles on latest libctru/devkitarm #6

Closed ApacheThunder closed 8 years ago

ApacheThunder commented 8 years ago

This appears to be an issue with how this gets along with my current build environment. Currently using Windows 7. CakesFW/ReiNand/rxTools all compile correctly for me. I was able to compile this awhile back. but something changed and it no longer compiles. Build log attached as a file.

buildlog.txt

Appears to be an issue with libctru. But I recall updating to libctru 1.1.0 specifically because this wouldn't compile on the older one I had. Odd that it's suddenly not working again. I'm using libctru 1.1.0 and devkitarm/devkitpro release 45.

Last time I compiled this was late last year I believe.

yellows8 commented 8 years ago

........ Build with latest git not the v1.0 tag.

ApacheThunder commented 8 years ago

Hmm thought I was using latest. Synced with Github Desktop app (That program is god awful though. Doesn't even sync changes to submodules correctly. :( )

I'll delete and reclone this and see if that helps

ApacheThunder commented 8 years ago

I give up, Downloaded and compiled libctru instead of using 1.1.0 release build. Redownloaded hblauncher...Same error. :(

profi200 commented 8 years ago

With just git installed in a terminal "git pull" ;) You can't get simpler and faster than that. The commandline git may be confusing at first but you get used to it.

ApacheThunder commented 8 years ago

What path do I provide to GIT? I used the download zip from website instead and it compiles now. However now makerom crashes which I think may still occur even if I use git pull correctly...

EDIT: I try to pass the URL path to it like I did with "get clone" which was a command I used awhile back to correctly download CakeHax/CakeBrah for compiling something that used it. However I try the same using this:

"git pull https://github.com/yellows8/hblauncher_loader"

And it just says this:

fatal: Not a git repository (or any of the parent directories): .git

The command line doesn't really confuse me that much. I'm used to it. The problem is knowing the path it's expecting. :(

ApacheThunder commented 8 years ago

It's not working. I've looked up the command and I appear to be using it correctly. I give it this:

"git pull https://github.com/yellows8/hblauncher_loader.git"

Same error "Not a git repository". Perhaps the syntax isn't right but I'm not seeing the mistake....

It does download something if I use git clone. Perhaps pull switch behaves differently in Windows?

EDIT: It compiles correctly as far as I can tell. But makerom crashes:

http://imgur.com/EGfR3Ul

:(

I've manually passed the commands to build the CIA myself, but same problem. It just crashes. :(

profi200 commented 8 years ago

Normally it works like this (at least here):

  1. Right click in the dir you want to download the repo to (if you have the repo already do this in the dir of the repo).
  2. Click open git bash here.
  3. If you don't already have the repo type git clone , otherwise git pull to get the latest changes.

git must be installed for this of course.

Hartie95 commented 8 years ago

You cant use git inside of zip downloaded repositorys, to use git pull you need to clone the repository using git clone. If you use the recursive flag, you will autodownload all submodules.

ApacheThunder commented 8 years ago

Ok thanks. I git clone (with recursive too even though this one doesn't have submodules), moved command line into the directory it created, then git pull and it worked then.

But makerom still crashes when it attempts to build the CIA. :(

yellows8 commented 8 years ago

You're using an outdated makerom build then.

ApacheThunder commented 8 years ago

Where can I find the latest? As far as I can tell makerom was updated to the current build when I updated devkitarm/devkitpro to release 45. So I don't see where it's outdated. The original github (at least the one I found) appears to be older then the one I have....

ApacheThunder commented 8 years ago

Ok found the correct github for make rom. (https://github.com/profi200/Project_CTR/releases)

It builds the CIA without crashing now. Thanks for putting up with my noobery when it came to compiling this. :P