Do you also acquired the tool NMAKE.EXE if you have VS Express (2012) for Desktop? Because the NMAKE Reference at http://msdn.microsoft.com/en-us/library/dd9y37ha.aspx said “The Microsoft Program Maintenance Utility (NMAKE.EXE) is a tool that builds projects based on commands contained in a description file.”
When I run ‘:compiler msvc’ followed by ‘:make’ the shell returned the error message “'nmake' is not recognized as an internal or external command,”. Does the tool NMAKE.EXE have a relation to the 'nmake' command? How can I compile a C++ program using these commands? The Compiling from Vim at http://vim.wikia.com/wiki/Integrate_gvim_with_Visual_Studio#Compiling_from_Vim that could help to solve this question said “If you use nmake, you can use ‘compiler msvc’ to set Vim's ‘errorformat’ and ‘makeprg’ for Visual C++. Use ‘compiler cs’ for C#.” ---------- The MSBuild at http://msdn.microsoft.com/en-us/library/wea2sca5(v=vs.90).aspx said “MSBuild is the new build platform for Microsoft and Visual Studio.” The MSBuild (Visual C++) at http://msdn.microsoft.com/en-us/library/dd293626.aspx said “You can use the MSBuild tool to build a Visual C++ application from the command prompt. The build process is controlled by the information in a project file (.vcxproj) that you can create and edit. The project file specifies build options based on build stages, conditions, and events.” Do you also acquired the MSBuild tool if you have VS Express for Desktop? When I run ‘:make’ after running ‘:compiler msbuild’ the shell returned the message “'msbuild' is not recognized as an internal or external command,”. Does msbuild.vim have a relation to MSBuild tool? The maintainer of msbuild.vim said, “I made the script for compiling C# projects using .NET... I don't know if it will work for C++...” How can I be able to compile using ‘:compiler msbuild’ and ‘:make’ on Windows? ---------- There are probably two questions above about compiling a program such as a C++ source code, and please (don't forget to) answer with detailed instructions: 1. How to use ‘:compiler msvc’? 2. How to use ‘:compiler msbuild’? The question like this that has an open bounty worth +300 reputation on Stack Overflow is at: http://stackoverflow.com/q/18674226/2007055 You can vote that question up to get more attention to get a valid answer! -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
