mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.91k stars 377 forks source link

unresolved external symbols #438

Closed eurostar-rs closed 3 years ago

eurostar-rs commented 3 years ago

Hey!

I tried today to use libtins (I included into visual studio the include directory from libtins) but I get some errors: E2vOfhY

I defined NOMINMAX. Anyone knows what's the problem?

laudrup commented 3 years ago

Libtins is not a header only library. You need to link with it as well, so you cannot just use the headers and expect things to work.

There is some documentation here.

But you should basically look into how to use an external library with a C++ project.

Unfortunately, this is not as trivial as one could wish, but this is hardly related to libtins.

You need to provide some more details than just a screenshot with linker errors if you want some help.