简体   繁体   中英

Use libraries compiled with visual studio in an application compiled by g++ (mingw)

是否可以在Windows上使用g ++(mingw)编译的应用程序中使用visual studio编译的库?

From a technical standpoint, there isn't any reason you shouldn't be able to (it's all x86 after all). As for in practice, there are a number of tools for converting between library and object file formats. If you can find the correct one and deal with any naming, calling convention and structure layout differences (I don't know that you will or won't need to deal with any of that) you should be good.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM