Imagemagick Linking to QT and mingw32-make: *** [debug] Error 2

家住魔仙堡 提交于 2019-12-11 16:23:22

问题


I created an application using Imagemagick library with Qt on Mac.

Now that I want to deploy the application for windows:

  • I installed the imagemagick library on my pc,
  • I installed the SDK version of QT 4.7
  • I added my include and lib paths

And when I go run the application I'm getting errors that I think they are related to mingw32. here are the build issues:

and here is the compile output:

Can someone Identify the error ? What do I have to do to deploy the application for windows?

I also tried to use a Mingw32 version of my library but again, It didnt work:

When I put -lmagick after the lib it says file lmagick cannot ne found and when I try to build unticking the shadow build checkbox in the build settings, it give me the errors in the first screenshoot. Thank you


回答1:


See the answer to this question.



来源:https://stackoverflow.com/questions/4415778/imagemagick-linking-to-qt-and-mingw32-make-debug-error-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!