-
Notifications
You must be signed in to change notification settings - Fork 12
Problem with linking library #66
Description
Hi,
For the last days I have been trying to link matio-cpp to my project, but without success. I am rather new to cmake, but it seems that I have successfully built and installed the binaries.
I included the library in my project with find_package(matioCpp REQUIRED) (which seems to find the package properly) and linking the libraries with target_link_libraries(my_project PRIVATE matioCpp::matioCpp).
However, when trying to create a MAT-file, I get an undefined reference error for matioCpp::File::Create(...) and matioCpp::File::~File(), which indicates that only the headers are imported, but not the implementations.
Any help would be greatly appreciated! I realize this is not really a problem that is specific to matio-cpp, but it would be awesome if someone could help me out a bit.