Greetings,
I have encountered an error on c++ qt project. It was build on mac firstly. But I am trying to make this application run also on windows. I did not modified the header files from this library. When i try to modify the code - the mat_uint32 things with typedef- it gives me lmatio and lmatio_pubconf are not found error. But when i attempt to run this programme it gives error below. I do not want to modify them.
error: 'mat_uint32_t' does not name a type; did you mean 'uint32_t'?
In file included from ..\name\mainwindow.cpp:17:
../name/matio/src/matio.h:220:5: error: 'mat_uint32_t' does not name a type; did you mean 'uint32_t'?
220 | mat_uint32_t nzmax; /*< Maximum number of non-zero elements /
| ^~~~~~~~~~~~
| uint32_t
Last edit: Abc 2024-08-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings,
I have encountered an error on c++ qt project. It was build on mac firstly. But I am trying to make this application run also on windows. I did not modified the header files from this library. When i try to modify the code - the mat_uint32 things with typedef- it gives me lmatio and lmatio_pubconf are not found error. But when i attempt to run this programme it gives error below. I do not want to modify them.
Any helps will be appreciated.
Thanks
Importation at .pro file:
INCLUDEPATH += matio/src
INCLUDEPATH += matio/build/src
LIBS += -L"matio/src" -lmatio
LIBS += -L"matio/build" -lmatio_pubconf.h
error: 'mat_uint32_t' does not name a type; did you mean 'uint32_t'?
In file included from ..\name\mainwindow.cpp:17:
../name/matio/src/matio.h:220:5: error: 'mat_uint32_t' does not name a type; did you mean 'uint32_t'?
220 | mat_uint32_t nzmax; /*< Maximum number of non-zero elements /
| ^~~~~~~~~~~~
| uint32_t
Last edit: Abc 2024-08-01