error: expected '=', ',', ';&#

2019-09-05 00:33发布

I have compiled ffmpeg for android ndk r7b in Ubuntu 11.10 and now I am trying to use it. I added to my jni directory include folder, which contains header files, and lib
directory which contains .so files of ffmpeg.
After ndk-build command I get expected '=', ',', ';', 'asm' or 'attribute' before 'secret' error. I read a lot of posts connected with this error and most of them insist that C compiler causes this error and they advice to use g++. I removed gcc compiler and installed g++, but the error doesn't disappear.

0条回答
登录 后发表回答