News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

linker error: "cannot find -ld3dx9"

Started by bala_48225, October 28, 2010, 10:33:50 PM

Previous topic - Next topic

bala_48225

Hello, I am:  WindowsXP SP3, Codeblocks 10.05 w/mingW.

I'm trying to link this DirectX project and I keep receiving the linker error "cannot find -ld3dx9", despite having the DX setup properly in regards to where the SDK is, and even having "kept the relative path", and I can SEE the file in the directory, too.  I also put in the search directories manually, to look in that directory as well and same result.  What gives?  Btw I also tried taking it out of the release and debug that it is in naturally and putting it at the bottom of the regular "project" library list and same result also.  Any and all suggestions welcome. -B

addendum:  one of the files included in the project is 2Dtestdx9.rc and is a "Microsoft Visual C++ generated resource script"; that doesn't seem to me to be related to the linker, but I thought that represented full disclosure so I added that in just now.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

bala_48225

#2
thanks for the lightning reply, obfuscated, I'll check those out.  Off topic, "advanced newcomer" I am, but humble I aim to remain.