{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/476","repository_url":"https://api.github.com/repos/Itseez/opencv_contrib","labels_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/476/comments","events_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/476/events","html_url":"https://github.com/Itseez/opencv_contrib/issues/476","id":122939733,"number":476,"title":"SFM module example error (reconstruct not declared in this scope )","user":{"login":"Wababa","id":14309269,"avatar_url":"https://avatars.githubusercontent.com/u/14309269?v=3","gravatar_id":"","url":"https://api.github.com/users/Wababa","html_url":"https://github.com/Wababa","followers_url":"https://api.github.com/users/Wababa/followers","following_url":"https://api.github.com/users/Wababa/following{/other_user}","gists_url":"https://api.github.com/users/Wababa/gists{/gist_id}","starred_url":"https://api.github.com/users/Wababa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wababa/subscriptions","organizations_url":"https://api.github.com/users/Wababa/orgs","repos_url":"https://api.github.com/users/Wababa/repos","events_url":"https://api.github.com/users/Wababa/events{/privacy}","received_events_url":"https://api.github.com/users/Wababa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv_contrib/labels/invalid","name":"invalid","color":"000000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-12-18T12:21:29Z","updated_at":"2016-03-03T21:02:39Z","closed_at":"2015-12-18T15:21:38Z","body":"Hi,\r\nI followed the steps from the opencv docs to install the dependencies and the Ceres solver for the SFM module and everything seemed to have worked. Afterwards I tried compiling the example code and I get the following error:\r\nstructure.cpp:118:77: error: ‘reconstruct’ was not declared in this scope\r\n   reconstruct(points2d, Rs_est, ts_est, K, points3d_estimated, is_projective);\r\n\r\nThe full code can be found here: http://docs.opencv.org/master/d4/d18/tutorial_sfm_scene_reconstruction.html#gsc.tab=0\r\n\r\nIm running Ubuntu 14.04.\r\n\r\nI hope someone can help me. Thank you!\r\n"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/comments/191961506","html_url":"https://github.com/Itseez/opencv_contrib/issues/476#issuecomment-191961506","issue_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/476","id":191961506,"user":{"login":"raderic","id":17624342,"avatar_url":"https://avatars.githubusercontent.com/u/17624342?v=3","gravatar_id":"","url":"https://api.github.com/users/raderic","html_url":"https://github.com/raderic","followers_url":"https://api.github.com/users/raderic/followers","following_url":"https://api.github.com/users/raderic/following{/other_user}","gists_url":"https://api.github.com/users/raderic/gists{/gist_id}","starred_url":"https://api.github.com/users/raderic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raderic/subscriptions","organizations_url":"https://api.github.com/users/raderic/orgs","repos_url":"https://api.github.com/users/raderic/repos","events_url":"https://api.github.com/users/raderic/events{/privacy}","received_events_url":"https://api.github.com/users/raderic/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T21:02:39Z","updated_at":"2016-03-03T21:02:39Z","body":"@BorgesJVT \r\nI have done you said but now I get a linker error:\r\n\r\n>  undefined reference to `cv::sfm::reconstruct\r\n\r\nI've installed CERES and I don't know what is a problem.\r\nCould you help me? For example, show me your CMakeList. \r\nThanks ."}}