Moving from Visual C++ 6.0 to Visual Studio 2010

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Leak
Posts: 2
Joined: 2011-08-12T09:11:45-07:00
Authentication code: 8675308

Moving from Visual C++ 6.0 to Visual Studio 2010

Post by Leak »

I am currently converting an application from Visual C++ 6 for Windows XP and moving to Visual Studio 2010 for Windows 7.

The original code used the following libraries:
IM_MOD_DB_wmf_.lib
IM_MOD_DB_yuv_.lib
IM_MOD_DB_wbmp.lib
IM_MOD_DB_tiff_.lib
IM_MOD_DB_png_.lib
IM_MOD_DB_pcx_.lib
IM_MOD_DB_jp2_.lib
IM_MOD_DB_jpeg_.lib
IM_MOD_DB_gray_.lib
IM_MOD_DB_gif_.lib
IM_MOD_DB_dib_.lib
IM_MOD_DB_bmp_.lib

I have not managed to locate this libraries, are they still available?

Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Moving from Visual C++ 6.0 to Visual Studio 2010

Post by magick »

The libs you mention are still available but are typically Release rather than Debug (e.g. IM_MOD_RL_PNG.dll rather than IM_MOD_DB_pcx_.lib).
Leak
Posts: 2
Joined: 2011-08-12T09:11:45-07:00
Authentication code: 8675308

Re: Moving from Visual C++ 6.0 to Visual Studio 2010

Post by Leak »

Thanks, I have now compiled the libraries, but receive these link errors:

error LNK2019: unresolved external symbol "public: struct MagickLib::_PixelPacket * __thiscall
error LNK2001: unresolved external symbol "public: struct MagickLib::_PixelPacket * __thiscall
error LNK2019: unresolved external symbol "public: enum MagickLib::ImageType __thiscall

I presume these methods are part of CORE_Magick++?

Thanks
Post Reply