Re: menu library April 11, 2009 06:42PM | Registered: 15 years ago Posts: 441 |
Quote
trottolo
ok!!!!!!!!!
this issue was making me crazy!
Is there a plan to include all the resolution format?
Is there a plan to include jpg?
Is there a plan to have the stretch functionality in the imageData class?
Thx
Amedeo
Re: menu library April 11, 2009 07:46PM | Registered: 15 years ago Posts: 24 |
Quote
TantricQuote
trottolo
Another stuff...
I did an application now I developped in another project the gui....so now I put in the source directory of my application(in a subdirectory called gui) the file and directory of develloped in parrallel.
when I include the gui/gui.h of my application I did this error when compiling
usb.c
In file included from c:/projects/wii/USB/USB_AME/source/gui/FreeTypeGX.h:158,
from c:/projects/wii/USB/USB_AME/source/gui/gui.h:11,
from c:/projects/wii/USB/USB_AME/source/usb.c:12:
c:/devkitPro/libogc/include/Metaphrasis.h:96: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Metaphrasis'
In file included from c:/projects/wii/USB/USB_AME/source/gui/gui.h:11,
from c:/projects/wii/USB/USB_AME/source/usb.c:12:
c:/projects/wii/USB/USB_AME/source/gui/FreeTypeGX.h:162:15: warning: map: No such file or directory
In file included from c:/projects/wii/USB/USB_AME/source/gui/gui.h:11,
from c:/projects/wii/USB/USB_AME/source/usb.c:12:
c:/projects/wii/USB/USB_AME/source/gui/FreeTypeGX.h:231: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FreeTypeGX'
In file included from c:/projects/wii/USB/USB_AME/source/usb.c:12:
c:/projects/wii/USB/USB_AME/source/gui/gui.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[1]: *** [usb.o] Error 1
"make": *** [build] Error 2
why? is there a mistake in the makefile?
Yes, likely you didn't modify your LIBS line to add the libs from the template.
Also your SOURCES line should include source AND source/gui
Re: menu library April 11, 2009 08:29PM | Registered: 15 years ago Posts: 441 |
Re: menu library April 14, 2009 06:14PM | Registered: 15 years ago Posts: 24 |
Quote
Tantric
Ah. Well, you can't include C++ files in C - but you can do the reverse. Leave all the code the same, and just renaming the file with your main() - usb.c? to usb.cpp
The C code gets compiled as C++, but will work the same.
If you really want to compile C stuff into a C++ project as C, just wrap your C code like this (see oggplayer.h for an example - [code.google.com]):
#ifdef __cplusplus
extern "C"
{
#endif
// your C code
#ifdef __cplusplus
}
#endif