Solve issue - unresolved external symbol MFCreateDXGIDeviceManager
-
I want to capture video using Media Foundation transform library. I have used
HRESULT hr = S_OK;
D3D_FEATURE_LEVEL FeatureLevel;
ID3D11DeviceContext* pDX11DeviceContext;hr = CreateDX11Device(&g_pDX11Device, &pDX11DeviceContext, &FeatureLevel);
if (SUCCEEDED(hr))
{
hr = MFCreateDXGIDeviceManager(&g_ResetToken, &g_pDXGIMan);
}On building the vcpp application I received error: unresolved external symbol MFCreateDXGIDeviceManagerv For this, I used
#pragma comment(lib, "mf") // For MFEnumDevices
#pragma comment(lib, "mfplat")
#pragma comment(lib, "mfreadwrite")
#pragma comment(lib, "dxva2")
#pragma comment(lib, "d3d11")
#pragma comment(lib, "mfuuid")to include libraries related to MFCreateDXGIDeviceManagerv. Still I am getting same error. Please suggest the solution.
-
I want to capture video using Media Foundation transform library. I have used
HRESULT hr = S_OK;
D3D_FEATURE_LEVEL FeatureLevel;
ID3D11DeviceContext* pDX11DeviceContext;hr = CreateDX11Device(&g_pDX11Device, &pDX11DeviceContext, &FeatureLevel);
if (SUCCEEDED(hr))
{
hr = MFCreateDXGIDeviceManager(&g_ResetToken, &g_pDXGIMan);
}On building the vcpp application I received error: unresolved external symbol MFCreateDXGIDeviceManagerv For this, I used
#pragma comment(lib, "mf") // For MFEnumDevices
#pragma comment(lib, "mfplat")
#pragma comment(lib, "mfreadwrite")
#pragma comment(lib, "dxva2")
#pragma comment(lib, "d3d11")
#pragma comment(lib, "mfuuid")to include libraries related to MFCreateDXGIDeviceManagerv. Still I am getting same error. Please suggest the solution.
-
Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv
yes, I need to add library reference for this as I mentioned at the bottom. But could not find for MFCreateDXGIDeviceManagerv. Similar issue I got for MFEnumDeviceSources, but on adding #pragma comment(lib, "mf") Issue was resolved. Now I need for MFCreateDXGIDeviceManagerv
-
Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv
... and it's unresolved.
-
Looks like you're getting a "unresolved external symbol MFCreateDXGIDeviceManagerv" It's probably an error to do with MFCreateDXGIDeviceManagerv
-
yes, I need to add library reference for this as I mentioned at the bottom. But could not find for MFCreateDXGIDeviceManagerv. Similar issue I got for MFEnumDeviceSources, but on adding #pragma comment(lib, "mf") Issue was resolved. Now I need for MFCreateDXGIDeviceManagerv
-
But I am not getting the library. Please suggest if you can find.
-
... and it's unresolved.
yes because its unable to find the actual library. I am searching for that.
-
you need to include libraries related to the method for which you are getting this issue. like #pragma comment(lib,'')
-
yes because its unable to find the actual library. I am searching for that.
When you find it, it will probably work. Unless it doesn't.
Try Hovercraft, voted "a game" by players.
-
But I am not getting the library. Please suggest if you can find.
-
It is usually available here C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 But unable to find out which one will support this
-
I want to capture video using Media Foundation transform library. I have used
HRESULT hr = S_OK;
D3D_FEATURE_LEVEL FeatureLevel;
ID3D11DeviceContext* pDX11DeviceContext;hr = CreateDX11Device(&g_pDX11Device, &pDX11DeviceContext, &FeatureLevel);
if (SUCCEEDED(hr))
{
hr = MFCreateDXGIDeviceManager(&g_ResetToken, &g_pDXGIMan);
}On building the vcpp application I received error: unresolved external symbol MFCreateDXGIDeviceManagerv For this, I used
#pragma comment(lib, "mf") // For MFEnumDevices
#pragma comment(lib, "mfplat")
#pragma comment(lib, "mfreadwrite")
#pragma comment(lib, "dxva2")
#pragma comment(lib, "d3d11")
#pragma comment(lib, "mfuuid")to include libraries related to MFCreateDXGIDeviceManagerv. Still I am getting same error. Please suggest the solution.
Priyanka_SIpl wrote:
Please suggest the solution.
I think you have four options here... 1) Fix the problem yourself 2) Ask in one of the programming forums (This is the Lounge - See the note at the top) 3) Continue to reply to the people who are messing with you because you failed to realize #2. 4) Take a nap and hope the gremlins come and fix the problem while you're sleeping I dunno if #4 will work, though, as the gremlins aren't always that cooperative.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels) -
Priyanka_SIpl wrote:
Please suggest the solution.
I think you have four options here... 1) Fix the problem yourself 2) Ask in one of the programming forums (This is the Lounge - See the note at the top) 3) Continue to reply to the people who are messing with you because you failed to realize #2. 4) Take a nap and hope the gremlins come and fix the problem while you're sleeping I dunno if #4 will work, though, as the gremlins aren't always that cooperative.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)Thanks for suggestions. Trying out the same. If you find please share.
-
It is usually available here C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64 But unable to find out which one will support this
Have you checked under the sofa? In your jacket pocket?