Results 1 to 10 of 12

Thread: DirectX

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Most likely the headers are updated and this causes the error. Could you tell me the Delphi version you are using and which particular example gives you that error? I can try to fix it.
    Anyway, if this is the only error you can try to change the variable to a pointer, i.e. add @ operator in front of swapchain_desc.

  2. #2
    Quote Originally Posted by Anton View Post
    Most likely the headers are updated and this causes the error. Could you tell me the Delphi version you are using and which particular example gives you that error? I can try to fix it.
    Anyway, if this is the only error you can try to change the variable to a pointer, i.e. add @ operator in front of swapchain_desc.
    Berlin 10.1

    I'll try that later in the evening

  3. #3
    The same error appears in Lazarus. I fixed that and added DelphiDX12 as a submodule in the repository, which will download the headers along with the examples on one hand. And on the other hand it will bind the examples to a particular DelphiDX12 version.

    It should compile successfully now, thanks for your feedback. On interest, I am able to add more examples.

  4. #4
    All examples compile but when running them they ask for d3dx10d_43.dll which is not on my computer (Windows 10 64-bit)

    Ok I changed target from debug to release. Now it says DX12.D3DX10 cannot be found... but it is in the headers folder. Oh had to set search path for Release. Now it is back to the exe asking for DX12.D3DX10
    Last edited by Thyandyr; 01-11-2017 at 10:58 PM.

  5. #5
    PXL (formerly called Asphyre Sphinx I guess) has a fully functioning DirectX11 backend (as well as DirectX7, DirectX9, legacy OpenGL, and modern OpenGL backends) that should give you a pretty good idea of how DirectX works in practice.

    https://sourceforge.net/p/asphyre/code/HEAD/tree/

    Also, regarding FMX: not worth anyone's time. It's just an extremely stripped down, worse version of GLScene (literally, not figuratively. The 3D parts of FMX are based entirely on DXScene by Eugene Kryukov, which was itself a not-that-great DirectX based fork of GScene. Making FMX a fork of fork!)
    Last edited by Akira13; 01-11-2017 at 11:54 PM.

  6. #6
    Quote Originally Posted by Thyandyr View Post
    All examples compile but when running them they ask for d3dx10d_43.dll which is not on my computer (Windows 10 64-bit)

    Ok I changed target from debug to release. Now it says DX12.D3DX10 cannot be found... but it is in the headers folder. Oh had to set search path for Release. Now it is back to the exe asking for DX12.D3DX10
    The file d3dx10d_43.dll should be the debug build of d3dx10_43.dll. I think you can get by installing the DirectX End-user runtime installer - https://www.microsoft.com/en-us/down...ils.aspx?id=35

    If you've downloaded or pulled the entire repository please note that "headers" directory is removed and the headers are now contained in "DelphiDX12\Units". Your include path should be "..\DelphiDX12\Units"

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •