S
S
sddvxd2019-01-02 00:46:40
C++ / C#
sddvxd, 2019-01-02 00:46:40

How to combine a lib file with a project?

Hello
After building someone else's library from the source code, a file with the .lib extension appeared.
What to do with it is not clear, because only .a files lie in the lib folder of the compiler. Please tell me what needs to be done to make it work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2019-01-02
@jcmvbkbc

After building someone else's library from source code, a file with the .lib extension appeared

Traditionally static libraries are named *.lib on Windows and *.a on *nix. The dynamic libraries are named *.dll and *.so, respectively.
Pass to the linker. It doesn't matter what it's called.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question