Need some help, first time using git to download all the source code.
I am not trying to execute “make full nobuild”
I am trying to run this command from C:\blender-git\blender\ using an elevated command promt window (administrator)
But I am running into this problem on Windows 10. what can i do?
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\Microsoft.CppCommon.targets(133,5): error MSB6003: The specified task executable "cmd.exe" could not be run. Access is denied [C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj]
Done Building Project "C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj" (default target) (1) ->
(PostBuildEvent target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\Microsoft.CppCommon.targets(133,5): error MSB6003: The specified task executable "cmd.exe" could not be run. Access is denied [C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
I’m unsure what you are trying to execute (you mention what you are not doing, but leave out what you are) but from the looks of it it seems like something is preventing cmd.exe from running, could be a local policy restriction or perhaps an over zealous anti virus product.
C:\blender-git\blender>make full nobuild verbose
svn : “C:\Program Files\SlikSvn\bin\svn.exe”
cmake : “C:\blender-git\cmake\bin\cmake.exe”
git : “C:\Program Files\Git\cmd\git.exe”
No explicit msvc version requested, autodetecting version.
Detecting msvc 2017
“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64`
‘“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64’ is not recognized as an internal or external command,
operable program or batch file.
Visual Studio is detected but the “Desktop development with C++” workload has not been instlled
Detecting msvc 2015
Visual Studio 2015 on Win64 detected at “C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC”
Visual Studio 2015 msbuild found
Visual Studio 2015 C/C++ Compiler found
Visual Studio 2015 Detected successfully
Compiler Detection successful, detected VS2015
Building blender with VS2015 for x64 in C:\blender-git\blender…\build_windows_Full_x64_vc14_Release
Library Directory = ““C:\blender-git\blender…\lib\win64_vc14"”
“C:\blender-git\cmake\bin\cmake.exe -C"C:\blender-git\blender\build_files\cmake\config\blender_full.cmake” -G “Visual Studio 14 2015 Win64” -HC:\blender-git\blender\ -BC:\blender-git\blender…\build_windows_Full_x64_vc14_Release”
loading initial cache file C:\blender-git\blender\build_files\cmake\config\blender_full.cmake
Re-run cmake no build system arguments
– Selecting Windows SDK version to target Windows 10.0.17134.
CMake Error at CMakeLists.txt:114 (project):
Failed to run MSBuild command:
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 2019/01/24 11:13:01 PM.
Project "C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj" on node 1 (default targets).
InitializeBuildStatus:
Touching "x64\Debug\VCTargetsPath.tlog\unsuccessfulbuild".
PostBuildEvent:
echo VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\
:VCEnd
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\Microsoft.CppCommon.targets(133,5): error MSB6003: The specified task executable "cmd.exe" could not be run. Access is denied [C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj]
Done Building Project "C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj" (default target) (1) ->
(PostBuildEvent target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\v140\Microsoft.CppCommon.targets(133,5): error MSB6003: The specified task executable "cmd.exe" could not be run. Access is denied [C:\blender-git\build_windows_Full_x64_vc14_Release\CMakeFiles\3.13.3\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.42
Exit code: 1
– Configuring incomplete, errors occurred!
See also “C:/blender-git/build_windows_Full_x64_vc14_Release/CMakeFiles/CMakeOutput.log”.
Thank you, I installed all that this afternoon. I will try and send a screenshot tomorrow of what I installed, perhaps there is a sub-component i am missing …
C:\blender-git\blender>make full 2017 x64 nobuild
‘“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64’ is not recognized as an internal or external command,
operable program or batch file.
Visual Studio 2017 not found (try with the ‘verbose’ switch for more information)
C:\blender-git\blender>make full 2017 x64 nobuild -verbose
Command “-verbose” unknown, aborting
C:\blender-git\blender>make full 2017 x64 nobuild verbose
svn : “C:\Program Files\SlikSvn\bin\svn.exe”
cmake : “C:\blender-git\cmake\bin\cmake.exe”
git : “C:\Program Files\Git\cmd\git.exe”
Detecting msvc 2017
“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64
‘“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64’ is not recognized as an internal or external command,
operable program or batch file.
Visual Studio is detected but the “Desktop development with C++” workload has not been instlled
Visual Studio 2017 not found (try with the ‘verbose’ switch for more information)
I re-installed everything and now faced with this error
C:\blender-git\blender>make full 2017 x64 nobuild verbose
svn : “C:\Program Files\SlikSvn\bin\svn.exe”
cmake : “C:\blender-git\cmake\bin\cmake.exe”
git : “C:\Program Files\Git\cmd\git.exe”
Detecting msvc 2017
“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64
‘“C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe” -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64’ is not recognized as an internal or external command,
operable program or batch file.
Visual Studio is detected but the “Desktop development with C++” workload has not been instlled
Visual Studio 2017 not found (try with the ‘verbose’ switch for more information)
Hi, I have recently been ‘blessed’ with COMODO which I believe to be part of the problem.
However now I have a new issue - MsBuild tools - I have 140 and not 141, where can I get my hands on 141 - i tried the Visual Studio Installer but I do not see that version
Have you tried opening Visual Studio first , maybe it needs to configure something automatically.
Make sure to delete the blender folders and try again from complete scratch add if that does not work uninstall everything and try VS 2017 community edition.
Hi
Thank you for the advice, I have tried the first step by deleting the blender-git folder etc. then re-retrieving everything via the git command line arguments.
This time I got further by disabling COMODO antivirus and then the make full nobuild worked!
However the Visual Studio solution did not want to build the INSTALL project due to hundreds of errors.
I can unfortunately not install the communicate edition since I need VS 2017 professional for other projects.
I have decided to abandon any further attempts to build Blender and will leave it to the experts I have opened and built many other services and asp.net / windows apps in the past without these many errors.