Code execution cannot proceed because libquickmail-0.dll was not found?

*爱你&永不变心* 提交于 2020-01-06 06:19:32

问题


I was looking for a quick and easy way to automatically send a file to my gmail for debugging purposes on multiple remote machines. However I am apparently having linking issues which I can't seem to solve.

I downloaded the win64 zip file of libquick, IDE is CodeBlocks, compile target is x64 and running on 64-bit Windows 10.

There were 10 files that came in the zip folder, in lib/include/bin. They were

bin > libquickmail-0.dll, libquickmaillight-0.dll, quickmaillight.exe.

include > quickmail.h.

lib > libquickmail.a, libquickmail.dll.a, libquickmail.la, libquickmaillight.a, libquickmaillight.dll.a, libquickmaillight.la.

I linked to all of the .a/.dll.a/.la and .dll files and it still gives me this error: Code execution cannot proceed because libquickmail-0.dll was not found

I have no idea what the problem is and am very open to ideas. Thank you for your time.


回答1:


Either copy the libquickmail-0.dll to the same directory as your linked executable or add the libquickmail bin directory to your path. This will allow Windows to find the DLL to run the executable.



来源:https://stackoverflow.com/questions/48656393/code-execution-cannot-proceed-because-libquickmail-0-dll-was-not-found

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