Trying to build protobuf-2.5.0 using Visual Studio 2012 Express on Windows 
7 is failing with the errors, warnings & output detailed below.  Does 
anyone know how to fix this?

With thanks,

Riskybiz.

*Warnings & Errors:*

Warning        3        warning LNK4075: ignoring '/INCREMENTAL' due to 
'/OPT:ICF' 
specification        C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\LINK        
test_plugin

 

Error        2        error MSB6006: "cmd.exe" exited with code 
9009.        C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets        172    
    5        lite-test

 

Error        4        error MSB6006: "cmd.exe" exited with code 
9009.        C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets        172    
    5        tests

 

Error        1        error MSB6003: The specified task executable "CL.exe" 
could not be run. The process cannot access the file 
'C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\Release\cl.read.1.tlog' 
because it is being used by another process.        C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets        347    
    5        protoc


*Output:*
*
*

1>------ Build started: Project: libprotobuf, Configuration: Release Win32 
------

2>------ Build started: Project: gtest, Configuration: Release Win32 ------

3>------ Build started: Project: libprotobuf-lite, Configuration: Release 
Win32 ------

2>  gtest-all.cc

1>  coded_stream.cc

3>  coded_stream.cc

1>  common.cc

3>  common.cc

1>  descriptor.cc

3>  extension_set.cc

3>  generated_message_util.cc

3>  message_lite.cc

3>  once.cc

1>  descriptor.pb.cc

1>  descriptor_database.cc

3>  atomicops_internals_x86_msvc.cc

2>  gtest.vcxproj -> 
C:\protobuf-2.5.0\protobuf-2.5.0\gtest\msvc\protobuf/Release\gtest.lib

4>------ Build started: Project: gtest_main, Configuration: Release Win32 
------

3>  repeated_field.cc

3>  wire_format_lite.cc

4>  gtest_main.cc

1>  dynamic_message.cc

1>  extension_set.cc

3>  zero_copy_stream.cc

4>  gtest_main.vcxproj -> 
C:\protobuf-2.5.0\protobuf-2.5.0\gtest\msvc\protobuf/Release\gtest_main.lib

1>  extension_set_heavy.cc

3>  zero_copy_stream_impl_lite.cc

3>  stringprintf.cc

1>  generated_message_reflection.cc

3>  Generating Code...

1>  generated_message_util.cc

1>  gzip_stream.cc

1>  importer.cc

1>  message.cc

1>  message_lite.cc

3>  libprotobuf-lite.vcxproj -> 
C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\Release\libprotobuf-lite.lib

1>  once.cc

1>  atomicops_internals_x86_msvc.cc

1>  parser.cc

1>  printer.cc

1>  reflection_ops.cc

1>  repeated_field.cc

1>  Generating Code...

1>  Compiling...

1>  service.cc

1>  structurally_valid.cc

1>  strutil.cc

1>  substitute.cc

1>  text_format.cc

1>  tokenizer.cc

1>  unknown_field_set.cc

1>  wire_format.cc

1>  wire_format_lite.cc

1>  zero_copy_stream.cc

1>  zero_copy_stream_impl.cc

1>  zero_copy_stream_impl_lite.cc

1>  stringprintf.cc

1>  Generating Code...

1>  libprotobuf.vcxproj -> 
C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\Release\libprotobuf.lib

5>------ Build started: Project: libprotoc, Configuration: Release Win32 
------

5>  java_doc_comment.cc

5>  code_generator.cc

5>  command_line_interface.cc

5>  subprocess.cc

5>  zip_writer.cc

5>  plugin.cc

5>  plugin.pb.cc

5>  cpp_enum.cc

5>  cpp_enum_field.cc

5>  cpp_extension.cc

5>  cpp_field.cc

5>  cpp_file.cc

5>  cpp_generator.cc

5>  cpp_helpers.cc

5>  cpp_message.cc

5>  cpp_message_field.cc

5>  cpp_primitive_field.cc

5>  cpp_service.cc

5>  cpp_string_field.cc

5>  java_enum.cc

5>  Generating Code...

5>  Compiling...

5>  java_enum_field.cc

5>  java_extension.cc

5>  java_field.cc

5>  java_file.cc

5>  java_generator.cc

5>  java_helpers.cc

5>  java_message.cc

5>  java_message_field.cc

5>  java_primitive_field.cc

5>  java_service.cc

5>  java_string_field.cc

5>  python_generator.cc

5>  Generating Code...

5>  libprotoc.vcxproj -> 
C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\Release\libprotoc.lib

6>------ Build started: Project: protoc, Configuration: Release Win32 ------

7>------ Build started: Project: test_plugin, Configuration: Release Win32 
------

6>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(347,5): 
error MSB6003: The specified task executable "CL.exe" could not be run. The 
process cannot access the file 
'C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\Release\cl.read.1.tlog' 
because it is being used by another process.

7>  test_plugin.cc

8>------ Build started: Project: lite-test, Configuration: Release Win32 
------

8>  Generating unittest_lite.pb.{h,cc}...

8>  'Release\protoc' is not recognized as an internal or external command,

8>  operable program or batch file.

8>  Generating unittest_import_lite.pb.{h,cc}...

8>  'Release\protoc' is not recognized as an internal or external command,

8>  operable program or batch file.

8>  Generating unittest_import_public_lite.pb.{h,cc}...

8>  'Release\protoc' is not recognized as an internal or external command,

8>  operable program or batch file.

8>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): 
error MSB6006: "cmd.exe" exited with code 9009.

7>  mock_code_generator.cc

7>  file.cc

7>  Generating Code...

7>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' 
specification

7>  test_plugin.vcxproj -> 
C:\protobuf-2.5.0\protobuf-2.5.0\vsprojects\Release\test_plugin.exe

9>------ Build started: Project: tests, Configuration: Release Win32 ------

9>  Generating cpp_test_bad_identifiers.pb.{h,cc}...

9>  Generating unittest.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  Generating unittest_custom_options.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  Generating unittest_embed_optimize_for.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  Generating unittest_import.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  Generating unittest_import_public.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  Generating unittest_lite_imports_nonlite.pb.{h,cc}...

9>  Generating unittest_mset.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  Generating unittest_optimize_for.pb.{h,cc}...

9>  Generating unittest_no_generic_services.pb.{h,cc}...

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>  'Release\protoc' is not recognized as an internal or external command,

9>  operable program or batch file.

9>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): 
error MSB6006: "cmd.exe" exited with code 9009.

========== Build: 6 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to