Skip to content

Error MSB6006: "cmd.exe" exited with code -1073741 515 #7059

@CedriW

Description

@CedriW

Issue summary

I am encountering an error while building Caffe:

  Checking Build System
  Running C++/Python protocol buffer compiler on C:/Users/CW/Documents/Project/caffe/src/caffe/proto/caffe.proto
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code -1073741
515. [C:\Users\CW\Documents\Project\caffe\build\src\caffe\caffeproto.vcxproj]
ERROR: Build failed

I have protoc.exe at version 3.21.4, and CMake version 3.24.0.

System configuration

  • Operating system: Windows
INFO: =================
[CMakeError.log](https://github.com/BVLC/caffe/files/9275917/CMakeError.log)
===========================================
INFO: Summary:
INFO: ============================================================
INFO: MSVC_VERSION               = 14
INFO: WITH_NINJA                 = 0
INFO: CMAKE_GENERATOR            = "Visual Studio 14 2015 Win64"
INFO: CPU_ONLY                   = 1
INFO: CUDA_ARCH_NAME             = Auto
INFO: CMAKE_CONFIG               = Release
INFO: USE_NCCL                   = 0
INFO: CMAKE_BUILD_SHARED_LIBS    = 0
INFO: PYTHON_VERSION             = 2
INFO: BUILD_PYTHON               = 1
INFO: BUILD_PYTHON_LAYER         = 1
INFO: BUILD_MATLAB               = 0
INFO: PYTHON_EXE       
[CMakeError.log](https://github.com/BVLC/caffe/files/9275914/CMakeError.log)
[CMakeOutput.log](https://github.com/BVLC/caffe/files/9275915/CMakeOutput.log)
          = "python"
INFO: RUN_TESTS                  = 0
INFO: RUN_LINT                   = 0
INFO: RUN_INSTALL                = 0
INFO: ============================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions