DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Yoshi Guest

    Error in linking a lib file


    Hello
    I have added a .lib fil via category->general in the Object/library field
    in both debug/release and I am still getting the error message below

    LINK : fatal error LNK1104: cannot open file "obea_client.lib"

    I use Microsoft Visual C++ with windows XP and ive also added the serachpath
    to the .lib file in path variable in XP...what am I doing wrong??
    Best Regards

    Yoshi

  2. #2
    ralph Guest

    Re: Error in linking a lib file


    "Yoshi" <yoshiag@yahoo.se> wrote:
    >
    >Hello
    >I have added a .lib fil via category->general in the Object/library field
    >in both debug/release and I am still getting the error message below
    >
    >LINK : fatal error LNK1104: cannot open file "obea_client.lib"
    >
    >I use Microsoft Visual C++ with windows XP and ive also added the serachpath
    >to the .lib file in path variable in XP...what am I doing wrong??
    >Best Regards
    >
    >Yoshi


    Run DumpBin and Lib against the file to make sure it is valid and not corrupt.
    Check permissions on the file.
    Is the lib located where you generate a extremely long path name for it?




  3. #3
    Meena Guest

    Re: Error in linking a lib file


    "Yoshi" <yoshiag@yahoo.se> wrote:
    >
    >Hello
    >I have added a .lib fil via category->general in the Object/library field
    >in both debug/release and I am still getting the error message below
    >
    >LINK : fatal error LNK1104: cannot open file "obea_client.lib"
    >
    >I use Microsoft Visual C++ with windows XP and ive also added the serachpath
    >to the .lib file in path variable in XP...what am I doing wrong??
    >Best Regards
    >
    >Yoshi


    copy the lib file in ur working directory and built ---- worse case


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links