{"action":"created","issue":{"url":"https://api.github.com/repos/jbeder/yaml-cpp/issues/326","repository_url":"https://api.github.com/repos/jbeder/yaml-cpp","labels_url":"https://api.github.com/repos/jbeder/yaml-cpp/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/jbeder/yaml-cpp/issues/326/comments","events_url":"https://api.github.com/repos/jbeder/yaml-cpp/issues/326/events","html_url":"https://github.com/jbeder/yaml-cpp/issues/326","id":99286069,"number":326,"title":"Not able to compile in Visual Studio 2010\t","user":{"login":"spammenot66","id":13628222,"avatar_url":"https://avatars.githubusercontent.com/u/13628222?v=3","gravatar_id":"","url":"https://api.github.com/users/spammenot66","html_url":"https://github.com/spammenot66","followers_url":"https://api.github.com/users/spammenot66/followers","following_url":"https://api.github.com/users/spammenot66/following{/other_user}","gists_url":"https://api.github.com/users/spammenot66/gists{/gist_id}","starred_url":"https://api.github.com/users/spammenot66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spammenot66/subscriptions","organizations_url":"https://api.github.com/users/spammenot66/orgs","repos_url":"https://api.github.com/users/spammenot66/repos","events_url":"https://api.github.com/users/spammenot66/events{/privacy}","received_events_url":"https://api.github.com/users/spammenot66/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbeder/yaml-cpp/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jbeder/yaml-cpp/labels/OpSys-Windows","name":"OpSys-Windows","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-05T19:55:27Z","updated_at":"2016-03-29T06:15:52Z","closed_at":null,"body":"What steps will reproduce the problem?\r\n1.Download source.\r\n2. ran the command \"cmake.exe -G \"Visual Studio 10 2010 Win64\" -DBUILD_SHARED_LIBS=ON\"\r\n3. Open  the YAML_CPP.sln file in visual studio 2010 and ran the \"build solution\" \r\n\r\n\r\nWhat is the expected output? What do you see instead?\r\nI'm expecting the file to build without an error. Instead i'm getting the following errors: \r\nError\t3\terror LNK1120: 2 unresolved externals\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\util\\Release\\parse.exe\tparse\r\nError\t39\terror LNK1120: 21 unresolved externals\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\Release\\run-tests.exe\trun-tests\r\nError\t30\terror LNK2001: unresolved external symbol \"class YAML::Node __cdecl YAML::Load(char const *)\" (?Load@YAML@@YA?AVNode@1@PEBD@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t37\terror LNK2001: unresolved external symbol \"private: void __cdecl YAML::detail::node_data::convert_to_map(class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?convert_to_map@node_data@detail@YAML@@AEAAXV?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t35\terror LNK2001: unresolved external symbol \"private: void __cdecl YAML::detail::node_data::insert_map_pair(class YAML::detail::node &,class YAML::detail::node &)\" (?insert_map_pair@node_data@detail@YAML@@AEAAXAEAVnode@23@0@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t7\terror LNK2001: unresolved external symbol \"public: class YAML::detail::node & __cdecl YAML::detail::memory::create_node(void)\" (?create_node@memory@detail@YAML@@QEAAAEAVnode@23@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t19\terror LNK2001: unresolved external symbol \"public: class YAML::detail::node_iterator_base<class YAML::detail::node> __cdecl YAML::detail::node_data::begin(void)\" (?begin@node_data@detail@YAML@@QEAA?AV?$node_iterator_base@Vnode@detail@YAML@@@23@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t21\terror LNK2001: unresolved external symbol \"public: class YAML::detail::node_iterator_base<class YAML::detail::node> __cdecl YAML::detail::node_data::end(void)\" (?end@node_data@detail@YAML@@QEAA?AV?$node_iterator_base@Vnode@detail@YAML@@@23@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t27\terror LNK2001: unresolved external symbol \"public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > YAML::detail::node_data::empty_scalar\" (?empty_scalar@node_data@detail@YAML@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t17\terror LNK2001: unresolved external symbol \"public: unsigned __int64 __cdecl YAML::detail::node_data::size(void)const \" (?size@node_data@detail@YAML@@QEBA_KXZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t33\terror LNK2001: unresolved external symbol \"public: void __cdecl YAML::detail::memory_holder::merge(class YAML::detail::memory_holder &)\" (?merge@memory_holder@detail@YAML@@QEAAXAEAV123@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t9\terror LNK2001: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::mark_defined(void)\" (?mark_defined@node_data@detail@YAML@@QEAAXXZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t23\terror LNK2001: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::push_back(class YAML::detail::node &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?push_back@node_data@detail@YAML@@QEAAXAEAVnode@23@V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t13\terror LNK2001: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::set_null(void)\" (?set_null@node_data@detail@YAML@@QEAAXXZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t15\terror LNK2001: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::set_scalar(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (?set_scalar@node_data@detail@YAML@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t11\terror LNK2001: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::set_type(enum YAML::NodeType::value)\" (?set_type@node_data@detail@YAML@@QEAAXW4value@NodeType@3@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t1\terror LNK2019: unresolved external symbol \"class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl YAML::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class YAML::Node const &)\" (??6YAML@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV12@AEBVNode@0@@Z) referenced in function \"void __cdecl parse(class std::basic_istream<char,struct std::char_traits<char> > &)\" (?parse@@YAXAEAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\util\\parse.obj\tparse\r\nError\t38\terror LNK2019: unresolved external symbol \"class std::vector<class YAML::Node,class std::allocator<class YAML::Node> > __cdecl YAML::LoadAll(char const *)\" (?LoadAll@YAML@@YA?AV?$vector@VNode@YAML@@V?$allocator@VNode@YAML@@@std@@@std@@PEBD@Z) referenced in function \"struct Test::TEST __cdecl Test::Spec::PrimaryTagHandle(void)\" (?PrimaryTagHandle@Spec@Test@@YA?AUTEST@2@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\spectests.cpp.obj\trun-tests\r\nError\t28\terror LNK2019: unresolved external symbol \"class std::vector<unsigned char,class std::allocator<unsigned char> > __cdecl YAML::DecodeBase64(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (?DecodeBase64@YAML@@YA?AV?$vector@EV?$allocator@E@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z) referenced in function \"public: static bool __cdecl YAML::convert<class YAML::Binary>::decode(class YAML::Node const &,class YAML::Binary &)\" (?decode@?$convert@VBinary@YAML@@@YAML@@SA_NAEBVNode@2@AEAVBinary@2@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t31\terror LNK2019: unresolved external symbol \"class YAML::Node __cdecl YAML::Clone(class YAML::Node const &)\" (?Clone@YAML@@YA?AVNode@1@AEBV21@@Z) referenced in function \"struct `anonymous namespace'::TEST __cdecl Test::Node::CloneScalar(void)\" (?CloneScalar@Node@Test@@YA?AUTEST@?A0x9e464a8f@@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t29\terror LNK2019: unresolved external symbol \"class YAML::Node __cdecl YAML::Load(char const *)\" (?Load@YAML@@YA?AVNode@1@PEBD@Z) referenced in function \"struct `anonymous namespace'::TEST __cdecl Test::Node::ResetNode(void)\" (?ResetNode@Node@Test@@YA?AUTEST@?A0x9e464a8f@@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t2\terror LNK2019: unresolved external symbol \"class YAML::Node __cdecl YAML::Load(class std::basic_istream<char,struct std::char_traits<char> > &)\" (?Load@YAML@@YA?AVNode@1@AEAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z) referenced in function \"void __cdecl parse(class std::basic_istream<char,struct std::char_traits<char> > &)\" (?parse@@YAXAEAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\util\\parse.obj\tparse\r\nError\t5\terror LNK2019: unresolved external symbol \"class YAML::Node __cdecl YAML::Load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (?Load@YAML@@YA?AVNode@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function \"void __cdecl Test::`anonymous namespace'::RunEmitterTest(void (__cdecl*)(class YAML::Emitter &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &),class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int &,int &)\" (?RunEmitterTest@?A0x07de569a@Test@@YAXP6AXAEAVEmitter@YAML@@AEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@ZAEBV56@AEAH4@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\emittertests.obj\trun-tests\r\nError\t36\terror LNK2019: unresolved external symbol \"private: void __cdecl YAML::detail::node_data::convert_to_map(class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?convert_to_map@node_data@detail@YAML@@AEAAXV?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z) referenced in function \"public: void __cdecl YAML::detail::node_data::force_insert<int,int>(int const &,int const &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (??$force_insert@HH@node_data@detail@YAML@@QEAAXAEBH0V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t34\terror LNK2019: unresolved external symbol \"private: void __cdecl YAML::detail::node_data::insert_map_pair(class YAML::detail::node &,class YAML::detail::node &)\" (?insert_map_pair@node_data@detail@YAML@@AEAAXAEAVnode@23@0@Z) referenced in function \"public: void __cdecl YAML::detail::node_data::force_insert<int,int>(int const &,int const &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (??$force_insert@HH@node_data@detail@YAML@@QEAAXAEBH0V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t6\terror LNK2019: unresolved external symbol \"public: class YAML::detail::node & __cdecl YAML::detail::memory::create_node(void)\" (?create_node@memory@detail@YAML@@QEAAAEAVnode@23@XZ) referenced in function \"public: class YAML::detail::node & __cdecl YAML::detail::memory_holder::create_node(void)\" (?create_node@memory_holder@detail@YAML@@QEAAAEAVnode@23@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t24\terror LNK2019: unresolved external symbol \"public: class YAML::detail::node & __cdecl YAML::detail::node_data::get(class YAML::detail::node &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?get@node_data@detail@YAML@@QEAAAEAVnode@23@AEAV423@V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z) referenced in function \"public: class YAML::detail::node & __cdecl YAML::detail::node_ref::get(class YAML::detail::node &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?get@node_ref@detail@YAML@@QEAAAEAVnode@23@AEAV423@V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t18\terror LNK2019: unresolved external symbol \"public: class YAML::detail::node_iterator_base<class YAML::detail::node> __cdecl YAML::detail::node_data::begin(void)\" (?begin@node_data@detail@YAML@@QEAA?AV?$node_iterator_base@Vnode@detail@YAML@@@23@XZ) referenced in function \"public: class YAML::detail::node_iterator_base<class YAML::detail::node> __cdecl YAML::detail::node_ref::begin(void)\" (?begin@node_ref@detail@YAML@@QEAA?AV?$node_iterator_base@Vnode@detail@YAML@@@23@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t20\terror LNK2019: unresolved external symbol \"public: class YAML::detail::node_iterator_base<class YAML::detail::node> __cdecl YAML::detail::node_data::end(void)\" (?end@node_data@detail@YAML@@QEAA?AV?$node_iterator_base@Vnode@detail@YAML@@@23@XZ) referenced in function \"public: class YAML::detail::node_iterator_base<class YAML::detail::node> __cdecl YAML::detail::node_ref::end(void)\"(?end@node_ref@detail@YAML@@QEAA?AV?$node_iterator_base@Vnode@detail@YAML@@@23@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t25\terror LNK2019: unresolved external symbol \"public: static bool __cdecl YAML::convert<bool>::decode(class YAML::Node const &,bool &)\" (?decode@?$convert@_N@YAML@@SA_NAEBVNode@2@AEA_N@Z) referenced in function \"private: static bool __cdecl YAML::detail::node_data::equals<bool>(class YAML::detail::node &,bool const &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (??$equals@_N@node_data@detail@YAML@@CA_NAEAVnode@12@AEB_NV?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t26\terror LNK2019: unresolved external symbol \"public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > YAML::detail::node_data::empty_scalar\" (?empty_scalar@node_data@detail@YAML@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) referenced in function \"public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __cdecl YAML::Node::Scalar(void)const \" (?Scalar@Node@YAML@@QEBAAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t16\terror LNK2019: unresolved external symbol \"public: unsigned __int64 __cdecl YAML::detail::node_data::size(void)const \" (?size@node_data@detail@YAML@@QEBA_KXZ) referenced in function \"public: unsigned __int64 __cdecl YAML::detail::node_ref::size(void)const \" (?size@node_ref@detail@YAML@@QEBA_KXZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t32\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::detail::memory_holder::merge(class YAML::detail::memory_holder &)\" (?merge@memory_holder@detail@YAML@@QEAAXAEAV123@@Z) referenced in function \"private: void __cdecl YAML::Node::AssignData(class YAML::Node const &)\" (?AssignData@Node@YAML@@AEAAXAEBV12@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t8\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::mark_defined(void)\" (?mark_defined@node_data@detail@YAML@@QEAAXXZ) referenced in function \"public: void __cdecl YAML::detail::node_ref::mark_defined(void)\" (?mark_defined@node_ref@detail@YAML@@QEAAXXZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t22\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::push_back(class YAML::detail::node &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?push_back@node_data@detail@YAML@@QEAAXAEAVnode@23@V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z) referenced in function \"public: void __cdecl YAML::detail::node_ref::push_back(class YAML::detail::node &,class boost::shared_ptr<class YAML::detail::memory_holder>)\" (?push_back@node_ref@detail@YAML@@QEAAXAEAVnode@23@V?$shared_ptr@Vmemory_holder@detail@YAML@@@boost@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t12\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::set_null(void)\" (?set_null@node_data@detail@YAML@@QEAAXXZ) referenced in function \"public: void __cdecl YAML::detail::node_ref::set_null(void)\" (?set_null@node_ref@detail@YAML@@QEAAXXZ)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t14\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::set_scalar(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (?set_scalar@node_data@detail@YAML@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function \"public: void __cdecl YAML::detail::node_ref::set_scalar(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (?set_scalar@node_ref@detail@YAML@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t10\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::detail::node_data::set_type(enum YAML::NodeType::value)\" (?set_type@node_data@detail@YAML@@QEAAXW4value@NodeType@3@@Z) referenced in function \"public: void __cdecl YAML::detail::node_ref::set_type(enum YAML::NodeType::value)\" (?set_type@node_ref@detail@YAML@@QEAAXW4value@NodeType@3@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\nodetests.obj\trun-tests\r\nError\t4\terror LNK2019: unresolved external symbol \"public: void __cdecl YAML::ostream_wrapper::write(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (?write@ostream_wrapper@YAML@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function \"class YAML::ostream_wrapper & __cdecl YAML::operator<<(class YAML::ostream_wrapper &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)\" (??6YAML@@YAAEAVostream_wrapper@0@AEAV10@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)\tC:\\Users\\phn\\Downloads\\UA_Parser\\yaml-cpp-0.5.1\\yaml-cpp-0.5.1\\test\\emittertests.obj\trun-tests\r\n\r\nWhat version of the product are you using? On what operating system?\r\nWindows 7 with Visual Studio 2010\r\n\r\nPlease provide any additional information below.\r\n"},"comment":{"url":"https://api.github.com/repos/jbeder/yaml-cpp/issues/comments/202730910","html_url":"https://github.com/jbeder/yaml-cpp/issues/326#issuecomment-202730910","issue_url":"https://api.github.com/repos/jbeder/yaml-cpp/issues/326","id":202730910,"user":{"login":"toeb","id":1451956,"avatar_url":"https://avatars.githubusercontent.com/u/1451956?v=3","gravatar_id":"","url":"https://api.github.com/users/toeb","html_url":"https://github.com/toeb","followers_url":"https://api.github.com/users/toeb/followers","following_url":"https://api.github.com/users/toeb/following{/other_user}","gists_url":"https://api.github.com/users/toeb/gists{/gist_id}","starred_url":"https://api.github.com/users/toeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toeb/subscriptions","organizations_url":"https://api.github.com/users/toeb/orgs","repos_url":"https://api.github.com/users/toeb/repos","events_url":"https://api.github.com/users/toeb/events{/privacy}","received_events_url":"https://api.github.com/users/toeb/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T06:15:52Z","updated_at":"2016-03-29T06:15:52Z","body":"I built it with vs2010 and it failed because of deleted constructors, operators which msvc10 does not support.  When I made them private && no implementation it compiled fine.\r\n\r\nie:\r\n\r\n```cpp\r\n...\r\nnamespace YAML {\r\nnamespace detail {\r\nclass YAML_CPP_API node_data {\r\n public:\r\n  node_data();\r\n// replaced:\r\n//  node_data(const node_data&) = delete;\r\n//  node_data& operator=(const node_data&) = delete;\r\n// with this:\r\nprivate:\r\n  node_data(const node_data&);\r\n  node_data& operator=(const node_data&);\r\npublic:\r\n...\r\n```\r\n\r\n\r\nIts not a nice solution so I guess it boils down to the choice between ugly code or weather to support msvs2010 at all.\r\n\r\n"}}