Answer the question
In order to leave comments, you need to log in
How to include third-party C/C++ libraries when working with code editors like VS Code?
I found a lot of information about how to connect third-party C / C ++ libraries to Microsoft VS, but nothing about Visual Studio Code. The editor is very different, there are very few guides on the Internet (I didn’t find a single one about third-party libraries), I really want to work in this editor, but I just can’t figure out how to connect an external library to the project. It is desirable to show on the example of the SFML or OpenGL library.
I would be very grateful for any answer!
Answer the question
In order to leave comments, you need to log in
In general, if there is a lib file of the library, then it must be added to the linker. In include add the path to the header files of the library.
If there is no lib file, then it must be obtained by building it from the source according to the instructions provided with the library.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question