Results 1 to 8 of 8

Thread: VC++6 IDE:Setting up Library Files

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151

    Question VC++6 IDE:Setting up Library Files

    I'm trying to use DirectX. I can't get the IDE to recongnize the Header Files files and the Library files. If I drag the files manuly into my project it works just fine, but I'm getting tired of doing that.

    How or Why isn't finding the files?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Tools->Options->Directories

    You must add the include and library paths of your DirectX SDK. They should be at the first position.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151
    I already did that. I can get it to find the header file but I can't get it to find the LIB files. I add the LIB path to the directory list but unles I manuly add the LIB files I get those stupid LNK errors.

    What else did I forget to do?

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You have to manually add them, the directory only says where it should search for the files you manually add.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151
    What? I don't get what you're saying. The file lib files are located in D:\dxsdk8\lib. I add the directory D:\dxsdk8\lib to the Library Files. The compiler should find the files right?

    But it doesn't find them. I have to manuly add the LIB files to my Workspace for it to work right.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    In the linker options of your project there is a place where you can specify the libraries it should link to. You must list the libs there, and you need to do it explicitly.

    The reason is that the linker can't use every available library in those directories everytime, it would take too long and would often result in ambiguity errors.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jan 2001
    Location
    Little Rock, Ar
    Posts
    151
    I Think I know what your saying but how do I list the libs?

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    There's an edit field where you simply write their names into.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width