{"action":"opened","issue":{"url":"https://api.github.com/repos/tachiweasel/mupen64plus-video-videocore/issues/1","repository_url":"https://api.github.com/repos/tachiweasel/mupen64plus-video-videocore","labels_url":"https://api.github.com/repos/tachiweasel/mupen64plus-video-videocore/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tachiweasel/mupen64plus-video-videocore/issues/1/comments","events_url":"https://api.github.com/repos/tachiweasel/mupen64plus-video-videocore/issues/1/events","html_url":"https://github.com/tachiweasel/mupen64plus-video-videocore/issues/1","id":138785565,"number":1,"title":"Cannot build plugin","user":{"login":"gizmo98","id":6412699,"avatar_url":"https://avatars.githubusercontent.com/u/6412699?v=3","gravatar_id":"","url":"https://api.github.com/users/gizmo98","html_url":"https://github.com/gizmo98","followers_url":"https://api.github.com/users/gizmo98/followers","following_url":"https://api.github.com/users/gizmo98/following{/other_user}","gists_url":"https://api.github.com/users/gizmo98/gists{/gist_id}","starred_url":"https://api.github.com/users/gizmo98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gizmo98/subscriptions","organizations_url":"https://api.github.com/users/gizmo98/orgs","repos_url":"https://api.github.com/users/gizmo98/repos","events_url":"https://api.github.com/users/gizmo98/events{/privacy}","received_events_url":"https://api.github.com/users/gizmo98/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-06T11:55:08Z","updated_at":"2016-03-06T11:55:08Z","closed_at":null,"body":"I cannot build this plugin. `CFLAG += -I/opt/vc/include` is missing. If i add this path there are still other error messages. \r\n\r\n```\r\nmake\r\ng++ -c -O2 -Wall -Wno-parentheses -std=c++11 -DHAVE_OPENGLES2 -I/opt/vc/include -o VCConfig.o VCConfig.cpp\r\nVCConfig.cpp: In function 'void VCConfig_Read(VCConfig*)':\r\nVCConfig.cpp:67:33: error: 'PATH_MAX' was not declared in this scope\r\n     char *path = (char *)malloc(PATH_MAX + 1);\r\n                                 ^\r\nVCConfig.cpp:77:15: error: use of deleted function 'std::basic_ifstream<char>& std::basic_ifstream<char>::operator=(const std::basic_ifstream<char>&)'\r\n         input = std::ifstream(path);\r\n               ^\r\nIn file included from VCConfig.cpp:5:0:\r\n/usr/include/c++/4.9/fstream:430:11: note: 'std::basic_ifstream<char>& std::basic_ifstream<char>::operator=(const std::basic_ifstream<char>&)' is implicitly deleted because the default definition would be ill-formed:\r\n     class basic_ifstream : public basic_istream<_CharT, _Traits>\r\n           ^\r\n/usr/include/c++/4.9/fstream:430:11: error: use of deleted function 'std::basic_istream<char>& std::basic_istream<char>::operator=(const std::basic_istream<char>&)'\r\nIn file included from /usr/include/c++/4.9/fstream:38:0,\r\n                 from VCConfig.cpp:5:\r\n/usr/include/c++/4.9/istream:58:11: note: 'std::basic_istream<char>& std::basic_istream<char>::operator=(const std::basic_istream<char>&)' is implicitly deleted because the default definition would be ill-formed:\r\n     class basic_istream : virtual public basic_ios<_CharT, _Traits>\r\n           ^\r\n/usr/include/c++/4.9/istream:58:11: error: use of deleted function 'std::basic_ios<char>& std::basic_ios<char>::operator=(const std::basic_ios<char>&)'\r\nIn file included from /usr/include/c++/4.9/ios:44:0,\r\n                 from /usr/include/c++/4.9/istream:38,\r\n                 from /usr/include/c++/4.9/fstream:38,\r\n                 from VCConfig.cpp:5:\r\n/usr/include/c++/4.9/bits/basic_ios.h:66:11: note: 'std::basic_ios<char>& std::basic_ios<char>::operator=(const std::basic_ios<char>&)' is implicitly deleted because the default definition would be ill-formed:\r\n     class basic_ios : public ios_base\r\n           ^\r\nIn file included from /usr/include/c++/4.9/ios:42:0,\r\n                 from /usr/include/c++/4.9/istream:38,\r\n                 from /usr/include/c++/4.9/fstream:38,\r\n                 from VCConfig.cpp:5:\r\n/usr/include/c++/4.9/bits/ios_base.h:789:5: error: 'std::ios_base& std::ios_base::operator=(const std::ios_base&)' is private\r\n     operator=(const ios_base&);\r\n     ^\r\nIn file included from /usr/include/c++/4.9/ios:44:0,\r\n                 from /usr/include/c++/4.9/istream:38,\r\n                 from /usr/include/c++/4.9/fstream:38,\r\n                 from VCConfig.cpp:5:\r\n/usr/include/c++/4.9/bits/basic_ios.h:66:11: error: within this context\r\n     class basic_ios : public ios_base\r\n           ^\r\nIn file included from VCConfig.cpp:5:0:\r\n/usr/include/c++/4.9/fstream:430:11: error: use of deleted function 'std::basic_filebuf<char>& std::basic_filebuf<char>::operator=(const std::basic_filebuf<char>&)'\r\n     class basic_ifstream : public basic_istream<_CharT, _Traits>\r\n           ^\r\n/usr/include/c++/4.9/fstream:72:11: note: 'std::basic_filebuf<char>& std::basic_filebuf<char>::operator=(const std::basic_filebuf<char>&)' is implicitly deleted because the default definition would be ill-formed:\r\n     class basic_filebuf : public basic_streambuf<_CharT, _Traits>\r\n           ^\r\nIn file included from /usr/include/c++/4.9/ios:43:0,\r\n                 from /usr/include/c++/4.9/istream:38,\r\n                 from /usr/include/c++/4.9/fstream:38,\r\n                 from VCConfig.cpp:5:\r\n/usr/include/c++/4.9/streambuf:810:7: error: 'std::basic_streambuf<_CharT, _Traits>& std::basic_streambuf<_CharT, _Traits>::operator=(const std::basic_streambuf<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>]' is private\r\n       operator=(const basic_streambuf&) { return *this; };\r\n       ^\r\nIn file included from VCConfig.cpp:5:0:\r\n/usr/include/c++/4.9/fstream:72:11: error: within this context\r\n     class basic_filebuf : public basic_streambuf<_CharT, _Traits>\r\n           ^\r\nVCConfig.cpp:80:15: error: use of deleted function 'std::basic_ifstream<char>& std::basic_ifstream<char>::operator=(const std::basic_ifstream<char>&)'\r\n         input = std::ifstream(path);\r\n               ^\r\nVCConfig.cpp:99:19: error: use of deleted function 'std::basic_ifstream<char>& std::basic_ifstream<char>::operator=(const std::basic_ifstream<char>&)'\r\n             input = std::ifstream(path);\r\n                   ^\r\nVCConfig.cpp: At global scope:\r\nVCConfig.cpp:51:14: warning: 'char* VCConfig_GetString(const toml::Value&, const char*, const char*)' defined but not used [-Wunused-function]\r\n static char *VCConfig_GetString(const toml::Value &topValue,\r\n              ^\r\nMakefile:81: recipe for target 'VCConfig.o' failed\r\nmake: *** [VCConfig.o] Error 1\r\n```"}}