Author Topic: linker error: "cannot find -ld3dx9"  (Read 4045 times)

Offline bala_48225

  • Multiple posting newcomer
  • *
  • Posts: 17
linker error: "cannot find -ld3dx9"
« on: October 28, 2010, 10:33:50 pm »
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.
« Last Edit: October 28, 2010, 10:54:40 pm by bala_48225 »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: linker error: "cannot find -ld3dx9"
« Reply #1 on: October 28, 2010, 10:47:14 pm »
(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!]

Offline bala_48225

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: linker error: "cannot find -ld3dx9"
« Reply #2 on: October 28, 2010, 11:06:56 pm »
thanks for the lightning reply, obfuscated, I'll check those out.  Off topic, "advanced newcomer" I am, but humble I aim to remain.
« Last Edit: October 28, 2010, 11:09:12 pm by bala_48225 »