{"action":"created","issue":{"url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/260","repository_url":"https://api.github.com/repos/ceres-solver/ceres-solver","labels_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/260/comments","events_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/260/events","html_url":"https://github.com/ceres-solver/ceres-solver/issues/260","id":216058122,"number":260,"title":"unresolved external symbols","user":{"login":"chrisluu","id":10302313,"avatar_url":"https://avatars2.githubusercontent.com/u/10302313?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisluu","html_url":"https://github.com/chrisluu","followers_url":"https://api.github.com/users/chrisluu/followers","following_url":"https://api.github.com/users/chrisluu/following{/other_user}","gists_url":"https://api.github.com/users/chrisluu/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisluu/subscriptions","organizations_url":"https://api.github.com/users/chrisluu/orgs","repos_url":"https://api.github.com/users/chrisluu/repos","events_url":"https://api.github.com/users/chrisluu/events{/privacy}","received_events_url":"https://api.github.com/users/chrisluu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"alexsmac","id":2162123,"avatar_url":"https://avatars3.githubusercontent.com/u/2162123?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsmac","html_url":"https://github.com/alexsmac","followers_url":"https://api.github.com/users/alexsmac/followers","following_url":"https://api.github.com/users/alexsmac/following{/other_user}","gists_url":"https://api.github.com/users/alexsmac/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsmac/subscriptions","organizations_url":"https://api.github.com/users/alexsmac/orgs","repos_url":"https://api.github.com/users/alexsmac/repos","events_url":"https://api.github.com/users/alexsmac/events{/privacy}","received_events_url":"https://api.github.com/users/alexsmac/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexsmac","id":2162123,"avatar_url":"https://avatars3.githubusercontent.com/u/2162123?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsmac","html_url":"https://github.com/alexsmac","followers_url":"https://api.github.com/users/alexsmac/followers","following_url":"https://api.github.com/users/alexsmac/following{/other_user}","gists_url":"https://api.github.com/users/alexsmac/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsmac/subscriptions","organizations_url":"https://api.github.com/users/alexsmac/orgs","repos_url":"https://api.github.com/users/alexsmac/repos","events_url":"https://api.github.com/users/alexsmac/events{/privacy}","received_events_url":"https://api.github.com/users/alexsmac/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-03-22T13:17:19Z","updated_at":"2017-03-27T01:15:53Z","closed_at":"2017-03-23T09:35:03Z","body":"The error message is as follows:\r\nunresolved external symbol \"__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __cdecl google::base::CheckOpMessageBuilder::NewString(void)\" (__imp_?NewString@CheckOpMessageBuilder@base@google@@QEAAPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)\r\n\r\nI add ceres c++ include dir and linker lib dir, and input ceres.lib in linker input option. I also put ceres.dll into my release dir together with exe file. But always got the error message described above. Can somebody help out? Thanks."},"comment":{"url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/comments/289332414","html_url":"https://github.com/ceres-solver/ceres-solver/issues/260#issuecomment-289332414","issue_url":"https://api.github.com/repos/ceres-solver/ceres-solver/issues/260","id":289332414,"user":{"login":"xiaofeiwu","id":7548504,"avatar_url":"https://avatars1.githubusercontent.com/u/7548504?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaofeiwu","html_url":"https://github.com/xiaofeiwu","followers_url":"https://api.github.com/users/xiaofeiwu/followers","following_url":"https://api.github.com/users/xiaofeiwu/following{/other_user}","gists_url":"https://api.github.com/users/xiaofeiwu/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaofeiwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaofeiwu/subscriptions","organizations_url":"https://api.github.com/users/xiaofeiwu/orgs","repos_url":"https://api.github.com/users/xiaofeiwu/repos","events_url":"https://api.github.com/users/xiaofeiwu/events{/privacy}","received_events_url":"https://api.github.com/users/xiaofeiwu/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T01:15:53Z","updated_at":"2017-03-27T01:15:53Z","body":"I'm compiling ceres on Windows 7 with VS 2015 with glog also compiled in VS 2015. I met similar problem with 4 errors showing:\r\n\r\nError LNK2019\tunresolved external symbol \"void __cdecl ceres::internal::GetBestSchurTemplateSpecialization(int *,int *,int *)\" (?GetBestSchurTemplateSpecialization@internal@ceres@@YAXPAH00@Z) referenced in function \"public: virtual void __thiscall ceres::Solver::Solve(struct ceres::Solver::Options const &,class ceres::Problem *,struct ceres::Solver::Summary *)\" (?Solve@Solver@ceres@@UAEXABUOptions@12@PAVProblem@2@PAUSummary@12@@Z)\tceres\tE:\\Codes\\ceres-windows-master\\win\\solver.obj\t1\t\r\n\r\nError LNK1120: 1 unresolved externals\tceres E:\\Codes\\ceres-windows-master\\Win32\\Debug\\ceres.dll\t1\t\r\n\r\nAppriciate if there is any cues on how to solve it!\r\n"}}
{"actor":{"display_login":"xiaofeiwu"}}