{"action":"opened","issue":{"url":"https://api.github.com/repos/zhongweiy/AOI/issues/1","labels_url":"https://api.github.com/repos/zhongweiy/AOI/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zhongweiy/AOI/issues/1/comments","events_url":"https://api.github.com/repos/zhongweiy/AOI/issues/1/events","html_url":"https://github.com/zhongweiy/AOI/issues/1","id":88150839,"number":1,"title":"Error make","user":{"login":"ghalghaz","id":2884845,"avatar_url":"https://avatars.githubusercontent.com/u/2884845?v=3","gravatar_id":"","url":"https://api.github.com/users/ghalghaz","html_url":"https://github.com/ghalghaz","followers_url":"https://api.github.com/users/ghalghaz/followers","following_url":"https://api.github.com/users/ghalghaz/following{/other_user}","gists_url":"https://api.github.com/users/ghalghaz/gists{/gist_id}","starred_url":"https://api.github.com/users/ghalghaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghalghaz/subscriptions","organizations_url":"https://api.github.com/users/ghalghaz/orgs","repos_url":"https://api.github.com/users/ghalghaz/repos","events_url":"https://api.github.com/users/ghalghaz/events{/privacy}","received_events_url":"https://api.github.com/users/ghalghaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-14T08:59:32Z","updated_at":"2015-06-14T08:59:32Z","closed_at":null,"body":"Hi @zhongweiy \r\n\r\nI got the following error, when execute make:\r\n\r\nmkdir -p build\r\ng++ `pkg-config --cflags --libs opencv cvblob` -Wall -g -D DEBUG -c src/HoleData.cpp -o build/HoleData.o\r\nIn file included from src/HoleData.cpp:2:0:\r\nsrc/aoiaux.hpp:11:27: error: ‘vector’ does not name a type\r\n                     const vector<Rect> &rois, \r\n                           ^\r\nsrc/aoiaux.hpp:11:27: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\nsrc/aoiaux.hpp:11:33: error: expected ‘,’ or ‘...’ before ‘<’ token\r\n                     const vector<Rect> &rois, \r\n                                 ^\r\nsrc/aoiaux.hpp:16:22: error: ‘string’ does not name a type\r\n                const string &method,\r\n                      ^\r\nsrc/aoiaux.hpp:16:30: error: ISO C++ forbids declaration of ‘method’ with no type [-fpermissive]\r\n                const string &method,\r\n                              ^\r\nsrc/aoiaux.hpp:40:27: error: ‘string’ does not name a type\r\n                     const string &,\r\n                           ^\r\nsrc/aoiaux.hpp:40:34: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]\r\n                     const string &,\r\n                                  ^\r\nsrc/HoleData.cpp: In member function ‘bool HoleData::connect_count_preprocess(cv::Mat&, const string&)’:\r\nsrc/HoleData.cpp:91:67: error: invalid initialization of reference of type ‘const int&’ from expression of type ‘const string {aka const std::basic_string<char>}’\r\n   get_pre_colors(img_binary, pre_colors, color_config_file_name, 0);  \r\n                                                                   ^\r\nIn file included from src/HoleData.cpp:2:0:\r\nsrc/aoiaux.hpp:38:6: error: in passing argument 3 of ‘void get_pre_colors(const cv::Mat&, std::vector<cv::Vec<unsigned char, 3> >&, const int&, bool)’\r\n void get_pre_colors(const cv::Mat &, \r\n      ^\r\nmake: *** [build/HoleData.o] Error 1\r\n\r\n\r\nany help, thanks.\r\n\r\n"}}