It's my first time using an external library in my project, I am using OpenXLSX library for reading XLSX files.
I followed the procedure given in their official git repo: First I had to clone repo, then build the code with the help of CMake, and then install that library.
After that I had to include it's path into my project properties, and into linker as well.
Then after everything is done, I am running the demo example given inside the library itself, but it's giving numerous errors (125+) ,mostly of them turns out to be indicating that the syntax inside the library files is wrong ! Here is some example of the errors coming:
C:\Work\C++\tryingOpenXLSX1\include\OpenXLSX\headers\XLCellValue.hpp(112,74): error C2039: 'string_view': is not a member of 'std'
C:\Work\C++\tryingOpenXLSX1\include\OpenXLSX\headers\XLCellValue.hpp(199,74): error C2039: 'string_view': is not a member of 'std'
C:\Work\C++\tryingOpenXLSX1\include\OpenXLSX\headers\XLCellValue.hpp(150,21): error C3861: 'm_value': identifier not found
These are just few examples, I am getting errors out of library's files.
Now, I am not sure why this is happening, repo is cloned from latest version, my IDE (VS 2022) etc everything is updated.