Homebrew Can't manage to compile

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
Hello there,
I tried to compile sysupdater, but without success.
First, it gave me an error about zlib, so I added the zlib files.
Next, it gave me an error about unknown variables (these were FS functions), so I added #include <ctr/FS.h> to headers.
But I'm stuck here with this error: http://pastebin.com/GWRukS7D
Can someone please help me ? I want to make some modifications, so I don't want the compiled release.

EDIT: Just saw that I failed with the title.. Seems like I can't edit that. Sorry about that.
 
Last edited by Mrrraou,
  • Like
Reactions: JustPingo

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,032
Country
United States
Try taking the ctr/ part out of the include, I think you're including the wrong header, and the one you need is inside the include folder, though it should already be included
 
  • Like
Reactions: Mrrraou

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
Try taking the ctr/ part out of the include, I think you're including the wrong header, and the one you need is inside the include folder, though it should already be included
That what I was thinking, but the fs.h from the include folder is already included, I really don't know what am I doing wrong.
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,032
Country
United States
I think profi200 is in the process of updating some stuff which broke compilation for the time being, you could probably do a git revert of it and get the version that compiles OR you could just go to the releases section and grab the precompiled version :)
 
  • Like
Reactions: Mrrraou

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
I think profi200 is in the process of updating some stuff which broke compilation for the time being, you could probably do a git revert of it and get the version that compiles OR you could just go to the releases section and grab the precompiled version :)
I tried with an older version; I tried to compile the 0.4.1 release source code (which doesn't have the 2 last commits).
I still have the same error, and I haven't edited anything.
I don't want the compiled version; if it had a .elf file, I would take it; but it does only have a .cia and a .3dsx.
 

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,032
Country
United States
just managed to build the 0.4.1 with one mod to the source I changed nothing except the hidInit(NULL); line to hidInit(); in main.cpp because with the latest libctru it errors (this may or may not work I'm not sure)
 

Attachments

  • sysUpdater.elf.zip
    493.5 KB · Views: 68
  • Like
Reactions: Mrrraou

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
just managed to build the 0.4.1 with one mod to the source I changed nothing except the hidInit(NULL); line to hidInit(); in main.cpp because with the latest libctru it errors (this may or may not work I'm not sure)
OMG, thanks a lot ! How did you managed to do that ? Could you explain me please ?
Did you have the not declared issue ?
 
Last edited by Mrrraou,

dark_samus3

Well-Known Member
Member
Joined
May 30, 2015
Messages
2,372
Trophies
0
XP
2,032
Country
United States
nope didn't have that issue, I just did make and did the one line change I noted above, you may need libctru if you do git clone this https://github.com/smealum/ctrulib and do a make then do make install then everything should compile (as long as you have devkitpro installed ofc) I AM running this on a linux machine (much easier to set up) but that shouldn't make a difference
 
Last edited by dark_samus3,
  • Like
Reactions: Mrrraou

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,364
Country
France
nope didn't have that issue, I just did make and did the one line change I noted above, you may need libctru if you do git clone this https://github.com/smealum/ctrulib and do a make then do make install then everything should compile (as long as you have devkitpro installed ofc) I AM running this on a linux machine (much easier to set up) but that shouldn't make a difference
It worked, thanks a lot ! :lol:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys