[英]build a c++ program with makefile in windows
I wrote a little c++ program with visual studio. 我用Visual Studio编写了一个小c ++程序。 I have to build that program with a shell script.
我必须使用shell脚本来构建该程序。 For that I installed cygwin.
为此,我安装了cygwin。 How can I build a program, that uses an environment variable for the boost-library?
如何构建将环境变量用于boost-library的程序?
After makefile is created, add to the flags the following: 创建makefile之后,将以下内容添加到标志中:
-lboost_system -lboost_locale -lboost_system -lboost_locale
Good luck! 祝好运!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.