Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Direct X 10 Issues :(

GGen
2012-06-29
2013-06-06
  • GGen
    GGen
    2012-06-29

    I am having some serious issues getting any Direct X 10 application to compile under mingw-64 ( I'm using rubenvb-4.7.1  build), getting hundred of errors coming from the direct x sdk headers such as 

    Microsoft DirectX SDK (June 2010)\Include/dxgi.h:286:13: error: '__in' has not been declared
    

    I have looked online and i didn't find anything interesting, the only thing that catched my attention was this forum thread (first post and last post) but it is about Direct X 11 http://www.gamedev.net/topic/619239-directx-11-mingw-w64/

    To reproduce this:

    #include <D3D10.h>
    #include <D3DX10.h>
    int main()
    {
        D3DXVECTOR2 x (1.1f, 32.1f);
        return 0;
    }
    
     
  • GGen
    GGen
    2012-06-29

    oh it seems you need to use the headers provided by the headers provided by mingw64.