http://bugs.winehq.org/show_bug.cgi?id=22113 Summary: wineg++ "undefined reference to `D3DXCreateTextureFromFileA'" Product: Wine Version: 1.1.40 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: b7.10110111(a)gmail.com Created an attachment (id=26962) --> (http://bugs.winehq.org/attachment.cgi?id=26962) Source of the program I try to compile the attached program with this command line: wineg++ texture.cpp -lgdi32 -ld3d9 -ld3dx9 -lwinmm -o texture And this is what i get: texture.cpp: In function ‘void Matrix()’: texture.cpp:162: warning: taking address of temporary texture.cpp:163: warning: taking address of temporary texture.cpp:164: warning: taking address of temporary texture-6rs5C1.o: In function `InitObject()': /home/isolated/texture/texture.cpp:117: undefined reference to `D3DXCreateTextureFromFileA' collect2: ld returned 1 exit status winegcc: g++ failed This seems to be not the problem with missing -lsome_lib, because, e.g. D3DXMatrixRotationX is defined, and having uncommented D3DXCreateTextureFromFileA, i compile the program successfully. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.