Better Compiler?

Page 1 of 2 12 LastLast
  1. #1
    Cloud's Hair Spray Reputation: 10

    Join Date
    Aug 2006
    Posts
    60
    Rep Power
    8

    Default Better Compiler?

    Ok i'm working on c just plain c with jonathan S. Harbour's book to beginning game programming. Will i'v come across a problem. Whenever I use dec-c++ there is almost always an error when there is no error there! So I used Microsoft Visual c++ 2005 edition. There is a the d3d9.h file was not in the include list (i'v done everything i'm supposed to I got all the SDK and directx9 downloaded and installed. Also it can't find windows.h either. So i'm looking for a compiler that actually works and its free! If you can help thank you so much in advance.

  2. #2
    42 Reputation: 10
    Dennis56's Avatar
    Join Date
    Aug 2006
    Location
    дома
    Posts
    944
    Rep Power
    8

  3. #3
    Crumbly, yet Good Reputation: 75
    Eriond's Avatar
    Join Date
    May 2006
    Location
    Montreal
    Posts
    1,798
    Rep Power
    0

    Default

    You need to download the platform SDK seperately from the MSVC. I had the exact same problem. Just download the platform SDK.

    http://www.microsoft.com/downloads/d...displaylang=en


    Go for the PSDK-x86.exe. That's probably what you want. Unless you have a very new computer.
    THIS MA SIGNATURE

  4. #4
    Cloud's Hair Spray Reputation: 10

    Join Date
    Aug 2006
    Posts
    60
    Rep Power
    8

    Default

    Yea I downloaded that. So anybody know any other ones? Cause I still have the problem and i'm done trying to find how to fix it unless there is another way somebody can think of.

  5. #5
    Crumbly, yet Good Reputation: 75
    Eriond's Avatar
    Join Date
    May 2006
    Location
    Montreal
    Posts
    1,798
    Rep Power
    0

    Default

    You downloaded and installed it... but did you set it up in MSVC so that the include directories you installed were being parsed by the compiler?
    THIS MA SIGNATURE

  6. #6
    Cloud's Hair Spray Reputation: 10

    Join Date
    Aug 2006
    Posts
    60
    Rep Power
    8

    Default

    How do I set it up to the MSVC?

  7. #7
    Crumbly, yet Good Reputation: 75
    Eriond's Avatar
    Join Date
    May 2006
    Location
    Montreal
    Posts
    1,798
    Rep Power
    0

    Default

    I'll check now..

    Options -> Projects & Solutions -> VC++ Directories

    Show Directories for: Include Files (up at the top right corner)

    Click the folder button, or new line.

    Then put this as the line: C:\Program Files\Microsoft Platform SDK\Include

    That's the default path anyway. You might need to modify it to fit wherever you installed your SDK.
    THIS MA SIGNATURE

  8. #8
    Cloud's Hair Spray Reputation: 10

    Join Date
    Aug 2006
    Posts
    60
    Rep Power
    8

    Default

    Yea that didn't work also. Any other solutions? I would really apperciate either a better free compiler or another answer.

  9. #9
    Crumbly, yet Good Reputation: 75
    Eriond's Avatar
    Join Date
    May 2006
    Location
    Montreal
    Posts
    1,798
    Rep Power
    0

    Default

    If you want to use DX, I really can't suggest anything. Try Code::Blocks. I've heard that's a good IDE, thouhg I'm not sure if it supports directX
    THIS MA SIGNATURE

  10. #10
    Cloud's Hair Spray Reputation: 10

    Join Date
    Aug 2006
    Posts
    60
    Rep Power
    8

    Default

    Hmmmmmmm I dont' know the link and I hope it works with direct x.

Page 1 of 2 12 LastLast

Posting Permissions

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