如何在Windows 10上安装GCC以便在VS2017中使用

时间:2017-10-26 06:40:29

标签: c# c++ gcc windows-10

尝试构建此解决方案时:

https://github.com/garuma/PiHueSphinx

我在输出窗口中看到了这个:

gcc -Wall -ggdb -shared -I/usr/local/include -I/usr/local/include/sphinxbase -I/usr/local/include/pocketsphinx -L/usr/local/lib -lpocketsphinx -lsphinxad -lsphinxbase -o \libsphinx_hue_detection.so sphinx_hue_detection.c

我使用Visual Studio 2017 Enterprise在Windows 10上构建。

这篇文章没有说明如何在Windows上安装或使用GCC:

https://blogs.msdn.microsoft.com/vcblog/2017/03/07/use-any-c-compiler-with-visual-studio/

如何从.csproj文件中安装和使用GCC(如上所述)?

1 个答案:

答案 0 :(得分:1)

您可以使用cygwin安装它,详细说明如何在Windows中安装cygwin。 http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/

相关问题