[LLVMbugs] [Bug 22334] New: No libclang.lib starting with 3.5.0 for Windows builds/releases (LNK1181: cannot open input file 'clang.lib')

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 26 09:11:06 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22334

            Bug ID: 22334
           Summary: No libclang.lib starting with 3.5.0 for Windows
                    builds/releases (LNK1181: cannot open input file
                    'clang.lib')
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nikolai.kosjar at digia.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In LLVM-3.4.1 [1] libclang is provided with *.dll and *.lib and it's possible
to build against it:

  C:\Program Files (x86)\LLVM-3.4.1\bin\libclang.dll
  C:\Program Files (x86)\LLVM-3.4.1\lib\libclang.lib

However, starting with 3.5.0 the *.lib is not part of the installation.
Instead, there now is a *.imp file.

  C:\Program Files (x86)\LLVM-3.5.0\lib\libclang.imp

This is also the case with current snapshots [3].

Because of this I can't compile against 3.5.0 and above as before ("LINK :
fatal error LNK1181: cannot open input file 'clang.lib'"). Is this a bug or do
I have to adapt my build system? 


[1] http://llvm.org/releases/3.4.1/LLVM-3.4.1-win32.exe
[2] http://llvm.org/releases/3.5.0/LLVM-3.5.0-win32.exe
[3] http://llvm.org/builds/downloads/LLVM-3.6.0-r225473-win32.exe

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150126/18c074e8/attachment.html>


More information about the llvm-bugs mailing list