CMdaImageDescToBitmapUtility Link Error

Login to reply to this topic.
Wed, 2004-10-13 06:01
Joined: 2004-08-25
Forum posts: 32
Hi all,

I have read the example of ImageConv. Inside there, it has used the class CMdaImageFileToBitmapUtility to display a file on screen.

I am now going to do a similar thing, but i going to display from buffer instead of file. Therefore I use CMdaImageDescToBitmapUtility.
Unfortunately, while I compile my code, it shows some error.

GPSAPPUI.obj : error LNK2001: unresolved external symbol "public: static class CMdaImageDescToBitmapUtility * __cdecl CMdaImageDescToBitmapUtility::NewL(class MMdaImageUtilObserver &,class CMdaServer *)" (?NewL@CMdaImageDescToBitmapUtility@@SAPAV1@A
AVMMdaImageUtilObserver@@PAVCMdaServer@@@Z)
GPSAPPUI.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMdaImageDescToBitmapUtility::OpenL(class TDesC8 const &,class TMdaClipFormat *,class TMdaPackage *,class TMdaPackage *)" (?OpenL@CMdaImageDescToBitmapUtility@@QAEXABV
TDesC8@@PAVTMdaClipFormat@@PAVTMdaPackage@@2@Z)

I have already included the <MdaImageConverter.h> and the library mediaclientimage.lib which the example had included.

Does anyone know how to solve this error? Is there any library I need to include as well? Thank you very much for any advices.

Wed, 2004-10-13 06:21
Joined: 2003-09-29
Forum posts: 32
CMdaImageDescToBitmapUtility Link Error
Hi,

the mediaclientimage.lib should contain the functions that are not found in the linking phase. Have you created the makefiles again after adding the library to your mmp-file?

Jari

Wed, 2004-10-13 07:27
Joined: 2004-08-25
Forum posts: 32
CMdaImageDescToBitmapUtility Link Error
Thank you very much.
I forget to do the rebuild.
  • Login to reply to this topic.