开发者

undelphix error message

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开发者_Go百科 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?


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:

  • Compile the sources of the library with your Delphi version or obtain the dcu's compiled with the same Delphi version as yours.
  • Make sure that your environment or project's library path includes the folder in which either the library sources or the dcu's compiled with your Delphi version can be found.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜