Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctrulib commit 1cef3e5d breaks arm9loaderhax #33

Open
3xkrazy opened this issue Jun 18, 2016 · 1 comment
Open

ctrulib commit 1cef3e5d breaks arm9loaderhax #33

3xkrazy opened this issue Jun 18, 2016 · 1 comment

Comments

@3xkrazy
Copy link
Contributor

3xkrazy commented Jun 18, 2016

Just wanted to report an issue with the latest arm9loaderhax commit ae297e8. It breaks when building with the ctrulib commit in the title above.

make[2]: Entering directory '/home/hle/src/arm9loaderhax/payload_installer/brahma2' arm9.s arm11.s utils.s starter.bin khaxinit.cpp arm-none-eabi-g++ -MMD -MP -MF /home/hle/src/arm9loaderhax/payload_installer/brahma2/build/khaxinit.d -g -Wall -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/home/hle/src/arm9loaderhax/payload_installer/brahma2/include -I/home/hle/.bin/devkitPro/libctru/include -I/home/hle/src/arm9loaderhax/payload_installer/brahma2/build -DARM11 -D_3DS -DARM_ARCH -w -fno-rtti -fno-exceptions -std=gnu++11 -w -c /home/hle/src/arm9loaderhax/payload_installer/brahma2/source/libkhax/khaxinit.cpp -o khaxinit.o /home/hle/src/arm9loaderhax/payload_installer/brahma2/source/libkhax/khaxinit.cpp: In function 'Result KHAX::IsNew3DS(bool*, u32)': /home/hle/src/arm9loaderhax/payload_installer/brahma2/source/libkhax/khaxinit.cpp:983:47: error: cannot convert 'u8* {aka unsigned char*}' to 'bool*' for argument '1' to 'Result APT_CheckNew3DS(bool*)' if (Result error = APT_CheckNew3DS(&isNew3DS)) ^ /home/hle/.bin/devkitPro/devkitARM/base_rules:79: recipe for target 'khaxinit.o' failed make[3]: *** [khaxinit.o] Error 1 Makefile:127: recipe for target 'build' failed make[2]: *** [build] Error 2 make[2]: Leaving directory '/home/hle/src/arm9loaderhax/payload_installer/brahma2' Makefile:18: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/hle/src/arm9loaderhax/payload_installer' Makefile:54: recipe for target 'installer' failed make: *** [installer] Error 2

@sykhro
Copy link

sykhro commented Jun 19, 2016

Due to the recent refactor of APT, the code in libkhax has to be changed accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants