GameYob icon indicating copy to clipboard operation
GameYob copied to clipboard

Cannot compile the source coed!

Open wzhy90 opened this issue 10 years ago • 0 comments

Using with these SDK:

default_arm7-0.5.27
devkitARM_r44-x86_64-linux
dswifi-0.3.17
libctru-0.5.0
libfat-nds-1.0.14
libfilesystem-0.9.12
libmirko-0.9.7
libnds-1.5.10
maxmod-nds-1.0.9
arm-none-eabi-g++ -MMD -MP -MF /home/wzhy90/GameYob/platform/ds/arm9/build/gameboy.d -Wall -Wno-psabi -DNO_VIZ -fpermissive -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -O3  -g -DVERSION_STRING=\"`git describe --always --abbrev=4`\" -DC_IO_FUNCTIONS -DNIFI -include "nds/ndstypes.h" -I/home/wzhy90/GameYob/platform/ds/arm9/include -I/home/wzhy90/GameYob/platform/ds/arm9/../include -I/home/wzhy90/GameYob/platform/ds/arm9/../../common/include -I/home/wzhy90/GameYob/platform/ds/arm9/include -I..//include -I/opt/devkitpro/libnds/include -I/home/wzhy90/GameYob/platform/ds/arm9/build -DARM9 -DDS -fno-rtti -fno-exceptions -c /home/wzhy90/GameYob/platform/ds/arm9/../../common/gameboy.cpp -o gameboy.o 
In file included from /opt/devkitpro/libnds/include/nds.h:240:0,
                 from /home/wzhy90/GameYob/platform/ds/arm9/../../common/include/gbgfx.h:4,
                 from /home/wzhy90/GameYob/platform/ds/arm9/../../common/include/gameboy.h:5,
                 from /home/wzhy90/GameYob/platform/ds/arm9/../../common/gameboy.cpp:15:
/opt/devkitpro/libnds/include/nds/system.h:115:13: error: conflicting declaration of 'bool __dsimode' with 'C' linkage
 extern bool __dsimode;
             ^
In file included from /home/wzhy90/GameYob/platform/ds/arm9/../../common/gameboy.cpp:3:0:
/home/wzhy90/GameYob/platform/ds/arm9/../include/common.h:54:13: note: previous declaration with 'C++' linkage
 extern bool __dsimode;
             ^
make[2]: *** [gameboy.o] error 1
rm printerIcon.s
make[1]: *** [build] error 2
make[1]:Leaving `/home/wzhy90/GameYob/platform/ds/arm9'
make: *** [arm9/gameyob.elf] error 2

wzhy90 avatar Aug 31 '15 08:08 wzhy90