Thread: Translating Transformed Vertices

  1. #31
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    And the library info:

  2. #32
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Everything is nearly identical to what you have sent me. Perhaps the second reference to another version of the SDK is causing the problem.

    Remove the reference to the second version of the SDK (DXSDK/*.*) in both the library and include options. Perhaps it is double-linking or doing something weird.

  3. #33
    Registered User
    Join Date
    Jun 2003
    Posts
    361
    Hm, it wasn't the double-linking. I didn't realize there was still more info, and comparing my picture to yours, I'm obviously missing all my libraries from the Project Options.

    I wasn't aware I had to manually add them in.

    Update: After trying it out, since you mentioned you didn't really need the other Libs there, I only added "d3dx9.lib" to the beginning of them all. Only one error:
    Linking...
    LINK : fatal error LNK1104: cannot open file "d3dx9.lib,"
    Error executing link.exe.

    I don't know if this is better or worse

    EDIT: And I'm a big idiot (Notice the comma in the error). Well, without the comma, I'm back up to 67 errors.

    I'll toss in the rest of the Libs, see what happens. If all else fails, I'll try and find a copy of the Summer SDK, maybe October was just a bit too soon for Microsoft's next release.

  4. #34
    Registered User
    Join Date
    Jun 2003
    Posts
    361
    I may have found it...

    Taken from the "About DirectX9.0 SDK" section off the October Release's "CD"

    Code:
    D3DX
    
    Issues:
    In order to use Visual C 6.0 with D3DX you need to link with the D3DX that is located in the
    extras directory at the location: Extras\D3dx Visual Studio 6\d3dx9.lib. In the future,
    support for Visual Studio 6 may not be continued. 
    I guess I should link there no?

    EDIT:
    Okay, so that folder definitely does not exist on my machine.

    I did a complete re-install of DX, still the same.
    Last edited by Epo; 12-10-2004 at 10:44 PM.

  5. #35
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I've said from the beginning that you must have these for DX to work with MSVC:

    1. The D3DX9.lib located in the Extras folder of the SDK installation - this is the msvc version. Simply rename the current lib in the lib folder d3dx9-net.lib or something like it.
    2. The BASETSD.h include file found in the Platform SDK.

    This is a quote from this very thread.
    12-07-2004, 07:07 AM If you are compiling under MSVC for DirectX 9.0 Summer 2004 SDK + -> you MUST have 2 things.

    1. The d3dx9.lib library file - it's in the summer 2004 extras.
    2. BASETSD.H - this has not been included with the most recent DirectX SDKs. It defines several standard data types for MSVC. MS ASSumes we are developing using their super uber cool .NET neato frito garbage and so have dropped support for MSVC 6. But most people are NOT developing on .NET because it doesn't offer anything new for games and the upgrade doesn't really relate as far as graphics and games are concerned.

    BASETSD.h is available on this site in the build errors thread, or you can get it inside of the Platform SDK.

  6. #36
    Registered User
    Join Date
    Jun 2003
    Posts
    361
    Sorry Bubba, that was my mis-interpretation. I'm using the October release, so I just assumed that the D3DX9.Lib that was already in my Lib folder was that same one, since there isn't an actual "Extras" folder with this release. There is an x64 folder. No clue what that means, but there's a D3DX9.Lib in there.

    For simplicity, I'll find a version of the Summer release and install that one instead. Hopefully that'll straighten some things out.

    Thanks again Bubba.
    Last edited by Epo; 12-13-2004 at 12:29 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Vertices and Indices
    By beene in forum Game Programming
    Replies: 15
    Last Post: 05-07-2007, 03:08 AM
  2. Replies: 14
    Last Post: 06-28-2006, 01:58 AM
  3. Having trouble translating psudeo-code to real-code.
    By Lithorien in forum C++ Programming
    Replies: 13
    Last Post: 10-05-2004, 07:51 PM
  4. Translating Java to C. Mergesorting linked list.
    By Mikro in forum C Programming
    Replies: 10
    Last Post: 06-22-2004, 11:34 AM
  5. winding vertices
    By confuted in forum Game Programming
    Replies: 0
    Last Post: 07-21-2002, 09:54 PM