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: 78
  • 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
    Xdqwerty @ Xdqwerty: