#168853 - Sepho - Sat May 30, 2009 11:19 am
Hi everybody!
I've Arch Linux, and I installed devkitarm, libnds, dswifi and libfat at the AUR package.
Well, when I try to compile the PAlib examples, it works and compile without any problem. I'va installed the 1.3.2-1 libnds and 080823 PAlib version. So to have both installed and configured on my computer. For this task, I read the manual of the PAlib homepage.
The devkitarm, libnds and PAlib folders are under /mnt/data/NDS/devkitPro
After unzip all files into their respective directories, I've modified the ~/.bashrc file to add the env variables:
DEVKITPRO=/mnt/data/NDS/devkitPro
DEVKITARM=$DEVKITPRO/devkitARM
PAPATH=$DEVKITPRO/PAlib/lib
And then run source ~/.bashrc to update de variables with the new paths.
If I try to compile any of the PAlib examples, it works and compile without any error, but when I try to compile any of libnds examples I've downloaded I've got this error:
If PAlib is wrote with libnds... Why PAlib compiles, but libnds show errors? :S
Thanks and sorry for my english :(
I've Arch Linux, and I installed devkitarm, libnds, dswifi and libfat at the AUR package.
Well, when I try to compile the PAlib examples, it works and compile without any problem. I'va installed the 1.3.2-1 libnds and 080823 PAlib version. So to have both installed and configured on my computer. For this task, I read the manual of the PAlib homepage.
The devkitarm, libnds and PAlib folders are under /mnt/data/NDS/devkitPro
After unzip all files into their respective directories, I've modified the ~/.bashrc file to add the env variables:
DEVKITPRO=/mnt/data/NDS/devkitPro
DEVKITARM=$DEVKITPRO/devkitARM
PAPATH=$DEVKITPRO/PAlib/lib
And then run source ~/.bashrc to update de variables with the new paths.
If I try to compile any of the PAlib examples, it works and compile without any error, but when I try to compile any of libnds examples I've downloaded I've got this error:
Code: |
[sepho@arch hello_world]$ make main.cpp arm-eabi-g++ -MMD -MP -MF /mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/include -I/mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/build -I/mnt/datos/PFC/NDS/devkitPRO/libnds/include -I/mnt/datos/PFC/NDS/devkitPRO/libnds/include -I/mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/source/main.cpp -o main.o /mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/source/main.cpp: In function 'int main()': /mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/source/main.cpp:38: error: 'touchRead' was not declared in this scope /mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/source/main.cpp:42: error: 'struct touchPosition' has no member named 'rawx' /mnt/datos/PFC/NDS/devkitPRO/ejemplos_libnds/hello_world/source/main.cpp:43: error: 'struct touchPosition' has no member named 'rawy' make[1]: *** [main.o] Error 1 make: *** [build] Error 2 |
If PAlib is wrote with libnds... Why PAlib compiles, but libnds show errors? :S
Thanks and sorry for my english :(