#102338 - Philderbeast - Wed Sep 13, 2006 1:19 am
Well I'm verry new to boath C++ and GBA/DS development so be warned this may sound very noobish.
I have been working on creating a basic program for the GBA t get use to the hardware before I try something a little more challangeing.
After reading about 50 million tutorials and downloading several e-books ont boath C++ and GBA dev I started to mess around with the examples to bend then to suit what I was trying to do.
Now all I'm trying to do at this stage is get a background on to the screen. however m getting an error when I attempt to compile it.
the error is as follows:
Im assuming its something to do with me using C++ rather than C and that library not reading properly (it works if I make it C, but as im using C++ specific stuff else where I whant to keep it consistant).
If anyone can point me to where I can find some more information i would be most gratefull.
I have been working on creating a basic program for the GBA t get use to the hardware before I try something a little more challangeing.
After reading about 50 million tutorials and downloading several e-books ont boath C++ and GBA dev I started to mess around with the examples to bend then to suit what I was trying to do.
Now all I'm trying to do at this stage is get a background on to the screen. however m getting an error when I attempt to compile it.
the error is as follows:
Code: |
linking cartridge
yapg.o: In function `main': c:/devkitPro/msys/home/philbert/make/src/yapg.cpp(53): undefined reference to `DecodePCX(unsigned char const*, unsigned short*, unsigned short*)' collect2: ld returned 1 exit status make[1]: *** [/home/philbert/make/yapg.elf] Error 1 make: *** [build] Error 2 |
Im assuming its something to do with me using C++ rather than C and that library not reading properly (it works if I make it C, but as im using C++ specific stuff else where I whant to keep it consistant).
If anyone can point me to where I can find some more information i would be most gratefull.