-
Notifications
You must be signed in to change notification settings - Fork 15.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google_protobuf failed to build with debug configuration #4409
Comments
Hi, any update for this? |
It seems protoc check-failed when invoked to compile test protos. Relevant error message in the output log:
|
@shanshan0309 What version of protobuf are you using? Could you try 3.5.2? |
Thanks for looking into this issue, @xfxyjwf. The version of protobuf I currently use is 3.5.1. I don't seem to see the version 3.5.2 from https://github.com/google/protobuf/releases. The latest version is 3.5.1 in this link. |
I was able to build 3.5.1 with Visual Studio 2017. Can you double check your version number? Your repo instruction seems suggest you are git clone from head, but depending on when you clone, it could be different versions. |
I think I have identified the cause of the issue: |
I'm closing this one. Please follow up the progress in #4773 . |
Environment:
Windows Server 2016 + VS2017 Update 5 + Google_protobuf master branch latest srouce code
I tried to build Google_protobuf with debug configuration on Windows but failed. Could you please help take a look at this? Thanks in advance!
Steps to Reproduce:
Actual result:
3 projects failed. The full log file is attached.
log_x86_build.log
Build FAILED.
"D:\Google-Protobuf\build_x86\protobuf.sln" (Rebuild target) (1) ->
"D:\Google-Protobuf\build_x86\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
"D:\Google-Protobuf\build_x86\lite-arena-test.vcxproj.metaproj" (Rebuild target) (16) ->
"D:\Google-Protobuf\build_x86*lite-arena-test.vcxproj*" (Rebuild target) (19) ->
(CustomBuild target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 3. [D:\Google-Protobuf\build_x86\lite-arena-test.vcxproj]
"D:\Google-Protobuf\build_x86\protobuf.sln" (Rebuild target) (1) ->
"D:\Google-Protobuf\build_x86\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
"D:\Google-Protobuf\build_x86\lite-test.vcxproj.metaproj" (Rebuild target) (20) ->
"D:\Google-Protobuf\build_x86**lite-test.vcxpro**j" (Rebuild target) (21) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 3. [D:\Google-Protobuf\build_x86\lite-test.vcxproj]
"D:\Google-Protobuf\build_x86\protobuf.sln" (Rebuild target) (1) ->
"D:\Google-Protobuf\build_x86\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
"D:\Google-Protobuf\build_x86\tests.vcxproj.metaproj" (Rebuild target) (24) ->
"D:\Google-Protobuf\build_x86*tests.vcxproj*" (Rebuild target) (25) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 3. [D:\Google-Protobuf\build_x86\tests.vcxproj]
The text was updated successfully, but these errors were encountered: