Magick++ in VS2010 - unresolved external symbol

前端 未结 4 1122
孤独总比滥情好
孤独总比滥情好 2021-01-18 11:52

I\'m trying to use ImageMagick Magick++ for a C++ Project in VS2010. I installed the Library from here: klick

Then in my Project, I added c:/program files/ImageMagick

4条回答
  •  孤独总比滥情好
    2021-01-18 12:45

    You should also indicate to Visual Studio the .lib to be used for linking in Linker -> Input -> Additionnal Dependencies

    Thank you! The additional dependecies line contains now the following text (look at the end): kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;C:\Program Files\ImageMagick-6.6.6-Q16\lib\CORE_RL_Magick++_.lib

    It still does not work. Is it the wrong .lib file?

    what is this .lib file for? Shouldn't source code just work? There isn't any DLL...

提交回复
热议问题