certik / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

0.5.1 Build failure on VS2013 #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
CMake output:

-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 12 2013
-- Check for working CXX compiler using: Visual Studio 12 2013 -- work
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.57.0
-- Configuring done
-- Generating done
-- Build files have been written to: E:/Projects/yaml-cpp-0.5.1/build

VS2013Pro output from building Release targer of the generated solution:

1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Skipped Build: Project: RUN_TESTS, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration 
1>  Checking Build System
1>  CMake does not need to re-run because 
E:/Projects/yaml-cpp-0.5.1/build/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because 
E:/Projects/yaml-cpp-0.5.1/build/test/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because 
E:/Projects/yaml-cpp-0.5.1/build/util/CMakeFiles/generate.stamp is up-to-date.
3>------ Build started: Project: yaml-cpp static md, Configuration: Release 
Win32 ------
3>  Building Custom Rule E:/Projects/yaml-cpp-0.5.1/CMakeLists.txt
3>  CMake does not need to re-run because 
E:\Projects\yaml-cpp-0.5.1\build\CMakeFiles\generate.stamp is up-to-date.
3>  binary.cpp
3>  convert.cpp
3>  directives.cpp
3>  emit.cpp
3>  emitfromevents.cpp
3>  emitter.cpp
3>  emitterstate.cpp
3>  emitterutils.cpp
3>  exp.cpp
3>  memory.cpp
3>  node.cpp
3>  nodebuilder.cpp
3>  nodeevents.cpp
3>  node_data.cpp
3>  null.cpp
3>  ostream_wrapper.cpp
3>E:\Projects\yaml-cpp-0.5.1\src\ostream_wrapper.cpp(24): error C2039: 'max' : 
is not a member of 'std'
3>E:\Projects\yaml-cpp-0.5.1\src\ostream_wrapper.cpp(24): error C3861: 'max': 
identifier not found
3>E:\Projects\yaml-cpp-0.5.1\src\ostream_wrapper.cpp(37): error C2039: 'max' : 
is not a member of 'std'
3>E:\Projects\yaml-cpp-0.5.1\src\ostream_wrapper.cpp(37): error C3861: 'max': 
identifier not found
3>  parse.cpp
3>  parser.cpp
3>  regex.cpp
3>  scanner.cpp
3>  Generating Code...
3>  Compiling...
3>  scanscalar.cpp
3>  scantag.cpp
3>  scantoken.cpp
3>  simplekey.cpp
3>  singledocparser.cpp
3>  stream.cpp
3>  tag.cpp
3>  graphbuilder.cpp
3>  graphbuilderadapter.cpp
3>  Generating Code...
4>------ Build started: Project: parse, Configuration: Release Win32 ------
5>------ Build started: Project: read, Configuration: Release Win32 ------
6>------ Build started: Project: run-tests, Configuration: Release Win32 ------
7>------ Build started: Project: sandbox, Configuration: Release Win32 ------
4>  Building Custom Rule E:/Projects/yaml-cpp-0.5.1/util/CMakeLists.txt
7>  Building Custom Rule E:/Projects/yaml-cpp-0.5.1/util/CMakeLists.txt
5>  Building Custom Rule E:/Projects/yaml-cpp-0.5.1/util/CMakeLists.txt
6>  Building Custom Rule E:/Projects/yaml-cpp-0.5.1/test/CMakeLists.txt
4>  CMake does not need to re-run because 
E:\Projects\yaml-cpp-0.5.1\build\util\CMakeFiles\generate.stamp is up-to-date.
7>  CMake does not need to re-run because 
E:\Projects\yaml-cpp-0.5.1\build\util\CMakeFiles\generate.stamp is up-to-date.
5>  CMake does not need to re-run because 
E:\Projects\yaml-cpp-0.5.1\build\util\CMakeFiles\generate.stamp is up-to-date.
6>  CMake does not need to re-run because 
E:\Projects\yaml-cpp-0.5.1\build\test\CMakeFiles\generate.stamp is up-to-date.
4>  parse.cpp
7>  sandbox.cpp
5>  read.cpp
6>  emittertests.cpp
6>  main.cpp
6>  tests.cpp
4>LINK : fatal error LNK1181: cannot open input file 
'..\Release\libyaml-cppmd.lib'
7>LINK : fatal error LNK1181: cannot open input file 
'..\Release\libyaml-cppmd.lib'
5>LINK : fatal error LNK1181: cannot open input file 
'..\Release\libyaml-cppmd.lib'
6>  nodetests.cpp
6>E:\Projects\yaml-cpp-0.5.1\test\new-api\nodetests.cpp(310): warning C4800: 
'YAML::detail::unspecified_bool_type' : forcing value to bool 'true' or 'false' 
(performance warning)
6>  parsertests.cpp
6>  Generating Code...
6>  spectests.cpp
6>  spectests.cpp
6>LINK : fatal error LNK1181: cannot open input file 
'..\Release\libyaml-cppmd.lib'
8>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
8>  Building Custom Rule E:/Projects/yaml-cpp-0.5.1/CMakeLists.txt
8>  CMake does not need to re-run because 
E:\Projects\yaml-cpp-0.5.1\build\CMakeFiles\generate.stamp is up-to-date.
9>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
9>Project not selected to build for this solution configuration 
========== Build: 2 succeeded, 5 failed, 0 up-to-date, 2 skipped ==========

Original issue reported on code.google.com by eugene.g...@gmail.com on 22 Dec 2014 at 12:22

GoogleCodeExporter commented 9 years ago

Original comment by jbe...@gmail.com on 24 Dec 2014 at 6:22

GoogleCodeExporter commented 9 years ago
This was fixed in r3be80700b052236ff09014a345eb67d3ae0a273f.

Original comment by jbe...@gmail.com on 24 Dec 2014 at 6:37