我们需要使用Makefile将所有内容整合到我们的项目中,但我们的教授从未向我们展示过如何操作.
我只有一个档案a3driver.cpp.驱动程序从某个位置导入类"/user/cse232/Examples/example32.sequence.cpp".
就是这样,其他一切都包含在内.cpp.
我如何制作一个简单的Makefile来创建一个名为a3a.exe?的可执行文件?
我在CI服务器上设置了.NET 4.0支持.我已经安装了.NET 4.0和Windows 7.1 SDK中的.NET工具.
在.NET 2.0和3.5上,这才有效.使用.NET 4,当我从"开始"菜单运行"Windows SDK 7.1命令提示符"时,它会抱怨
The x86 compilers are not currently installed. x86-x86
Please go to Add/Remove Programs to update your installation.
.
Setting SDK environment relative to C:\Program Files\Microsoft
SDKs\Windows\v7.1
\.
Targeting Windows Server 2008 x86 Debug
Run Code Online (Sandbox Code Playgroud)
然后当我尝试运行msbuild时,我得到:
C:\Program Files\Microsoft SDKs\Windows\v7.1>msbuild
'msbuild' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Microsoft SDKs\Windows\v7.1>
Run Code Online (Sandbox Code Playgroud)
我不太相信安装运行时和SDK会让你的系统无法运行msbuild ...我错过了一些明显的步骤或模糊Windows Update,或者是时候放弃并开始攻击系统路径了?