I compiled one of my games using EasyCE 1.6 for MIPS debug which ran fine, but when I complied the exact same unchanged game for MIPS release a couple of my images wouldn't load. Changing the order in which I loaded the images only caused others not to load. Any ideas? Thanks.
Take a look at the forum's entry "strange effects". Maybe the problem discussed there (with V1.6) is yours !? If it is, please let me know
greetings
--Henrik
Thanks! That fixed it. I just had to change char c[] to byte c[] for the redir table in the initcharset().
Can you load images using eVC with ATgaFile::load()? I been using that in VC++6 and then using tgaload() in eVC which has been a pain. I keep getting this error message in eVC.
sample.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl ATgaFile::load(unsigned short *,int,int,unsigned short *)" (?load@ATgaFile@@SA_NPAGHH0@Z) referenced in function main
MIPSDbg/easyce.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I'm loading them like this in eVC:
ATgaFile::load( L"image.tga", 32, 32, buffer );
Windows expects char* to load files. I believe EasyCE2.0 accepts only char*, even for WinCE, but I'm not completely sure; I'll check that tonight.
Did you ever find out how to fix? By the way I'm using EasyCE 1.6. Thanks.