I tried to compile the magick++ demos that come as part of
ImageMagick-6.3.2 but I get unresolved symbol errors.

I configure the project for VisualStaticMT and the solution builds and
generates all the *_CORE_RL_*_.lib files with out any obvious
problems.

At first I thought this might be a unicode issue, but that doesn't
seems to be the case. Any suggestions would be helpful.

r.S.

error:

------ Build started: Project: UTIL_button_xt_exe, Configuration:
Debug Win32 ------
Compiling...
button.cpp
Magick lib static interface
Magick module static interface
MagickWand lib static interface
MagickWand module static interface
Magick++ lib static interface
..\..\..\Magick++\demo\button.cpp(24) : warning C4996: 'getenv' was
declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdlib.h(483) : see declaration of 'getenv'
        Message: 'This function or variable may be unsafe. Consider
using _dupenv_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\..\..\Magick++\demo\button.cpp(25) : warning C4996: 'getenv' was
declared deprecated
        C:\Program Files\Microsoft Visual Studio
8\VC\include\stdlib.h(483) : see declaration of 'getenv'
        Message: 'This function or variable may be unsafe. Consider
using _dupenv_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
Linking...
button.obj : error LNK2019: unresolved external symbol "public:
virtual __thiscall Magick::Image::~Image(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::write(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::compressType(enum
MagickLib::CompressionType)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::quantize(bool)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::quantizeColors(unsigned int)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::quantizeDither(bool)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::frame(class Magick::Geometry const &)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) referenced in function
_main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Geometry::Geometry(char const *)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::borderColor(class Magick::Color const &)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) referenced in function
_main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::annotate(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,enum
MagickLib::GravityType)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@[EMAIL PROTECTED]@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::fontPointsize(double)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public:
virtual __thiscall Magick::Color::~Color(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::fillColor(class Magick::Color const &)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) referenced in function
_main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Color::Color(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL 
PROTECTED]@2@@std@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::texture(class Magick::Image const &)"
([EMAIL PROTECTED]@Magick@@QAEXABV12@@Z) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Image::Image(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL 
PROTECTED]@2@@std@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::read(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Geometry::~Geometry(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public: void
__thiscall Magick::Image::size(class Magick::Geometry const &)"
([EMAIL PROTECTED]@Magick@@[EMAIL PROTECTED]@@Z) referenced in function
_main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Geometry::Geometry(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL 
PROTECTED]@2@@std@@@Z)
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Image::Image(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
referenced in function _main
button.obj : error LNK2019: unresolved external symbol "public:
__thiscall Magick::Color::Color(char const *)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) referenced in function _main
button.obj : error LNK2019: unresolved external symbol "void __cdecl
Magick::InitializeMagick(char const *)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function _main
..\..\bin\button.exe : fatal error LNK1120: 23 unresolved externals
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to