certik / yaml-cpp

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

Unresolvable symbols with Visual Studio 2013 #280

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cmake for Visual Studio 12 2013 with default options
2. Build Debug or Release
3. Link to example project

What is the expected output? What do you see instead?
The library builds without errors. When trying to compile my example project 
the linker throws two errors for unresolvable symbols, see below

What version of the product are you using? On what operating system?
Visual Studio Express 2013

Please provide any additional information below:
Sorry, it's in german, but still pretty self explanatory I guess:

Fehler  1   error LNK2001: Nicht aufgelöstes externes Symbol ""public: class 
YAML::Node __thiscall YAML::Node::operator[]<char const [4]>(char const 
(&)[4])" (??$?A$$BY03$$CBD@Node@YAML@@QAE?AV01@AAY03$$CBD@Z)".

Fehler  2   error LNK2001: Nicht aufgelöstes externes Symbol ""public: class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> const __thiscall YAML::Node::as<class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > >(void)const " 
(??$as@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Node@YAML@
@QBE?BV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)".

Any help here would be greatly appreciated.

Best regards,
Daniel

Original issue reported on code.google.com by ellion0815@googlemail.com on 21 Feb 2015 at 8:27