小编And*_*ewM的帖子

为C/C++设置Windows构建环境的最佳方法

基本上我想在Windows上使用GCC编译C/C++.正如我所看到的,两个竞争平台是MinGW和Cygwin.每个都有自己的好处和限制.MinGW为Windows编译,而Cygwin需要cygwin .dll.但是在MinGW上安装库很困难,而在cygwin上使用setup.exe作为"包管理器"则更容易.

我的问题是在Windows上编译的最佳方法是什么.使用MinGW并与图书馆斗争会更好(在这种情况下,有一种简单的方法可以在MinGW上安装库).或者我应该使用Cygwin,如果是这样我如何在不需要cygwin .dll的情况下编译它,有效地编译正常的Windows.

c c++ windows cygwin mingw

9
推荐指数
2
解决办法
1万
查看次数

使用MinGW/MSYS编译freetype2时遇到问题

用MinGW和MSYS编译freetype2似乎有问题

我尝试使用freetype源的干净副本,以及纯粹的MinGW和MSYS:

Andrew@MCARDLE-PC ~/documents/code
$ cd freetype-2.3.11

Andrew@MCARDLE-PC ~/documents/code/freetype-2.3.11
$ ./configure

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    cc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `c:/code/mingw/bin/make' again to build the library,
or `c:/code/mingw/bin/make refdoc' to build the API reference (the latter needs
python).

Generating …
Run Code Online (Sandbox Code Playgroud)

windows mingw msys freetype2

5
推荐指数
1
解决办法
5343
查看次数

标签 统计

mingw ×2

windows ×2

c ×1

c++ ×1

cygwin ×1

freetype2 ×1

msys ×1