Hi,
I am still getting to know native code.
I am trying to include libswscale into my c++ project using extern C like I have already with libavcodec but the compiler complains of an error in swscale.h when I include in my c++ file - I have tried to use a c file as well but it tells me iso c++ forbids forward references to 'enum' because some of the function declarations in the header file contain references to enum.
My own research suggests it may have something to do with using c++11 which I think I am using in my project.
Is there anything I can do to fix this and include swscale.h without errors so I can resize an AVFrame* in my project using libswscale?
My project is a Tizen app with a native module and seems to have to use flags -c and -std=gnu++11 to compile without errors usually.
Thanks in advance.