PAlib does not compile

Post Reply
CordeliaG2
Posts: 2
Joined: Fri May 17, 2019 2:57 am

PAlib does not compile

Post by CordeliaG2 » Fri May 17, 2019 3:09 am

I'm trying to compile a hello world, the problem is that I do not compile this or any other file even if they are examples.
the console writes:

Code: Select all

main.c
In file included from C:/devkitPro/libnds/include/nds/arm9/videoGL.h:191,
                 from C:/devkitPro/libnds/include/nds/arm9/boxtest.h:37,
                 from C:/devkitPro/libnds/include/nds.h:75,
                 from c:\devkitpro\palib\include\nds\pa9.h:10,
                 from C:/source/main.c:2:
C:/devkitPro/libnds/include/nds/arm9/math.h:120:21: warning: conflicting types for built-in function 'sqrtf32' [-Wbuiltin-declaration-mismatch]
 static inline int32 sqrtf32(int32 a)
                     ^~~~~~~
In file included from C:/devkitPro/libnds/include/nds/arm9/boxtest.h:37,
                 from C:/devkitPro/libnds/include/nds.h:75,
                 from c:\devkitpro\palib\include\nds\pa9.h:10,
                 from C:/source/main.c:2:
C:/devkitPro/libnds/include/nds/arm9/videoGL.h: In function 'glGetFixed':
C:/devkitPro/libnds/include/nds/arm9/videoGL.h:1170:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(GFX_BUSY); // wait until the graphics engine has stopped to read matrixes
    ^~~~~
C:/devkitPro/libnds/include/nds/arm9/videoGL.h:1171:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     for(i = 0; i < 16; i++) f[i] = MATRIX_READ_CLIP[i]; // read out the projection matrix
     ^~~
C:/devkitPro/libnds/include/nds/arm9/videoGL.h:1178:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    while(GFX_BUSY); // wait until the graphics engine has stopped to read matrixes
    ^~~~~
C:/devkitPro/libnds/include/nds/arm9/videoGL.h:1179:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     for(i = 0; i < 16; i++) f[i] = MATRIX_READ_CLIP[i]; // read out the position matrix
     ^~~
In file included from c:\devkitpro\palib\include\nds\pa9.h:37,
                 from C:/source/main.c:2:
C:/source/main.c: At top level:
c:\devkitpro\palib\include\nds\arm9/PA_Sound.h:274:20: warning: inline function 'PA_PlayFSStreamSoundEx2' declared but never defined
 extern inline void PA_PlayFSStreamSoundEx2(u8 PA_Channel, u16 PAFS_wav_number, u8 volume, int freq, s16 format, BOOL repeat, int repeatPoint);
                    ^~~~~~~~~~~~~~~~~~~~~~~
arm-eabi-g++ -g -mthumb-interwork -mno-fpu -L/opt/devkitpro/PAlib/lib -specs=ds_arm9.specs main.o -LC:/devkitPro/PAlib//lib -lpa9 -L/opt/devkitpro/libnds/lib -lfat -lnds9 -ldswifi9 -o build.elf
make[1]: arm-eabi-g++: Command not found
make[1]: *** [/c/Makefile:194: /c/c.elf] Error 127
make: *** [Makefile:147: build] Error 2
at the end you can see that they mark the errors, I do not understand what they mean

WinterMute
Site Admin
Posts: 1989
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: PAlib does not compile

Post by WinterMute » Fri May 17, 2019 1:35 pm

Correct. PAlib is not supported and will not be supported.

See wiki/PAlib for the semi diplomatic explanation.

tl;dr; PAlib is a pile of utter garbage that doesn't work.
Help keep devkitPro toolchains free, Donate today

Personal Blog

CordeliaG2
Posts: 2
Joined: Fri May 17, 2019 2:57 am

Re: PAlib does not compile

Post by CordeliaG2 » Sat May 18, 2019 3:02 am

WinterMute wrote: Fri May 17, 2019 1:35 pm Correct. PAlib is not supported and will not be supported.

See wiki/PAlib for the semi diplomatic explanation.

tl;dr; PAlib is a pile of utter garbage that doesn't work.
I see. so what can I use to start programming for the nintendo ds?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests