View unanswered posts | View active topics It is currently Thu Jan 24, 2019 2:07 am



Reply to topic  [ 3 posts ] 
 [help]Homebrew-filter error compiling 
Author Message

Joined: Mon Jan 07, 2019 10:13 pm
Posts: 2
Hello, I installed some time ago devkitpro.
I would have liked to edit Homebrewfilter simply by adding background music.
First I downloaded sources:https://gitlab.com/Nanolx/homebrewfilter
I just wanted to compile for first test, I added the missing libs ones during my first two tests.
But I still have an error:
Quote:
> "make " dist_wii
===========================
== HBF Installer for Wii ==
===========================
make[1]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter'
make[2]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/main'
clean ...
make[2]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/main'
make[2]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/boot'
clean ...
make[2]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/boot'
make[2]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/installer'
clean ...
make[2]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/installer'
make[2]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/nand-loader'
clean ...
make[2]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/nand-loader'
make[2]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/forwarder'
clean ...
make[2]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/forwarder'
make[2]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/libruntimeiospatch'
clean ...
make[2]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/libruntimeiospatch'
make[1]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter'
make[1]: Entering directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/main'
main.cpp
C:/devkitPro/examples/wii/sources-prog/homebrewfilter/main/source/main.cpp: In function 'int main(int, char**)':
C:/devkitPro/examples/wii/sources-prog/homebrewfilter/main/source/main.cpp:229:2: error: 'SYS_SetResetCallback' was not declared in this scope
SYS_SetResetCallback(WiiResetPressed);
^~~~~~~~~~~~~~~~~~~~
C:/devkitPro/examples/wii/sources-prog/homebrewfilter/main/source/main.cpp:229:2: note: suggested alternative: 'SYS_SetPowerCallback'
SYS_SetResetCallback(WiiResetPressed);
^~~~~~~~~~~~~~~~~~~~
SYS_SetPowerCallback
make[2]: *** [/opt/devkitpro/devkitPPC/base_rules:13: main.o] Error 1
make[1]: *** [Makefile:122: build] Error 2
make[1]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter/main'
make : *** [Makefile:72: compile_hbf] Error 2

> Process Exit Code: 2
> Time Taken: 00:24


I am beginner I specify.
To compile I did:
make and parameters dist_wii

Can you help me? Have I missed something?
Thank you


Mon Jan 07, 2019 10:43 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1322
Location: UK
You've possibly broken something trying to fix it, that error shouldn't be possible.

I had a look at building it myself but it needs a bit more work yet. The HBF dol itself runs in Dolphin anyway I'll try hw tomorrow.

my changes are at https://github.com/WinterMute/homebrewfilter if it helps any.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Thu Jan 10, 2019 3:35 am
Profile ICQ WWW

Joined: Mon Jan 07, 2019 10:13 pm
Posts: 2
Hello WinterMute,

Thanks for your help.
I just made a donation, After an update of devkitPPC I still have the same problem.

I found my first problem, I used pacman then the command pacman -S wii-dev then all to reinstall, more error system, but I have this now:
Code:
c: / devkitpro / devkitppc / bin / ... / lib / gcc / powerpc-eabi / 8.2.0 /../../../../ powerpc-eabi / bin / ld.exe: can not find -lwupc
c: / devkitpro / devkitppc / bin /../lib/gcc/powerpc-eabi / 8.2.0 /../../../../ powerpc-eabi / bin / ld.exe: can not find -lbz2
collect2.exe: error: ld returned 1 exit status
make [2]: *** [/ opt / devkitpro / devkitPPC / wii_rules: 25: /opt/devkitpro/examples/wii/sources-prog/homebrewfilter-master/main/hbf.elf] Error 1
make [1]: *** [Makefile: 125: build] Error 2
make [1]: Leaving directory '/ opt / devkitpro / examples / wii / sources-prog / homebrewfilter-master / main'
make: *** [Makefile: 72: compile_hbf] Error 2

I found lwupc, I copied and paste include and lib in devkitpro / portlibs / ppc

Other compilation;)
linking ... hbf.elf
Code:
c: / devkitpro / devkitppc / bin /../lib/gcc/powerpc-eabi / 8.2.0 /../../../../ powerpc-eabi / bin / ld.exe: can not find -lbz2
collect2.exe: error: ld returned 1 exit status
make [2]: *** [/ opt / devkitpro / devkitPPC / wii_rules: 25: /opt/devkitpro/examples/wii/sources-prog/homebrewfilter-master/main/hbf.elf] Error 1
make [1]: *** [Makefile: 125: build] Error 2

There I can not find the lib lbz2, I block

To overcome my mistakes I updated all my libs ppc-

Code:
hbf.dol
linking ... hbf_boot.elf
output ... hbf_boot.dol
make[1]: Leaving directory '/opt/devkitpro/examples/wii/sources-prog/homebrewfilter-master/boot'
/bin/sh: wine: command not found
make : *** [Makefile:80: compile_installer] Error 127

> Process Exit Code: 2
> Time Taken: 07:24


On windows I do not have wine ....

Thank you for your help


Thu Jan 10, 2019 11:28 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads