CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    16

    LIB giving strange error message, can't handle it.

    Im trying to compose .lib file using lib.exe from vc 10 and .def file. Getting following error:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin>lib.exe /DEF:sqlite3.def
    Microsoft (R) Library Manager Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

    LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
    Creating library sqlite3.lib and object sqlite3.exp
    LINK : fatal error LNK1104: cannot open file 'sqlite3.lib'

    Looked into other orums/topics on the web but wasnt able to find working solution (LNK1104 usually appears during projects compilation, what a suprise!)

    Thanks in advice for any tips

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    Re: LIB giving strange error message, can't handle it.

    Quote Originally Posted by qwqwqw12 View Post
    Looked into other orums/topics on the web but wasnt able to find working solution (LNK1104 usually appears during projects compilation, what a suprise!)
    "Looking into other orums/topics on the web" you may get a bunch of bullshits.
    A little bit better is to start looking here: http://msdn.microsoft.com/en-us/libr...4s(VS.71).aspx
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  3. #3
    Join Date
    Apr 2011
    Posts
    16

    Re: LIB giving strange error message, can't handle it.

    Being honest -i visited this site once today before posting but didn't concentrate. Following your "finger" i have finally realized that its not Win XP but Win 7 with f*oking permission issues.
    lib.exe -> Properties -> Compatibility -> Run as Administrator | solved the problem ;]
    Thank you or your guidance.

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

Featured