PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

eVC 4.0 and pocketFrog - imgdecmp.lib ? help please!

Hello,

I've had great luck working with PocketFrog under eVC++ 3.0, but recently upgraded to eVC++ 4.0 so that I could incorporate some bluetooth into the app I'm working on for an iPAQ 3870.

However, I'm totally stumped. I can't get the demo apps (like Blit and Plasma) to link. I get "LINK : fatal error LNK1104: cannot open file 'imgdecmp.lib'".

In directories like C:\WINCE410\PUBLIC\WCESHELLFE\OAK\LIB\ARMV4\DEBUG there are copies of imgdecmp.lib. But if I add that to my Libraries path, I get the following linker complaint. If anyone has any insight into what is causing this and how I can prevent it, I'd be most grateful!

Linking...
imgdecmp.lib(gif.obj) : error LNK2019: unresolved external symbol _LocalAllocTrace referenced in function "public: void __thiscall CGIFDecoder::GrowOutBuffer(void)" (?GrowOutBuffer@CGIFDecoder@@QAEXXZ)
imgdecmp.lib(png.obj) : error LNK2019: unresolved external symbol _crc32 referenced in function _png_reset_crc
imgdecmp.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function _png_create_read_struct
imgdecmp.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflate referenced in function _png_read_row
imgdecmp.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflate
imgdecmp.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function _png_read_destroy
imgdecmp.lib(pngrutil.obj) : error LNK2019: unresolved external symbol _inflateReset referenced in function _png_handle_zTXt
X86Dbg/Blit.exe : fatal error LNK1120: 6 unresolved externals
Still no luck...

Has anyone got PocketFrog to link under eVC++4.0? It would help just to know if that's possible...
PocketFrog is a PocketPC library and as far as I know there is no PocketPC platform SDK for EVC 4.0. Because of this, you won't be able to compile it if your target platform doesn't offer the needed components (in your case, imgdecmp.dll).

Picking up a random imgdecmp.lib from some other platform (the OAK reference board in this case) won't work. You need the actual lib for your platform.

If your platform doesn't have imgdecmp.dll, you will have to modify the image loading code in PocketFrog.
On MS's site I read that Pock PC development
is still limited to eVC3 only. I don't have
the link now but it was a chat log about the
release on eVC4.

~Chris
Actually the solution this is really simple - just link in imgdecmp.lib from the eVC 3 sdk. Works just fine.

There's now the PPC 2003 SDK, but even before that, you can still use the "STANDARSDK" to build PocketFrog on a generic target.

-- Rob