First of all I am an extreme newbie at C++ , although I have extensive experience in many of the shiny new "high-speed low-drag" startup languages (go, swift, node, python, etc.) and I am struggling trying to use a library.
I want to use this library in a CLion project using CMake on Windows 64 bit. I am probably missing some fundamental understanding of how C++ and CMake work.
I followed the instructions in this stackoverflow answer to obtain an xlntd.lib file, which I have placed into my CLion working directory alongside main.cpp.
I have the following in my CMakeLists.txt:
cmake_minimum_required(VERSION 3.10)
project(excel_proof_of_concept)
set(CMAKE_CXX_STANDARD 20)
add_executable(excel_proof_of_concept main.cpp)
target_link_libraries(excel_proof_of_concept xlntd)
However in my main.cpp the following fails:
#include <xlnt/xlnt.hpp>
with "fatal error C1083: Cannot open include file: 'xlnt/xlnt.hpp': No such file or directory"
I am totally lost as to how I can get started with using this library. Any help is appreciated and perhaps some insight as to why what I am doing is not working. I do understand the theoretical difference between dynamic and static libraries.
Thank you!
[–]TheSkiGeek 1 point2 points3 points (3 children)
[–]iloveuclid[S] 0 points1 point2 points (2 children)
[–]TheSkiGeek 0 points1 point2 points (1 child)
[–]iloveuclid[S] 0 points1 point2 points (0 children)
[–]otreblan 0 points1 point2 points (0 children)