yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Newest release won't build

Open killereks opened this issue 10 months ago • 1 comments

I've used CMake to generate the .sln file and then built the project. I have then linked everything correctly but i get these two errors (C++ 17):

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2491	'YAML::detail::node::m_amount': definition of dllimport static data member not allowed	Dependencies\yaml\src\node_data.cpp	16	

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2720	'YAML::detail::node::m_amount': '__declspec(dllimport)' storage-class specifier illegal on members	Dependencies\yaml\src\node_data.cpp	16	

killereks avatar Aug 26 '23 18:08 killereks