Hello,
I am new to MITK and am trying to use the MITK Tutorial to display an image in my own Qt User Interface.
When trying to build my project the following error occurs:
7> Creating library C:/MITK-pt-sb/AwesomeProject-build/bin/Debug/AwesomeApp.lib and object C:/MITK-pt-sb/AwesomeProject-build/bin/Debug/AwesomeApp.exp
7>MainWindow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class itk::SmartPointer<class mitk::DataNodeFactory> __cdecl mitk::DataNodeFactory::New(void)" (__imp_?New@DataNodeFactory@mitk@@SA?AV?$SmartPointer@VDataNodeFactory@mitk@@@itk@@XZ) referenced in function "public: void __cdecl MainWindow::on_openButton_pressed(void)" (?on_openButton_pressed@MainWindow@@QEAAXXZ)
7>MainWindow.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class itk::SmartPointer<class mitk::DataNodeFactory> __cdecl mitk::DataNodeFactory::New(void)" (__imp_?New@DataNodeFactory@mitk@@SA?AV?$SmartPointer@VDataNodeFactory@mitk@@@itk@@XZ) referenced in function "public: void __cdecl MainWindow::on_openButton_pressed(void)" (?on_openButton_pressed@MainWindow@@QEAAXXZ)
I know this is a linker problem but I dont know which library to link or what else has to be done to solve this error.
I hope anyone can help
Best Regards
Sina
------------------------------------------------------------------------------
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users