nlraley
13-10-2010, 03:29 PM
I have downloaded the Delphi/Borland compatible files that I found on clootie's site. I have the latest Microsoft SDK installed.
I am trying to use the D3DXCreateTextureFromFile method.
I have the following libs included in my project:
d3d9.lib
d3dx9.lib
d3dx9d.lib
ddraw.lib
dxerr9.lib
And their respective dll's are found in the same directory.
In my .h I have the following defined:
#pragma link "DX9\d3d9.lib"
#pragma link "DX9\d3dx9.lib"
#pragma link "DX9\d3dx9d.lib"
However, I am getting the following error when trying to compile:
Call to undefined function 'D3DXCreateTextureFromFile
What step am I missing in trying to get this up and running?
I am trying to use the D3DXCreateTextureFromFile method.
I have the following libs included in my project:
d3d9.lib
d3dx9.lib
d3dx9d.lib
ddraw.lib
dxerr9.lib
And their respective dll's are found in the same directory.
In my .h I have the following defined:
#pragma link "DX9\d3d9.lib"
#pragma link "DX9\d3dx9.lib"
#pragma link "DX9\d3dx9d.lib"
However, I am getting the following error when trying to compile:
Call to undefined function 'D3DXCreateTextureFromFile
What step am I missing in trying to get this up and running?