Results 1 to 8 of 8
  1. #1
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine

    [Tutorial]How to fix "Cannot Include d3dx9.h" in VC++ 2010[With Pics!]


    This tutorial will teach people how to fix the "Unable to include d3dx9.h" error when compiling, hopefully reducing the number of threads regarding this.

    Credits:
    CodeDemon--Writing the tut
    Gellins Base--What I used as an example project.

    1)Open your project, then at the top select Tools->Settings-Expert Settings.


    2)After it re-configures, go to Project->YOUR PROJECT NAME PROPERTIES.


    3)Now click on Configuration Properties and then select Include Directories.


    4)Click on the Edit button and a window should pop up.


    5)At the top of the new window click on the little folder icon labeled "New Line"


    6)Click the triple dot button and then navigate to your C:/YOUR DIRECTX SDK DIRECTORY(Usually under Program Files)/Include and click Select Folder.


    7)Now we add the library files, do the same exact thing we did in steps 3-6

    8)Select Library Directores

    9)Click on the Edit button and a window should pop up.


    10)At the top of the new window click on the little folder icon labeled "New Line"


    11)Click the triple dot button and then navigate to your C:/YOUR DIRECTX SDK DIRECTORY(Usually under Program Files)/Lib/x86 and click Select Folder.


    12)Now click the Apply button on the window where all the VC++ Directories were.


    13)Hit the Save All button.


    14)Now build your project in release mode and you should no longer have that error!

  2. The Following 7 Users Say Thank You to CodeDemon For This Useful Post:

    Amatowarrior (08-31-2010),hanamychy (12-18-2013),hgmf8124 (08-03-2010),iiNarbz (03-23-2012),Killahr (08-03-2010),o-o (08-03-2010),Protex361 (03-25-2015)

  3. #2
    o-o's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    who reading that ? T_T
    Posts
    682
    Reputation
    10
    Thanks
    307
    My Mood
    Cold
    AWSOME BIG THANKSSss

    Lol I Don't Find The Setting o-o The Tut Is Only For VC 2010?
    [IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
    Happy Hanukkah For All Of MPGH !


    The Real Life Are Better Then A Game !


    Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]
    Best Friends :

    Hax4Life!

    Solify

    [MPGH]Drake`

    Respect Them Or I'll Kill You ...



  4. #3
    richdude212's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Tampa, FL
    Posts
    352
    Reputation
    10
    Thanks
    56
    My Mood
    Inspired
    Good job. Sadly I was planning on doing this.
    [IMG]https://i516.photobucke*****m/albums/u330/richdude212-2.jpg[/IMG]


    [IMG]https://i516.photobucke*****m/albums/u330/richdude212/leet.gif[/IMG]

    Get NX Cash For Completing Offers Here! (will redirect)


    Remember to press when people help you!
    Not bad for $14.99 a month...

  5. #4
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Yeah this tut is only for VC++ 2010, its a bit different for VC++ 2008 I believe.

    Sorry Richdude would have let you do it if I had known

  6. #5
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    People who can't do this without the tutorial shouldn't be programming using any DirectX API. But it's a valiant effort.

  7. The Following User Says Thank You to Void For This Useful Post:

    Injection (08-03-2010)

  8. #6
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Very true Void

  9. #7
    Polo™'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Im awsome and i fuck dolphins. Shwag Shwag Shwagg
    Posts
    10,118
    Reputation
    612
    Thanks
    861
    My Mood
    Pensive
    I think its kool that a choob hasnt come here yet to ask the noob question of the day.

  10. #8
    GodHack2's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    644
    Reputation
    38
    Thanks
    762
    My Mood
    Amused
    old is old

    btw for 2010 you can't use that way you have to include the full target like this
    [php]#include <C:\Program Files\Microsoft DirectX SDK (June 2010)\Include\d3dx9.h>[/php]





    beat this bitches ^^^^^^^

    Current Stats : Bored :/


    Respect list :
    Crash !
    Gordon'
    Markoj

Similar Threads

  1. [Tutorial] How to fix the "Server is full" error!
    By Zayk in forum CrossFire Tutorials
    Replies: 15
    Last Post: 08-22-2010, 03:31 PM
  2. Replies: 14
    Last Post: 07-11-2010, 03:37 AM
  3. [Tutorial]How to Fix MPGH CF Pub
    By Sympony13 in forum CrossFire Tutorials
    Replies: 2
    Last Post: 07-11-2010, 02:23 AM
  4. [Tutorial]How to Fix MPGH CF Pub(32-bit) Vista&XP
    By Sympony13 in forum CrossFire Tutorials
    Replies: 0
    Last Post: 07-08-2010, 12:47 PM
  5. [Tutorial]How to fix MPGH pub hack after patch
    By Andyklk2009 in forum Combat Arms Hacks & Cheats
    Replies: 17
    Last Post: 10-17-2008, 01:49 PM