[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
d3dx9.lib is not managed by ld, but libd3dx9.a is
From: |
Vincent Torri |
Subject: |
d3dx9.lib is not managed by ld, but libd3dx9.a is |
Date: |
Tue, 2 Jun 2009 20:20:54 +0200 (CEST) |
Hey,
I'm writing a dll using D3D and autotools stuff (MSYS / MinGW). I pass
-ld3dx9 and i have added everything so that the dll is built.
If I add from the DirectX SDK d3dx9.lib in /mingw/lib, i have the usual warning
message from linker / libtool:
*** Warning: linker path does not have real file for library -ld3dx9. blah blah
blah
and only the static lib is built.
If I rename d3dx9.lib to libd3dx9.a, then the DLL is built. I don't understand
why because, according to the doc of ld for win32:
http://sourceware.org/binutils/docs/ld/WIN32.html
if I pass -ld3dx9, then d3dx9.lib should be used.
What is the reason of the failure ?
thank you
Vincent Torri
- d3dx9.lib is not managed by ld, but libd3dx9.a is,
Vincent Torri <=