AuroraWright / SafeA9LHInstaller

A noob-proof ARM9LoaderHax installer/updater/uninstaller for 3DS
GNU General Public License v3.0
144 stars 35 forks source link

Compiling SafeA9LHInstaller with latest ctrulib (commit 1cef3e5) #17

Closed PeggerWed closed 8 years ago

PeggerWed commented 8 years ago

Compiling SafeA9LHInstaller with latest ctrulib (commit 1cef3e5) gives following errors (screen init and no screen init): (Compiling with previous commit of ctrulib works fine)

khaxinit.cpp
arm-none-eabi-g++ -MMD -MP -MF /d/ABuildARM9/SafeA9LHInstaller/CakeBrah/build/khaxinit.d -g -Wall -Wextra -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/d/ABuildARM9/SafeA9
LHInstaller/CakeBrah/include -I/c/devkitPro/libctru/include -I/d/ABuildARM9/SafeA9LHInstaller/CakeBrah/build -DARM11 -D_3DS -DARM_ARCH -DLAUNCHER_PATH='"SafeA9LHInstaller.dat"' -fno-rtti -fno-exceptions -std=gnu++11 -c /d/ABuildA
RM9/SafeA9LHInstaller/CakeBrah/source/libkhax/khaxinit.cpp -o khaxinit.o
d:/ABuildARM9/SafeA9LHInstaller/CakeBrah/source/libkhax/khaxinit.cpp: In function 'Result KHAX::IsNew3DS(bool*, u32)':
d:/ABuildARM9/SafeA9LHInstaller/CakeBrah/source/libkhax/khaxinit.cpp:985:47: error: cannot convert 'u8* {aka unsigned char*}' to 'bool*' for argument '1' to 'Result APT_CheckNew3DS(bool*)'
   if (Result error = APT_CheckNew3DS(&isNew3DS))
                                               ^
make[2]: *** [khaxinit.o] Error 1
make[1]: *** [build] Error 2
make: *** [out/3ds/SafeA9LHInstaller] Error 2
laerciomotta commented 8 years ago

But last version is 2016-01-06.. Here works fine...

PeggerWed commented 8 years ago

CTRULIB was last updated 5 days ago!

https://github.com/smealum/ctrulib

laerciomotta commented 8 years ago

Ok, but last release is a 1.1.0... of the day 2016-01-06.. Github not is a final version..

fox8091 commented 8 years ago

This is known. There's a fix pushed to libkhax already. Aurora just needs to update the submodule. :)