how to link files?

This is a discussion on how to link files? within the Windows Programming forums, part of the Platform Specific Boards category; Im trying to build a project in the directx 9.0 sdk, and i keep getting this error. --------------------Configuration: CaptureTex - ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    98

    how to link files?

    Im trying to build a project in the directx 9.0 sdk, and i keep getting this error.
    --------------------Configuration: CaptureTex - Win32 Debug--------------------
    Linking...
    LINK : fatal error LNK1104: cannot open file "..\..\BaseClasses\debug\strmbasd.lib"
    Error executing link.exe.

    CaptureTex.exe - 1 error(s), 0 warning(s)

    I read somewhere that i need to link this library file to the project, but how is this done in msvs 6.0? Also, i found a file in a near directory that was the same name, but in capital letters,STRMBASD.lib, could that be the problem?
    Im using Windows 2000 Pro, and msvs 6.0. Anything would be helpful

  2. #2
    _ Munkey01's Avatar
    Join Date
    Dec 2002
    Posts
    280
    I am not sure about *.lib files but try putting it in the same directory as your source code.

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    98
    I put that lib in the same folder, and even renamed it in small letters, but didnt help. Looked on msdn, it said something about i have to build the libray and then link it to mine. I opened the .dsw project, compiled, built it, no luck.i tried building both projects together, but gave me 25 errors.---->Lost. I am just now starting programming, if i have to do this much with a $1000 program, what would one go through with a free compiler?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 03:47 AM
  2. accessing all files in a folder.
    By pastitprogram in forum C++ Programming
    Replies: 15
    Last Post: 04-30-2008, 11:56 AM
  3. How to Link Various Files
    By Chinfrim in forum C Programming
    Replies: 29
    Last Post: 01-03-2008, 04:27 AM
  4. Help with loading files into rich text box
    By blueparukia in forum C# Programming
    Replies: 3
    Last Post: 10-19-2007, 01:59 AM
  5. reading from files
    By recluse in forum C Programming
    Replies: 25
    Last Post: 12-26-2004, 10:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21