C # when calling the so library of mingw, DLL ###. so cannot find the specified module,

Source: Internet
Author: User

C # when calling the so library of mingw, DLL ###. so cannot find the specified module,

When C # is used to call the so of mingw, it is reported that c # cannot load the DLL "###. so". The specified program cannot be found. (Exception from HRESULT: 0x8007007E)
I thought it was a dll path problem. I still cannot solve it after I confirm the full path is correct.
Then, by loading other so files, we found that the function symbol could not be found, rather than the specified program.
So I think it is the specific problem of this so, and check the number of digits of the so file, and the number of digits of the C # program, both are 32 bits.
After analysis, if the dll location can be determined to be correct, the called DLL file must be correctly referenced when used in other DLL files. Therefore, comments the libtiff part referenced by the so file and try again.
The possible cause is the compiler problem. Because the regular expression is used in c ++, the g ++ of mingw is upgraded from 4.8.2 to 6.3, so the compiler is successfully executed after being changed back to the original earlier version.
After successful execution, we found that the exe path contains the mingw runtime dll:
Libgcc_s_dw2-1.dll, libstdc ++-6.dll, libwinpthread-1.dll
Previously, in order to facilitate deployment and copy to the executable program path, and these files are in version 4.8.2, the 6.3 version is also working normally after being cleared.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.