Reputation: 23
I've installed unDelphiX to my Delphi 2010, but I can't run even a simple example program, I always an error message:
F2051 Unit D3DX9 was compiled with a different version of Direct3D9.TD3DFormat
I never worked with unDelphiX and I have no idea what this error means. Can someone please explain it to me and how can I resolve it?
Upvotes: 2
Views: 228
Reputation: 19346
Just Google for "was compiled with a different version of" (exact phrase) and you will find plenty of answers. Basically, the dcu files you are using have been compiled with a different version of Delphi than the Delphi version you are using.
Link to the Delphi Documentation: http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/devcommon/cm_version_conflict_xml.html
Doc doesn't clarify much though. What you need to do to resolve it:
Upvotes: 3