Homebrew Building Home Brew Launcher

panther666

Well-Known Member
OP
Member
Joined
Nov 29, 2015
Messages
148
Trophies
0
XP
522
Country
Russia
I have an erro when i try to build from dimok's master branch.
I have complete devkitPPC and additionally libraries (include the portlibs packages in my devkitPro path).
But every time i try to compile hbl with 'make' - returns with next message:

d:/1/homebrew_launcher-2.1/src/system/CThread.h: In constructor 'CThread::CThread(int, int, int, CThread::Callback, void*)':
d:/1/homebrew_launcher-2.1/src/system/CThread.h:45:37: error: invalid conversion from 'int (*)(int, void*)' to 's32 (*)(s32, void*) {aka long int (*)(long int, void*)}' [-fpermissive]
OSCreateThread(pThread, &CThread::threadCallback, 1, this, (u32)pThreadStack+iStackSize, iStackSize, iPriority, iAttributes);
^~~~~~~~
In file included from d:/1/homebrew_launcher-2.1/src/Application.cpp:21:0:
d:/1/homebrew_launcher-2.1/src/gui/VPadController.h: In member function 'virtual bool VPadController::update(int, int)':
d:/1/homebrew_launcher-2.1/src/gui/VPadController.h:41:31: error: invalid conversion from 'int*' to 's32* {aka long int*}' [-fpermissive]
VPADRead(0, &vpad, 1, &vpadError);
^~~~~~~~~~
make[1]: *** [Application.o] Error 1
make: *** [build] Error 2

Can somebody explain what it means?
 

nIxx

Well-Known Member
Member
Joined
Sep 30, 2007
Messages
1,544
Trophies
0
Location
Germany
Website
Visit site
XP
337
Country
Gambia, The
IT tells you what it means 'invalid conversion' try to change type of the variable/pointer for example. I didn't look into the code at all ;) and most likely devkitppc or so was update so some things changed.
 

panther666

Well-Known Member
OP
Member
Joined
Nov 29, 2015
Messages
148
Trophies
0
XP
522
Country
Russia
IT tells you what it means 'invalid conversion' try to change type of the variable/pointer for example. I didn't look into the code at all ;) and most likely devkitppc or so was update so some things changed.

Where i can change type of the variable/pointer? And what params should i make?

PS Sorry, i'm not coder, i dont understand a lot, i only want to compile hbl with other colors... :)

--------------------- MERGED ---------------------------

@dimok can you give some advice?
 
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,913
Country
Australia
The latest devkitPPC is a shocker - lots of files have been copy-pasted from gcc with no changes for the GC/Wii/Wii U at all. What this means is that an s32, which once resolved into a 32-bit integer, now points to something else entirely.
Your best bet is to use an older devkitPPC. There is a way to fix the issue by changing one of the headers, but I don't remember which (gctypes.h?)
 

panther666

Well-Known Member
OP
Member
Joined
Nov 29, 2015
Messages
148
Trophies
0
XP
522
Country
Russia
The latest devkitPPC is a shocker - lots of files have been copy-pasted from gcc with no changes for the GC/Wii/Wii U at all. What this means is that an s32, which once resolved into a 32-bit integer, now points to something else entirely.
Your best bet is to use an older devkitPPC. There is a way to fix the issue by changing one of the headers, but I don't remember which (gctypes.h?)

What version of devkitPPC you recommend?
devkitPro-1.5.3
devkitPro-1.5.4
And where i can find old libs with it in one archive? If i download from official site, i revieve latest versions.
 
Last edited by panther666,
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,913
Country
Australia
What version of devkitPPC you recommend?
devkitPro-1.5.3
devkitPro-1.5.4
And where i can find old libs with it in one archive? If i download from official site, i revieve latest versions.
My (old) copy identifies itself as "devkitPPC release 27," can't really help you out much more than that.
@FIX94, do you remember what header needed changing to fix the whole s32 != int thing?
 

panther666

Well-Known Member
OP
Member
Joined
Nov 29, 2015
Messages
148
Trophies
0
XP
522
Country
Russia
D

Deleted User

Guest
For whatever reason devkitppc r28 changed that which practically breaks everything you can compile right now.
https://mega.nz/#!Ih5BAYJR!8IitApECKcn9TSKvBb8qTjQ8Qjl6XvLXzzg5h6NcxHk
overwrite the stdint.h file in devkitpro/devkitppc/powerpc-eabi/include with this and it'll work just fine.
I tried and got an error:
767210b4452140d08227bd59674646d0.png


I think it must be a missing glm.hpp file, but where do I put it?
 
D

Deleted User

Guest
For some weird reason, I get "-5" or "FSGetMountSource failed" error on top left corner of the screen when booting up Homebrew, even I compiled it as complete original one. I compared between release version and compiled version of .elf files with MD5/SHA1 and they're different but same file size...
Sorry, I was using an older version of portlibs, but I got v0.2 latest one now xP

Now I'm getting new error
78a3c0cf43e84f8eb3ca2a20f70ae55a.png
 
Last edited by ,

KyoIsHacking

Well-Known Member
Member
Joined
Jun 17, 2018
Messages
123
Trophies
0
Age
22
XP
482
Country
Austria
I've been trying to build the homebrew launcher for hours now and I can't get it to work. It keeps giving me errors like "bin2s: command not found." and "undefined reference to 'bgMusic_ogg'" etc. I made sure to properly install all the dependencies and their dependencies. I also tried using older portlibs from hblauncher releases and the one that was referenced in this thread but it didn't change anything.
Screenshots of the output:
upload_2019-4-7_13-32-50.png

"Kommando nicht gefunden" means "command not found"
upload_2019-4-7_13-33-49.png

"fehler" is "error" so it exits with an error 2.
 
Last edited by KyoIsHacking,

GaryOderNichts

Well-Known Member
Member
Joined
Aug 9, 2018
Messages
792
Trophies
1
XP
5,506
Country
Germany
I've been trying to build the homebrew launcher for hours now and I can't get it to work. It keeps giving me errors like "bin2s: command not found." and "undefined reference to 'bgMusic_ogg'" etc. I made sure to properly install all the dependencies and their dependencies. I also tried using older portlibs from hblauncher releases and the one that was referenced in this thread but it didn't change anything.
Screenshots of the output:
View attachment 163041
"Kommando nicht gefunden" means "command not found"
View attachment 163042
"fehler" is "error" so it exits with an error 2.
You need to have bin2s installed which is part of devkitPro's general tools.
Install them with:

Code:
(dkp-)pacman -S general-tools
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Materia_tofu @ Materia_tofu:
    im not a very bright individual, but we live and we learn
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
    The Real Jdbye @ The Real Jdbye: you can report it and request deletion