The D3DX functions are way nice.

BUT it seems that I need the 'd3dx8d.dll' file to use them.

The SDK includes a file called 'd3dx8.lib' which, from its size, appears to contain all of the routines in d3dx8d.dll. BUT when I attempt to use it, the linker produces a LOT of unresolved external references to routines which look suspiciously like HLL helper routines.

I'm wondering if anyone would know a way to solve this problem, other than acquiring an actual HLL compiler.
Posted on 2003-03-08 19:42:11 by AmkG
Afternoon, AmkG.

To get rid of having to use that debug dll, you need to include a few other libraries instead.
So, instead of:


includelib \masm32\lib\d3dx8d.lib
includelib \masm32\lib\d3d8.lib

you'd have:


includelib \masm32\lib\advapi32.lib
includelib \masm32\lib\msvcrt.lib
includelib \masm32\lib\libci.lib

includelib \masm32\lib\d3dx8.lib
includelib \masm32\lib\d3d8.lib


This is what I used when shifting from the DX8 examples (which were dependant upon that debug dll) to DX8.1 examples.

Your next problem is where to find those extra libraries, as they only come with MS VC/C++ IIRC. The ones which were posted on my site aren't actually the correct ones you should use (they're not for MS VC++6 which is what you need). If you don't have the correct libs, let me know and I'll upload them onto my site.

Cheers,
Scronty
Posted on 2003-03-08 20:33:10 by Scronty
Thank you for your offer. I don't have these files, except for advapi32.lib.

However I am wondering how legitimate it would be for me to acquire these libs, outside of the compilers they came with?
Posted on 2003-03-11 02:14:54 by AmkG
Afternoon, AmkG.

Dunno how legit it would be to have those libraries uploaded somewhere.

It any case, attached is the ADVAPI32.LIB I use :alright: .

(We'll just wait and see if a moderator decides to remove them to find out if it's ok:tongue: )

Cheers,
Scronty
Posted on 2003-03-11 03:03:13 by Scronty
Afternoon, AmkG.

And here's the msvcrt.zip

Cheers,
Scronty
Posted on 2003-03-11 03:04:31 by Scronty
Afternoon, AmkG.

And here's the libci.zip

Cheers,
Scronty
Posted on 2003-03-11 03:05:21 by Scronty
Those files are in the DDK, iirc.
Posted on 2003-03-11 09:08:57 by bitRAKE