Because the library was written in C for the first time, some compilation problems were encountered, as well as reference issues
I386
1. A library with the suffix. A is added directly to OK
2.include folder files, is not directly added to the project, you need to add the header reference path in the project file, you can
Targets->build setting->search Paths->header Search Paths
Add "$ (srcroot)/engineering path/include" here
Then place the Include folder at the corresponding path
There is also a reference to the header file (libH264Dec.h) does not need to join the project, directly placed in the file directory referencing the header can be
3. Compile the error question
(1) Error not defined what what h264decoder.o what, this kind of wrong solution is
Targets->architectures->architectures
Change here to ARMv6 ARMv7
(2) Whether the error "Class" Is "class"
OC files can not directly reference C files, you need to change the OC corresponding. m file suffix to. mm file after reference, if the memory is automatically released by the project, you need to set this file to manually release
Add FFmpeg to the project, as well as problems encountered in H264decoder