tbeu / matio

MATLAB MAT File I/O Library
https://matio.sourceforge.io
BSD 2-Clause "Simplified" License
330 stars 97 forks source link

how to use matio in ubuntu version clion? #177

Closed Daniel-Ming closed 2 years ago

Daniel-Ming commented 2 years ago

I've successfully installed the matio package in my ubuntu 18 and when I use #include in clion, it can find the content but when I build my project , the build process failed, showing that Mat_Open is not defined in the main script. I think maybe a find_package() command in the CMakeLists.txt should added to locate this matio package but I have no idea how to do that.

tbeu commented 2 years ago

Please give full information (CMake command line) how you installed matio.