在 Windows 中编译 .so [英] Compile .so in Windows
本文介绍了在 Windows 中编译 .so的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Windows 和 Visual Studio 中,有什么方法可以将源代码编译为 .so 而不是 .dll 吗?
Is there any way to compile a source code to .so instead of .dll in Windows and using Visual Studio?
提前致谢.
推荐答案
无法在 Windows 上部署 .so 库,VS 也无法创建.但是,如果您想要为某些支持它的平台 (*NIX) 进行交叉编译,则可以尝试使用 Cygwin.
A .so library cannot be deployed on Windows and VS can't create one. But if what you want is to cross-compile for some platform (*NIX) which does support it, you can try using Cygwin.
这篇关于在 Windows 中编译 .so的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文