Axeman
Axemeister
HURRAH! I feel well chuffed.
I've played around and solved my first compiling/coding/syntax type problem!
In reference to THIS thread about using Mr Mirko's SDK with devkitadv....
I did what Mr M said, and added the paths to the libs in the main gp32.mk file, but I was still getting loads of errors. The first thing I did was copy the .h files from Mirko's lib.src\include\ folder into the \devkitadv\arm-agb-elf\include folder cos I thought it better to have them all in the same place, so there was more chance of the compiler finding them with the default options.
Firstly on compilation, I was getting errors all over the place referenceing stuff that was supposed to be in remarks in Mirko's .h files. Then I went in and noticed that Mr Mirko had used the // for remarks. So I changed them all to /* ... */ and that got rid of loads of the errors. Then I changed the main funtion name in his font example from main() to gpmain ( void *arg) and all compiled absaolutely fine, with no probs
So it looks like the main function has GOT to be called gpmain ( void *arg).
May seem like simplicity itself to most of you, but it took a lot of determined fiddling about for me.
Cheers for the help anyways
I've played around and solved my first compiling/coding/syntax type problem!
In reference to THIS thread about using Mr Mirko's SDK with devkitadv....
I did what Mr M said, and added the paths to the libs in the main gp32.mk file, but I was still getting loads of errors. The first thing I did was copy the .h files from Mirko's lib.src\include\ folder into the \devkitadv\arm-agb-elf\include folder cos I thought it better to have them all in the same place, so there was more chance of the compiler finding them with the default options.
Firstly on compilation, I was getting errors all over the place referenceing stuff that was supposed to be in remarks in Mirko's .h files. Then I went in and noticed that Mr Mirko had used the // for remarks. So I changed them all to /* ... */ and that got rid of loads of the errors. Then I changed the main funtion name in his font example from main() to gpmain ( void *arg) and all compiled absaolutely fine, with no probs
May seem like simplicity itself to most of you, but it took a lot of determined fiddling about for me.
Cheers for the help anyways
Last edited by a moderator: