我下載並編譯了GraphicsMagick,1.3.23,Q16,x64,StaticMT版本。我必須將由GraphicsMagick構建實用程序生成的Visual Studio 7解決方案轉換爲Visual Studio 2015格式。我將我的項目鏈接到CORE_DB_magick_.lib和CORE_DB_Magick ++ _。lib。與GraphicsMagick鏈接錯誤
當鏈接器運行,它連接InitializeMagick()和DestroyMagick(當)產生的未解析的外部符號
1>wtd.lib(WebController.obj) : error LNK2019: unresolved external symbol __imp_DestroyMagick referenced in function "public: __cdecl Wt::WebController::~WebController(void)" ([email protected]@@[email protected]) 1>wtd.lib(WebController.obj) : error LNK2019: unresolved external symbol __imp_InitializeMagick referenced in function "public: __cdecl Wt::WebController::WebController(class Wt::WServer &,class std::basic_string,class std::allocator > const &,bool)" ([email protected]@@[email protected]@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
我無法理解爲什麼符號不被鏈接。有任何想法嗎?