Skip to content

fix: add mfplat dependencies for static build#47

Open
Kingtous wants to merge 3 commits intozmwangx:masterfrom
Kingtous:master
Open

fix: add mfplat dependencies for static build#47
Kingtous wants to merge 3 commits intozmwangx:masterfrom
Kingtous:master

Conversation

@Kingtous
Copy link

This PR adds link libraries which are necessary for static build.

This PR fixes error shown below:

note: avcodec.lib(mfenc.o) : error LNK2001: 无法解析的外部符号 IID_ICodecAPI
          avcodec.lib(mfenc.o) : error LNK2001: 无法解析的外部符号 IID_IMFMediaEventGenerator
          avcodec.lib(mf_utils.o) : error LNK2001: 无法解析的外部符号 IID_IMFTransform
          C:\rustplayer\target\debug\deps\RustPlayer.exe : fatal error LNK1120: 3 个无法解析的外部命令

@Sculas
Copy link

Sculas commented Mar 21, 2023

Could this be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants