{"action":"opened","issue":{"url":"https://api.github.com/repos/ponchio/untrunc/issues/104","repository_url":"https://api.github.com/repos/ponchio/untrunc","labels_url":"https://api.github.com/repos/ponchio/untrunc/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/ponchio/untrunc/issues/104/comments","events_url":"https://api.github.com/repos/ponchio/untrunc/issues/104/events","html_url":"https://github.com/ponchio/untrunc/issues/104","id":306673649,"number":104,"title":"track.cpp:43:11: fatal error: 'config.h' file not found","user":{"login":"vicsandr","id":37560455,"avatar_url":"https://avatars1.githubusercontent.com/u/37560455?v=4","gravatar_id":"","url":"https://api.github.com/users/vicsandr","html_url":"https://github.com/vicsandr","followers_url":"https://api.github.com/users/vicsandr/followers","following_url":"https://api.github.com/users/vicsandr/following{/other_user}","gists_url":"https://api.github.com/users/vicsandr/gists{/gist_id}","starred_url":"https://api.github.com/users/vicsandr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicsandr/subscriptions","organizations_url":"https://api.github.com/users/vicsandr/orgs","repos_url":"https://api.github.com/users/vicsandr/repos","events_url":"https://api.github.com/users/vicsandr/events{/privacy}","received_events_url":"https://api.github.com/users/vicsandr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T23:21:51Z","updated_at":"2018-03-19T23:21:51Z","closed_at":null,"author_association":"NONE","body":"Having a devil of a time compiling this on Mac OS 10.11.6 El Capitan. \r\nThis is what I tried and the subsequent result:\r\n$ g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -L/usr/local/lib -lavformat -lavcodec -lavutil\r\ntrack.cpp:43:11: fatal error: 'config.h' file not found\r\n# include <config.h>\r\n          ^\r\n1 error generated.\r\nmp4.cpp:293:46: warning: 'codec' is deprecated [-Wdeprecated-declarations]\r\n                track.codec.context = context->streams[i]->codec;\r\n                                                           ^\r\n/usr/local/include/libavformat/avformat.h:893:21: note: 'codec' has been\r\n      explicitly marked deprecated here\r\n    AVCodecContext *codec;\r\n                    ^\r\n1 warning generated.\r\nESF-POST:untrunc-master vicsandr$ g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -L/usr/local/lib -lavformat -lavcodec -lavutil\r\ntrack.cpp:43:11: fatal error: 'config.h' file not found\r\n# include <config.h>\r\n          ^\r\n1 error generated.\r\nmp4.cpp:293:46: warning: 'codec' is deprecated [-Wdeprecated-declarations]\r\n                track.codec.context = context->streams[i]->codec;\r\n                                                           ^\r\n/usr/local/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here\r\n    AVCodecContext *codec;\r\n                    ^\r\n1 warning generated.\r\nESF-POST:untrunc-master vicsandr$  g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -I./libav-12.2 -L./libav-12.2/libavformat -lavformat -L./libav-12.2/libavcodec -lavcodec -L./libav-12.2/libavresample -lavresample -L./libav-12.2/libavutil -lavutil -lpthread -lz -framework CoreFoundation -framework CoreVideo -framework VideoDecodeAcceleration -lbz2\r\ntrack.cpp:43:11: fatal error: 'config.h' file not found\r\n# include <config.h>\r\n          ^\r\n1 error generated.\r\nmp4.cpp:293:46: warning: 'codec' is deprecated [-Wdeprecated-declarations]\r\n                track.codec.context = context->streams[i]->codec;\r\n                                                           ^\r\n/usr/local/include/libavformat/avformat.h:893:21: note: 'codec' has been explicitly marked deprecated here\r\n    AVCodecContext *codec;\r\n                    ^\r\n1 warning generated.\r\n\r\nAny help would be appreciated. Thanks.\r\n\r\n"}}
{"actor":{"display_login":"vicsandr"}}