{"action":"closed","issue":{"url":"https://api.github.com/repos/randombit/botan/issues/77","labels_url":"https://api.github.com/repos/randombit/botan/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/randombit/botan/issues/77/comments","events_url":"https://api.github.com/repos/randombit/botan/issues/77/events","html_url":"https://github.com/randombit/botan/issues/77","id":68019243,"number":77,"title":"More windows woes","user":{"login":"cdesjardins","id":1149188,"avatar_url":"https://avatars.githubusercontent.com/u/1149188?v=3","gravatar_id":"","url":"https://api.github.com/users/cdesjardins","html_url":"https://github.com/cdesjardins","followers_url":"https://api.github.com/users/cdesjardins/followers","following_url":"https://api.github.com/users/cdesjardins/following{/other_user}","gists_url":"https://api.github.com/users/cdesjardins/gists{/gist_id}","starred_url":"https://api.github.com/users/cdesjardins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdesjardins/subscriptions","organizations_url":"https://api.github.com/users/cdesjardins/orgs","repos_url":"https://api.github.com/users/cdesjardins/repos","events_url":"https://api.github.com/users/cdesjardins/events{/privacy}","received_events_url":"https://api.github.com/users/cdesjardins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-13T06:30:31Z","updated_at":"2015-05-10T21:54:32Z","closed_at":"2015-05-10T21:54:32Z","body":"This is something I have been seeing for a few weeks and just working around locally, but it doesn't seem to be going away. \r\n\r\n```\r\n4>botan-1.11.lib(botan_all.obj) : error LNK2005: \"public: unsigned int __thiscall Botan::BigInt::bytes(void)const \" (?bytes@BigInt@Botan@@QBEIXZ) already defined in cppsshd.lib(keys.obj)\r\n4>botan-1.11.lib(botan_all.obj) : error LNK2005: \"public: class std::vector<unsigned char,class std::allocator<unsigned char> > __thiscall Botan::PK_Signer::sign_message(unsigned char const * const,unsigned int,class Botan::RandomNumberGenerator &)\" (?sign_message@PK_Signer@Botan@@QAE?AV?$vector@EV?$allocator@E@std@@@std@@QBEIAAVRandomNumberGenerator@2@@Z) already defined in cppsshd.lib(keys.obj)\r\n```\r\n\r\nIt seems that this is related to using a static build on windows (again) and functions defined in the header that I actually use. It seems that the functions are defined in the library, and also pulled in to my exe from the .h file, and the two definitions collide at final link time. I work around it by just moving the definition of the functions in question to the cpp file."}}