Makefile里面找不到__CRT_UUID_DECL, 这个Makefile是命令:
makepkg-mingw -sCLf
生成的
是在源代码文件C:\msys64\home\QtAV\src\codec\video\VideoDecoderD3D11.cpp出错的,该文件包含了
以下头文件:
#include <initguid.h> //IID_ID3D11VideoContext
#include "VideoDecoderD3D.h"
#include "QtAV/private/factory.h"
#include "QtAV/private/mkid.h"
#define DX_LOG_COMPONENT "D3D11VA"
#include "utils/DirectXHelper.h"
#include "directx/dxcompat.h"
#include <d3d11.h> //include before <libavcodec/d3d11va.h> because d3d11va.h also includes d3d11.h but as a c header (for msvc)
#include <wrl/client.h>
extern "C" {
#include <libavcodec/d3d11va.h>
}
using namespace Microsoft::WRL; //ComPtr
#include "directx/SurfaceInteropD3D11.h"
#include "utils/Logger.h"
搞不定
【 在 DoorWay 的大作中提到: 】
: // define __mingw_uuidof
: #ifdef __CRT_UUID_DECL
: __CRT_UUID_DECL(ID3D11VideoContext,0x61F21C45,0x3C0E,0x4a74,0x9C,0xEA,0x67,0x10,0x0D,0x9A,0xD5,0xE4)
: ...................
--
FROM 175.10.88.*