win平台,JSB绑定,集成ffmpeg视频播放报错

有没有大佬,在win平台集成过ffmpeg视频播放器,在生成JSB绑定时报:libavformat/avformat.h’ file not found ,ffmpeg库,我更换多次ffmpeg库目录,还是报这个错误,请问JSB在集成第三方库时,需要怎么配置才能集成第三方库?

Errors in parsing headers:

  1. <severity = Fatal,
    location = <SourceLocation file ‘C:\CocosDashboard_1.0.12\resources\.editors\Creator\2.4.5\resources\cocos2d-x/cocos/CocosPlayer.h’, line 6, column 9>,
    details = “'libavformat/avformat.h’ file not found”>
    ====
    *** Found errors - can not continue
    Traceback (most recent call last):
    File “C:\CocosDashboard_1.0.12\resources.editors\Creator\2.4.5\resources\cocos2d-x\tools\bindings-generator/generator.py”, line 1888, in
    main()
    File “C:\CocosDashboard_1.0.12\resources.editors\Creator\2.4.5\resources\cocos2d-x\tools\bindings-generator/generator.py”, line 1884, in main
    generator.generate_code()
    File “C:\CocosDashboard_1.0.12\resources.editors\Creator\2.4.5\resources\cocos2d-x\tools\bindings-generator/generator.py”, line 1531, in generate_code
    self._parse_headers()
    File “C:\CocosDashboard_1.0.12\resources.editors\Creator\2.4.5\resources\cocos2d-x\tools\bindings-generator/generator.py”, line 1575, in _parse_headers
    raise Exception(“Fatal error in parsing headers”)
    Exception: Fatal error in parsing headers

Generating javascript bindings fails.

“’ libavformat/avformat.h’ file not found
这个提示还不明显么?

把这个头文件的相对路径写全(如果是多平台,随便选一个就行),然后绑定,成功后,再改回原来的

这个问题我把xxx.ini 和 xxx.py 放在ffmpeg库目录下的可以了,谢谢

大佬最后集成成功了吗?