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?
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?