c++ – msdev is not a recognized as an internal or external command

Question:

I compile the code:

https://github.com/apache/apr

OS Windows 2012 server, running VS2012 x64 Cross Tools Command Prompt.

I specify the command as indicated in the documentation:

nmake -f Makefile.win

Gives out that there is no msdev

msdev is not a recognized as an internal or external command

did not find where msdev is .

Answer:

As they write here , msdev.exe is the name of the IDE VC6 executable file, and since VS2003 the file is called devenv.exe (or VCExpress.exe in express versions).

By the way, if you open Makefile.win , you will find the following comments there:

# You can override the build mechanism, choose only one;
#
#     USEMAK=1 - compile from exported make files
#     USEDSW=1 - compile from .dsw / .dsp VC6 projects
#     USESLN=1 - compile from converted .sln / .vcproj VC7+ files

and then, there is an automatic determination of which build system to use. And judging by the fact that the apr repo contains the apr.dsw and apr.dsp , by default it is assumed that the build will be done in VC6 .

Scroll to Top