Visual Studio 2005 and DirectX

Discussion in 'OT Technology' started by Ameter, Aug 14, 2005.

  1. Ameter

    Ameter Active Member

    Joined:
    Mar 31, 2005
    Messages:
    97,795
    Likes Received:
    1
    Location:
    Calgary, AB
    So I'm using Visual Studio 2005 (Beta 2) and lo and behold, the entire directX SDK is missing from it, including headers and libraries :wtf:

    I've checked and rechecked the install and the directX SDK is _supposed_ to be installed, but the only directX SDK files are for mobile devices

    any thoughts?
     
  2. mace

    mace i don't read

    Joined:
    Jun 6, 2004
    Messages:
    12,567
    Likes Received:
    0
    Location:
    Texas
  3. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    i got a guild for this 1 sec
     
  4. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    Some helpful stuff here:
    http://www.moon-labs.com/cgi-bin/YaBB/YaBB.cgi?board=faq;action=print;num=1079577686

    Tools->Options->Projects->VC++ Directories
    'Show directories for' includes and then add 'C:\DXSDK\Include'
    'Show directories for' libraries and then add 'C:\DXSDK\Lib'

    Under project->properties then linker->input->'additional dependencies' I
    added
    dxguid.lib d3d9.lib d3dx9.lib winmm.lib dinput8.lib
    NOTE: dinput.lib also exists, but did not compile. I suspect the problem is
    that the code is using DirectInput8Create instread of DirectInputCreateEx

    in PMFramework.h, I added
    #define DIRECTINPUT_VERSION 0x0800 right before the includes.
     
  5. Ameter

    Ameter Active Member

    Joined:
    Mar 31, 2005
    Messages:
    97,795
    Likes Received:
    1
    Location:
    Calgary, AB
  6. Ameter

    Ameter Active Member

    Joined:
    Mar 31, 2005
    Messages:
    97,795
    Likes Received:
    1
    Location:
    Calgary, AB
    thanks
     
  7. mace

    mace i don't read

    Joined:
    Jun 6, 2004
    Messages:
    12,567
    Likes Received:
    0
    Location:
    Texas
    the directx sdk is not on the Visual Studio 2005 Beta 2 cd
     
  8. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    it never has :dunno: maybe just the old ass versions with only basic headers. Not every developer will write code for Dx, why include it in VS when it's already bloated?
     
  9. Ameter

    Ameter Active Member

    Joined:
    Mar 31, 2005
    Messages:
    97,795
    Likes Received:
    1
    Location:
    Calgary, AB
    my old version of vs was 97, it came with a full set of documentation for directx, including sample source
     
  10. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    never said it was, that was the instructions to set it up after the sdk is installed.
     
  11. mace

    mace i don't read

    Joined:
    Jun 6, 2004
    Messages:
    12,567
    Likes Received:
    0
    Location:
    Texas
    it should automatically integrate with visual studio after it's installed and the newer updates are no longer installed to a root directory like DXSDK, instead it's in program files with a better directory name.
     
  12. Ameter

    Ameter Active Member

    Joined:
    Mar 31, 2005
    Messages:
    97,795
    Likes Received:
    1
    Location:
    Calgary, AB
    nope, have to do it manually
     
  13. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    :nono:
    no it doesnt. i was using vs2005B2 for my Physics Modeling course and we had to set that up.

    Same for vs2003, and same for vs6. Obviously you have no experience in this :mamoru:
     
  14. mace

    mace i don't read

    Joined:
    Jun 6, 2004
    Messages:
    12,567
    Likes Received:
    0
    Location:
    Texas
    Well maybe you were using an old version of directx, because I have never had to setup paths in visual studio since directx used a directory in the root drive.
     
  15. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    april 2005 release :wiggle:

    so you can stfu noobert :noes:
     
  16. Ameter

    Ameter Active Member

    Joined:
    Mar 31, 2005
    Messages:
    97,795
    Likes Received:
    1
    Location:
    Calgary, AB
    latests DX SDK AND VS 2005 Beta 2.... i doubt you can get any newer than that
     
  17. mace

    mace i don't read

    Joined:
    Jun 6, 2004
    Messages:
    12,567
    Likes Received:
    0
    Location:
    Texas
    Well I don't know what to tell you other than it automatically setup the paths for me. I'm using VS 2005 beta 2 and the august dx sdk release too.
     

Share This Page