I am trying to compile a code where I use a class defined in a static library .lib. this class is using itk functions, the includes are in the .cpp.
I give to my code, the .lib and the .h of the project defining this class.
When I try to compile I get this error:
the lib itksys-4.13.lib is well passed to the compiler. in visual studio if I look at: Project->Properties->Linker->CommandLine I can see it. (it is passed using qmake. in the .pri:
MyITK {
CONFIG_FOUND += MyITK
QMAKE_LIBDIR += $${PACKAGE_LIB}/MyITK
win32:LIBS += ITKBiasCorrection-4.13.lib \
etc...)
and in the .pro:
CONFIG += MyITK
)
I don't get why I have this error if the lib is there.