{"action":"created","issue":{"url":"https://api.github.com/repos/mrnugget/opencv-haar-classifier-training/issues/7","labels_url":"https://api.github.com/repos/mrnugget/opencv-haar-classifier-training/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/mrnugget/opencv-haar-classifier-training/issues/7/comments","events_url":"https://api.github.com/repos/mrnugget/opencv-haar-classifier-training/issues/7/events","html_url":"https://github.com/mrnugget/opencv-haar-classifier-training/issues/7","id":63455305,"number":7,"title":"Needed to include cvsamplesoutput.cpp in step 6","user":{"login":"superlou","id":709695,"avatar_url":"https://avatars.githubusercontent.com/u/709695?v=3","gravatar_id":"","url":"https://api.github.com/users/superlou","html_url":"https://github.com/superlou","followers_url":"https://api.github.com/users/superlou/followers","following_url":"https://api.github.com/users/superlou/following{/other_user}","gists_url":"https://api.github.com/users/superlou/gists{/gist_id}","starred_url":"https://api.github.com/users/superlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superlou/subscriptions","organizations_url":"https://api.github.com/users/superlou/orgs","repos_url":"https://api.github.com/users/superlou/repos","events_url":"https://api.github.com/users/superlou/events{/privacy}","received_events_url":"https://api.github.com/users/superlou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-21T21:08:33Z","updated_at":"2015-04-28T15:13:43Z","closed_at":"2015-04-28T15:13:43Z","body":"I was initially receiving `cvhaartraining.cpp:(.text+0xafd5): undefined reference to 'IOutput::createOutput(char const*, IOutput::OutputType)'` during step 6.  In order to compile mergevec, I needed to use the following command:\r\n\r\ng++ `pkg-config --libs --cflags opencv | sed 's/libtbb\\.dylib/tbb/'`  -I. -o mergevec mergevec.cpp  cvboost.cpp cvcommon.cpp cvsamples.cpp cvhaarclassifier.cpp  cvhaartraining.cpp cvsamplesoutput.cpp  -lopencv_core -lopencv_calib3d -lopencv_imgproc -lopencv_highgui -lopencv_objdetect\r\n\r\nI think someone else ran into this issue on [Stackoverflow](http://stackoverflow.com/questions/27481644/c-compile-error-when-i-try-to-learn-opencv-train-features) as well."},"comment":{"url":"https://api.github.com/repos/mrnugget/opencv-haar-classifier-training/issues/comments/97101402","html_url":"https://github.com/mrnugget/opencv-haar-classifier-training/issues/7#issuecomment-97101402","issue_url":"https://api.github.com/repos/mrnugget/opencv-haar-classifier-training/issues/7","id":97101402,"user":{"login":"mrnugget","id":1185253,"avatar_url":"https://avatars.githubusercontent.com/u/1185253?v=3","gravatar_id":"","url":"https://api.github.com/users/mrnugget","html_url":"https://github.com/mrnugget","followers_url":"https://api.github.com/users/mrnugget/followers","following_url":"https://api.github.com/users/mrnugget/following{/other_user}","gists_url":"https://api.github.com/users/mrnugget/gists{/gist_id}","starred_url":"https://api.github.com/users/mrnugget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrnugget/subscriptions","organizations_url":"https://api.github.com/users/mrnugget/orgs","repos_url":"https://api.github.com/users/mrnugget/repos","events_url":"https://api.github.com/users/mrnugget/events{/privacy}","received_events_url":"https://api.github.com/users/mrnugget/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T15:13:43Z","updated_at":"2015-04-28T15:13:43Z","body":"I'm closing this for now. If someone wants to provide instructions for Linux a pull request would be greatly appreciated :)"}}