{"action":"closed","issue":{"url":"https://api.github.com/repos/Svalorzen/asn1cpp/issues/1","repository_url":"https://api.github.com/repos/Svalorzen/asn1cpp","labels_url":"https://api.github.com/repos/Svalorzen/asn1cpp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Svalorzen/asn1cpp/issues/1/comments","events_url":"https://api.github.com/repos/Svalorzen/asn1cpp/issues/1/events","html_url":"https://github.com/Svalorzen/asn1cpp/issues/1","id":362784926,"node_id":"MDU6SXNzdWUzNjI3ODQ5MjY=","number":1,"title":"Help to compile on Windows","user":{"login":"rodrigoncalves","id":4074139,"node_id":"MDQ6VXNlcjQwNzQxMzk=","avatar_url":"https://avatars1.githubusercontent.com/u/4074139?v=4","gravatar_id":"","url":"https://api.github.com/users/rodrigoncalves","html_url":"https://github.com/rodrigoncalves","followers_url":"https://api.github.com/users/rodrigoncalves/followers","following_url":"https://api.github.com/users/rodrigoncalves/following{/other_user}","gists_url":"https://api.github.com/users/rodrigoncalves/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigoncalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigoncalves/subscriptions","organizations_url":"https://api.github.com/users/rodrigoncalves/orgs","repos_url":"https://api.github.com/users/rodrigoncalves/repos","events_url":"https://api.github.com/users/rodrigoncalves/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigoncalves/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-21T21:47:51Z","updated_at":"2018-09-22T14:13:26Z","closed_at":"2018-09-22T14:13:26Z","author_association":"NONE","body":"Help me to make it work using Visual Studio. When I import the headers I receive some compilation errors. \r\n\r\nMy code:\r\n```\r\nauto sigPolHash = asn1cpp::makeSeq(SigPolicyHash);\r\nasn1cpp::setField(sigPolHash->hashAlgorithm, \"1.2.840.113549.1.9.16.2.15\");\r\nasn1cpp::setField(sigPolHash->hashValue, \"\\x89\\xA5\\xEA\\x68\\xCC\\x0F\\x7E\\x4E\\x89\\xA6\\x23\\xBF\\xA6\\xC8\\x40\\x75\\xCB\\xAF\\x44\\x35\\x35\\x5B\\x82\\x84\\x56\\xFF\\xD1\\x44\\x8E\\x5B\\xA3\\x52\");\r\nauto value = asn1cpp::getField(sigPolHash->hashAlgorithm, std::string);\r\n``` \r\n\r\nCompilation error:\r\n```\r\n1>c:\\project\\include\\asn1cpp\\view.hpp(285): error C2976: 'asn1cpp::Impl::Setter': too few template arguments\r\n1>c:\\project\\include\\asn1cpp\\view.hpp(14): note: see declaration of 'asn1cpp::Impl::Setter'\r\n1>c:\\project\\include\\asn1cpp\\view.hpp(289): note: see reference to class template instantiation 'asn1cpp::View<T>' being compiled\r\n1>c:\\project\\include\\asn1cpp\\setter.hpp(35): error C2976: 'asn1cpp::Impl::Setter': too few template arguments\r\n1>c:\\project\\include\\asn1cpp\\setter.hpp(29): note: see declaration of 'asn1cpp::Impl::Setter'\r\n1>c:\\project\\include\\asn1cpp\\setter.hpp(43): error C2913: explicit specialization; 'asn1cpp::Impl::Setter' is not a specialization of a class template\r\n1>c:\\project\\include\\asn1cpp\\setter.hpp(59): error C2913: explicit specialization; 'asn1cpp::Impl::Setter' is not a specialization of a class template\r\n1>c:\\project\\include\\asn1cpp\\setter.hpp(72): error C2913: explicit specialization; 'asn1cpp::Impl::Setter' is not a specialization of a class template\r\n```\r\n\r\nI am using Microsoft Windows 2017 with toolset v141."}}
{"actor":{"display_login":"Svalorzen"}}