skip to Main Content
#if defined(__cplusplus)
extern "C"
{
#endif
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/imgutils.h>
#include <libswscale/swscale.h>
#include <libswresample/swresample.h>
#if defined(__cplusplus)
}
#endif

2

Answers


  1. this happened to me when I tried to archive a Flutter app.
    the error disappears after run:

    Flutter clean

    .

    Login or Signup to reply.
  2. add -Wno-module-import-in-extern-c to ‘Apple CLang – Custom Compiler Flags -> Other C++ ‘

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search