D
D
Daniel Demidko2017-06-07 06:03:13
C++ / C#
Daniel Demidko, 2017-06-07 06:03:13

How does Visual Studio know the name of the library?

I assembled Boost, successfully installed it in the project, everything works, but a question arose.
For the sake of experiment, I tried to build a project without libraries, only with headers.
Removed the path to *.lib files from the "Additional Library Directories", and got this interesting message:
a9df9062dd9e4464947c7492335b28e4.png
Question - how does the studio find out the exact name of the *.lib library, if the path to it is not registered anywhere?
At first I thought that the library is included in the headers via the "#using" directive, but I didn't find such a line in them:
bdcb9616ab2743a8a39edd819c2c734a.png
How does the compiler know the exact name of the library?
Maybe I'm really stupid right now, tell me please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MiRPiX, 2018-04-26
@RSM0000

So you have boost connected to include, of course he knows what libraries he needs, connect the old include , and see what will be required.
If you are already interested in searching for files, type in the name of the library and see where it is listed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question