Kim*_*Kim 153 windows makefile
我有一些我下载的演示,它们带有Makefile.win和Makefile.sgi.如何在Windows中运行这些来编译演示?
Mar*_*tos 104
如果您有Visual Studio,请从"开始"菜单运行Visual Studio命令提示符,切换到包含的目录Makefile.win
并键入以下内容:
nmake -f Makefile.win
Run Code Online (Sandbox Code Playgroud)
您还可以使用正常的命令提示符运行vsvars32.bat(c:\ Program Files(x86)\ Microsoft Visual Studio 9.0\Common7\Tools for VS2008).这将设置运行nmake的环境并找到编译器工具.
Fra*_*ank 46
查看cygwin,一个适合Windows的Unix环境
ala*_*9uo 19
这是我运行Makefile的快速和临时方法
C:\ Program Files(x86)\ GnuWin32\bin
libiconv2.dll libintl3.dll make.exe
的make.exe
完成.
另外,您可以在命令后添加参数,例如
make.exe skel
小智 9
如果您安装Cygwin . 确保在安装程序中选择 make。如果您有 Makefile,则可以运行以下命令。
make -f Makefile
https://cygwin.com/install.html
Run Code Online (Sandbox Code Playgroud)
这个问题可能是一个古老的问题,但我的解决方案(对于我敢说的任何Windows用户而言,到目前为止都是最简单的)未列出。
步骤1:在此处安装WINDOWS(与Windows 7 + / Windows Server 2003+兼容)的Chocolatey软件包管理器
步骤2:执行choco install make
步骤3:从维护良好的包裹经理那里获利。Make将被添加到全局路径并在所有CLI(powershell,git bash,cmd…)上运行
我与choco无关,但仅仅是那样。
使用Visual Studio 2017,我必须将此文件夹添加到Windows 10路径env变量中:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64
Run Code Online (Sandbox Code Playgroud)
还有HostX86
I use MinGW tool set which provides mingw32-make
build tool, if you have it in your PATH
system variables, in Windows Command Prompt just go into the directory containing the files and type this command:
mingw32-make -f Makefile.win
Run Code Online (Sandbox Code Playgroud)
and it's done.
归档时间: |
|
查看次数: |
462007 次 |
最近记录: |