Hacking errors when compiling hombrew launcher 1.4

  • Thread starter Thread starter tunip3
  • Start date Start date
  • Views Views 1,471
  • Replies Replies 7

tunip3

[debugger active]
Banned
Joined
Oct 31, 2016
Messages
1,675
Reaction score
533
Trophies
0
XP
1,662
Country
United Kingdom
when attempting to compile the homebrew launcher v 1.4 i get this
main.cpp
In file included from /home/tunip3/Desktop/homebrew_launcher-master/src/system/AsyncDeleter.h:21:0,
from /home/tunip3/Desktop/homebrew_launcher-master/src/gui/GuiElement.h:37,
from /home/tunip3/Desktop/homebrew_launcher-master/src/gui/Gui.h:20,
from /home/tunip3/Desktop/homebrew_launcher-master/src/menu/MainWindow.h:22,
from /home/tunip3/Desktop/homebrew_launcher-master/src/Application.h:20,
from /home/tunip3/Desktop/homebrew_launcher-master/src/main.cpp:2:
/home/tunip3/Desktop/homebrew_launcher-master/src/system/CThread.h: In constructor 'CThread::CThread(int, int, int, CThread::Callback, void*)':
/home/tunip3/Desktop/homebrew_launcher-master/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);
^~~~~~~~
/home/tunip3/Desktop/homebrew_launcher-master/Makefile:179: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
Makefile:141: recipe for target 'build' failed
make: *** [build] Error 2


here is a screen shot
upload_2017-2-27_16-48-49.png
 
when attempting to compile the homebrew launcher v 1.4 i get this
main.cpp
In file included from /home/tunip3/Desktop/homebrew_launcher-master/src/system/AsyncDeleter.h:21:0,
from /home/tunip3/Desktop/homebrew_launcher-master/src/gui/GuiElement.h:37,
from /home/tunip3/Desktop/homebrew_launcher-master/src/gui/Gui.h:20,
from /home/tunip3/Desktop/homebrew_launcher-master/src/menu/MainWindow.h:22,
from /home/tunip3/Desktop/homebrew_launcher-master/src/Application.h:20,
from /home/tunip3/Desktop/homebrew_launcher-master/src/main.cpp:2:
/home/tunip3/Desktop/homebrew_launcher-master/src/system/CThread.h: In constructor 'CThread::CThread(int, int, int, CThread::Callback, void*)':
/home/tunip3/Desktop/homebrew_launcher-master/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);
^~~~~~~~
/home/tunip3/Desktop/homebrew_launcher-master/Makefile:179: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
Makefile:141: recipe for target 'build' failed
make: *** [build] Error 2


here is a screen shot
View attachment 79763
Download and use devkitPPC r27 (you are likely using r28 or r29 - the latest version)
The devs made a really weird choice to change how an "int" is defined, which pretty much breaks more complex software.
 
Download and use devkitPPC r27 (you are likely using r28 or r29 - the latest version)
The devs made a really weird choice to change how an "int" is defined, which pretty much breaks more complex software.
how would i change to those versions and would this break the ability to compile 3ds homebrew
 
how would i change to those versions and would this break the ability to compile 3ds homebrew
Download devkitPPC r27.
Go to the folder you installed devkitPPC to (probably C:\devkitpro if you're on Windows) and rename the "devkitPPC" folder to "devkitPPC-new" or something like that.
Open the ZIP file you downloaded earlier, and put the files within it into a new folder called "devkitPPC" in your devkitpro folder.
 
Download devkitPPC r27.
Go to the folder you installed devkitPPC to (probably C:\devkitpro if you're on Windows) and rename the "devkitPPC" folder to "devkitPPC-new" or something like that.
Open the ZIP file you downloaded earlier, and put the files within it into a new folder called "devkitPPC" in your devkitpro folder.
i am on linux
 
Download devkitPPC r27.
Go to the folder you installed devkitPPC to (probably C:\devkitpro if you're on Windows) and rename the "devkitPPC" folder to "devkitPPC-new" or something like that.
Open the ZIP file you downloaded earlier, and put the files within it into a new folder called "devkitPPC" in your devkitpro folder.
i am on linux or to be more specific ubuntu
 
i am on linux or to be more specific ubuntu
In that case, your download link is the following - 32-bit or 64-bit.
The principle is the same, you need to delete or rename the devkitPPC folder you create earlier, create a new devkitPPC folder and copy the contents of one of those archives to it.
 
In that case, your download link is the following - 32-bit or 64-bit.
The principle is the same, you need to delete or rename the devkitPPC folder you create earlier, create a new devkitPPC folder and copy the contents of one of those archives to it.
i am still getting the same error it would be really nice if @dimok could fix this
 

Site & Scene News

Popular threads in this forum