FFmpegPlayer icon indicating copy to clipboard operation
FFmpegPlayer copied to clipboard

使用0.1.56编译报错

Open wangdemon opened this issue 1 year ago • 1 comments

首先,感谢作者写一个这么棒的播放视频的程序 First of all, thank you very much to provide such a great video playback program

网上提供播放视频的例子,都是只有图像,没有声音,感谢作者提供这么棒的例子 Most video playing codes on the Internet, only has images and no sound

我使用的是0.1.56版本,只编译了QtPlayer部分 I using version 0.1.56, Only compiled the QtPlayer section

Dependency information OS:Win10 Boost:1.67.0 and 1.86.0 Ffmpeg:4.3.1 PortAudio:19.7.0

编译过程中,提示boost库报错,报错截图如下: During the compilation process, an error message appears:

1>video.lib(ffmpegdecoder.obj) : error LNK2038: mismatch detected for 'boost_log_abi': value 'v2s_mt_nt6' doesn't match value 'v2_mt_nt6' in main.obj

1

wangdemon avatar Nov 08 '24 09:11 wangdemon

我把boost头文件屏蔽后,可以编译成功 After blocking boost related code, it can be compiled successfully

运行也可以正常播放视频 Running the program can play videos normally

2

wangdemon avatar Nov 08 '24 09:11 wangdemon