[Bug 22113] New: wineg++ "undefined reference to `D3DXCreateTextureFromFileA'"
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.
http://bugs.winehq.org/show_bug.cgi?id=22113 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2010-03-21 19:30:45 --- That function is unimplemented. See bug 22113. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22113 --- Comment #2 from Ruslan <b7.10110111(a)gmail.com> 2010-03-21 20:30:37 --- (In reply to comment #1)
See bug 22113.
Sorry, what bug? ;)
That function is unimplemented.
That's strange. The same program, compiled to native exe on windows, does work via "wine prog.exe" and the texture is loaded. How can this be? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22113 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #3 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-21 20:37:44 --- Duplicate.
That function is unimplemented. That's strange. The same program, compiled to native exe on windows, does work via "wine prog.exe" and the texture is loaded. How can this be? You have installed native d9dx?? libraries.
*** This bug has been marked as a duplicate of bug 13297 *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22113 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-21 20:37:51 --- Closing -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22113 --- Comment #5 from Ruslan <b7.10110111(a)gmail.com> 2010-03-21 21:12:46 --- (In reply to comment #3)
You have installed native d9dx?? libraries.
Just tested in new clean WINEPREFIX. It still works... -- 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.
participants (1)
-
wine-bugs@winehq.org