[英]How to port a Ubuntu C++ library to MinGW?
In Ubuntu, there is a package called uuid-dev
. 在Ubuntu中,有一个名为
uuid-dev
的软件包。 To install and use it, I just need to run apt-get install uuid-dev
. 要安装和使用它,我只需要运行
apt-get install uuid-dev
。 However, in MinGW, I couldn't install this package using mingw-get install
. 但是,在MinGW中,我无法使用
mingw-get install
安装此软件包。
May I know what are the basic steps to port a C++ application/library from Ubuntu to MinGW? 我能否知道将C ++应用程序/库从Ubuntu移植到MinGW的基本步骤是什么?
It might already support compilation under MinGW. 它可能已经支持MinGW下的编译。 Generally you would download the source, unpack them and run
./configure
and see what happens. 通常,您将下载源代码,解压缩它们并运行
./configure
并查看会发生什么。
Give that a try and get back to me. 试试看,然后再找我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.