PB of library

Hi all

I have a problem to compil a library with Visual. It seems that it doesn't work. The fils seems to be corrupted. It's the TKPrim.lib

This is the error message:

c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(1) : error C2143: syntax error : missing ';' before '!'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(2) : error C2018: unknown character '0x60'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x3'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0xd3'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x1'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0xcf'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x12'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x1'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0xd1'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x1'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0xd2'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x2'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x15'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x2'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x15'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x2'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x12'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2018: unknown character '0x2'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2146: syntax error : missing ';' before identifier 'Z'
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : error C2501: 'p' : missing storage-class or type specifiers
c:\occ\opencascade6.1.0\ros\win32\libd\tkprim.lib(3) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

Why do I have this pb?I've never made any modification in this file. Where could I find the tkprim.lib origina file?

thanks

Adrien

Jan Brüninghaus's picture

It is a library not a source. So you can link against it but not compile it...