Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

DirectX10 directory problem

  • 15-06-2010 05:38AM
    #1
    Closed Accounts Posts: 25


    Ok folks just installed the June DirectX SDK, been reading through the documentation. Set up my visual studio pointing to the correct Lib Include and Executable files using a user variable.

    $(DXSDK_DIR) which is set to the SDK file path

    I tried a tech demo at random it worked happy days!

    Decided to start into the tutorials looked at the first one, decided to open the SLN file and build it to practice a bit of reverse engineering.

    Alas no I keep getting this error!

    Error 1 fatal error LNK1104: cannot open file 'd3d10d.lib' Tutorial00 Tutorial00

    I have checked the Lib/x86 folder that debug folder is there!!!! I also cleaned and rebuild the solution still no joy!

    Thought perhaps it was a problem with my user variable, swapped it out for the direct link. Still the same error!

    I decided to push that to the side while I tried the 2nd tutorial not it is giving me an error from the same vein.

    Error 1 fatal error C1083: Cannot open include file: 'd3d10sdklayers.h': No such file or directory c:\program files\microsoft sdks\windows\v6.0a\include\d3d10.h 6676 Tutorial01

    the second one seems to be something to do with windows 6 SDK is that not one for mobile development or am I getting confused. I was under the impression that DirectX SDK was self contained and simply needed to be linked to VS compiler. To the ninjas of boards.ie What am I doing wrong?


Comments

  • Registered Users, Registered Users 2 Posts: 981 ✭✭✭fasty


    It's $(DXSDK_DIR)\include for headers and $(DXSDK_DIR)\lib\x86 or $(DXSDK_DIR)\lib\x64 depending on what version of the DLLs you want to use.

    What version of Visual Studio are you using?


  • Closed Accounts Posts: 25 BillMcErlane


    I am using 2008 I also have tried both the user variable and the full path name as shown in attached image


  • Registered Users, Registered Users 2 Posts: 981 ✭✭✭fasty


    Junes?

    Also, what about the include files?

    Anyway, I've attached mine. I haven't upgraded to the June 2010 SDK on my work machine yet but you'll get the idea...


  • Closed Accounts Posts: 25 BillMcErlane


    yes I have this for all the files,

    After installing the DirectX SDK, before building a project in Visual Studio, you must initialize the directories in Visual Studio by doing the following:
    1. Select Tools -> Options -> Projects and Solutions -> VC++ Directories
    2. Show Executable files and add: $(DXSDK_DIR)Utilities\Bin\x86
    3. Show Include files and add: $(DXSDK_DIR)Include
    4. Show Library files and add: $(DXSDK_DIR)Lib\x86
    my problem, the two build errors which appear for no apparent reason!


  • Registered Users, Registered Users 2 Posts: 981 ✭✭✭fasty


    Dunno then! I see you made a thread on Gamedev.net so hopefully they'll be of some use!


  • Advertisement
Advertisement