Homebrew Can't manage to compile

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
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,042
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,374
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,042
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,374
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,042
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: 77
  • Like
Reactions: Mrrraou

Mrrraou

Well-Known Member
OP
Member
Joined
Oct 17, 2015
Messages
1,873
Trophies
0
XP
2,374
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,042
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,374
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:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Batman joined the Trans Justice League
    +2
  • Sicklyboy @ Sicklyboy:
    based af
    +2
  • Sonic Angel Knight @ Sonic Angel Knight:
    Forget the base, get on the roof.
  • K3Nv2 @ K3Nv2:
    Is that a bat in your buckle or are you just happy to have me
  • Psionic Roshambo @ Psionic Roshambo:
    Wonder "Woman" lol you wonder if they are a woman?
  • Psionic Roshambo @ Psionic Roshambo:
    The Riddler has questions...
  • K3Nv2 @ K3Nv2:
    Played a little of snow day glad I didn't spend $30
  • K3Nv2 @ K3Nv2:
    It's asthetic is okay maybe a good $10 grab
  • Psionic Roshambo @ Psionic Roshambo:
    Lol is it a game about doing cocaine?
  • K3Nv2 @ K3Nv2:
    Probably in pvp
  • Psionic Roshambo @ Psionic Roshambo:
    I tried Balders Gate II on the PS2 a few minutes ago, not bad lol
  • Psionic Roshambo @ Psionic Roshambo:
    My back catalog of games is like that scene at the end of Indiana Jones where the arc of the covenant is being stored in a giant ass warehouse
  • K3Nv2 @ K3Nv2:
    At least I can will my game catalog to family members
    +1
  • K3Nv2 @ K3Nv2:
    It's your problem now bitches
  • Psionic Roshambo @ Psionic Roshambo:
    Put it in your will that in order to receive any money they have to beat certain games, hard games and super shitty games...
  • Psionic Roshambo @ Psionic Roshambo:
    Say 20 bucks per Ninja Gaiden on the NES lol 60 bucks for all 3
  • Psionic Roshambo @ Psionic Roshambo:
    People you like "Beat level 1 of Ms Pacman" lol
  • K3Nv2 @ K3Nv2:
    Hello kitty ds is required
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Beat Celebrity Death Match on the PS1 omg tried it earlier today .... Absolutely trash
  • Psionic Roshambo @ Psionic Roshambo:
    Like -37 out of 10
  • Psionic Roshambo @ Psionic Roshambo:
    One of the worst games I have ever played
  • K3Nv2 @ K3Nv2:
    Make them rank up every cod game out
  • K3Nv2 @ K3Nv2:
    "Now I know why he took his own life"
    K3Nv2 @ K3Nv2: "Now I know why he took his own life"