An error occurred while compiling FFMPEG:
/Usr/include/Linux/videodev2.h: 518:Error:Syntax error before
......
Open/Usr/include/Linux/videodev2.h, 518 rowsCode:
Typedef _ u64 v4l2_std_id;
This error may be because the current compilation environment does not recognize the _ u64 Declaration (My GCC version: GCC version 3.4.6 20060404)
I had to modify the "great" FFMPEG source code:_ U64Change statementUnsigned long,
Save, recompile, and make another declaration error. The error occurs in/usr/include/Linux/videodev. h, and then modify it,
SetUlongChange declarationUnsigned long, Save, compile, and pass.
You can also use the macro definition to correct this error. However, since there is no problem in other places, you should change it to see if there is any problem.
There is no 64-bit server environment, as if_ U64Such declarations have poor compatibility. Alas, after all, there are too many compiler versions, but the developers who work in these architectures really don't understand the outcome. Is it really "great? It only consumes more energy... and the application should not bear such errors.