tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.47k stars 409 forks source link

LNK2019 error #629

Closed Slart1bartfast closed 2 years ago

Slart1bartfast commented 2 years ago

Hi Guys, I have done a little bit with C++ and am an absolute noob when it comes to using Libraries. So my issue is the following: I am using Visual Studio 2022. I downloaded the files and put in a folder. I went to my 'Solution Explorer' in Visual studio, then 'Properties', then 'VC++ directories' and added the path to the 'include' folder in the downloaded files to the 'include directories' option. That's all fine. But when I tried to compile the example provided on this page I get a bunch of LNK2019 errors. I tried to google for a solution and people seem to say that I need to go to 'Linker' and 'add additional dependencies' where I can add the .lib files. My problem is that I can't seem to find any .lib files in the downloaded files.

Edit: Nvm, after browsing the web for hours I figured it out myself. I learned about vcpkg and used that.