It does actually link against mitkCoreExt.lib. the call MACRO_CREATE_MITK_PLUGIN(QmitkExt) in the cmake file of the bundle exists.

Any other ideas?

stefan

On Jul 7, 2009 5:17pm, Baumhauer Matthias <[email protected]> wrote:





Hi,





Does the
vs project of your plugin link against mitkCoreExt.lib ?





most
probably not, but only against MitkCore. You need to define the MitkExt
dependency.





The CMakeLists.txt
of your bundle should look like this:


MACRO_CREATE_MITK_PLUGIN(QmitkExt)








Regards,





Matthias










From:
[email protected] [mailto:[email protected]]

Sent: Tuesday, July 07, 2009 4:56
PM

To:
[email protected]

Subject: [mitk-users] Linker error
when creating an object of typemitk::ClosedSpline








Hi,



I'm having trouble using the class mitk::ClosedSpline found in the mitkCoreExt project in my plugin QmitkSpineMorphingView for ExtApp. I'm running the latest
version of mitk from the svn repository using the MS VS 2005 compiler.



When I try to create an instance of mitk::ClosedSpline by the call mitk::ClosedSpline::New()
I get the following linker error:



Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: static class itk::SmartPointer __cdecl
mitk::ClosedSpline::New(void)" (__imp_?...@closedspline@mitk@@sa?av?$smartpoin...@vclosedspline@mitk@@@itk@@XZ)
referenced in function "public: __thiscall
QmitkSpineMorphingView::QmitkSpineMorphingView(void)"
(??0QmitkSpineMorphingView@@q...@xz) QmitkSpineMorphingView.obj



Any ideas for a solution?



Stefan






------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to