大家好,又见面了,我是你们的朋友全栈君。
出现error LNK2019: 无法解析的外部符号 “void __cdecl av_close_input_file(struct AVFormatContext *)” ([email=?av_close_input_file@@YAXPAUAVFormatContext@@@Z]?
包含的文件要像
extern “C” { #include “libavcodec\avcodec.h” #include “libavformat\avformat.h” #include “libswscale\swscale.h” }; |
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/153457.html原文链接:https://javaforall.net