#126390 - ZeXr0 - Sun Apr 22, 2007 7:55 pm
I tried to setup the palib environment with devkitpro and vc++ express, but when I compile I get this error.
1>------ D?but de la g?n?ration : Projet : PADemo2, Configuration : Release Win32 ------
1>Actions de projet Makefile en cours
1>logo.bmp
1>logo_wifi.bmp
1>main.cpp
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h: In function 'void PA_PlayFSSoundEx2(u8, u16, u8, int, s16, BOOL, int)':
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h(212): error: invalid conversion from 'void*' to 'u32*'
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h: In function 'void PA_PlayFSMod(u16)':
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h(430): error: invalid conversion from 'void*' to 'u32*'
1>make[1]: *** [main.o] Error 1
1>make: *** [build] Error 2
1>Le journal de g?n?ration a ?t? enregistr? ? l'emplacement "file://c:\DsDev\PADemo2\PADemo2\Release\BuildLog.htm"
1>PADemo2 - 2 erreur(s), 0 avertissement(s)
========== G?n?ration : 0 a r?ussi, 1 a ?chou?, 0 mis ? jour, 0 a ?t? ignor? ==========
Anyone knows how to solve this ?
EDIT :
Just go to the PA_Sound.h file, at the given lines, and add (u32*) in front of PA_Malloc
1>------ D?but de la g?n?ration : Projet : PADemo2, Configuration : Release Win32 ------
1>Actions de projet Makefile en cours
1>logo.bmp
1>logo_wifi.bmp
1>main.cpp
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h: In function 'void PA_PlayFSSoundEx2(u8, u16, u8, int, s16, BOOL, int)':
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h(212): error: invalid conversion from 'void*' to 'u32*'
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h: In function 'void PA_PlayFSMod(u16)':
1>c:/devkitPro/PAlib//include/nds/arm9/PA_Sound.h(430): error: invalid conversion from 'void*' to 'u32*'
1>make[1]: *** [main.o] Error 1
1>make: *** [build] Error 2
1>Le journal de g?n?ration a ?t? enregistr? ? l'emplacement "file://c:\DsDev\PADemo2\PADemo2\Release\BuildLog.htm"
1>PADemo2 - 2 erreur(s), 0 avertissement(s)
========== G?n?ration : 0 a r?ussi, 1 a ?chou?, 0 mis ? jour, 0 a ?t? ignor? ==========
Anyone knows how to solve this ?
EDIT :
Just go to the PA_Sound.h file, at the given lines, and add (u32*) in front of PA_Malloc