Hi all,

I'm trying to extend mitk::FiberBundleXMapper2D to change its behavior.
To do so, I created my own class where I changed one of the virtual method and added MitkDiffusionIO to my cmakelist
MITK_CREATE_MODULE( ImekaFiber
  DEPENDS MitkDataTypesExt MitkDiffusionIO ...
  PACKAGE_DEPENDS Qt4|QtCore
  EXPORT_DEFINE IMEKAFIBER_EXPORT
)
Yes, I use IMEKAFIBER_EXPORT with my class.

The problem is, I have some external errors that I don't understand:
PeaksMapper2D.obj : error LNK2001: unresolved external symbol...
public: virtual class vtkProp * __cdecl mitk::FiberBundleXMapper2D::GetVtkProp(class mitk::BaseRenderer *)
  protected: __cdecl mitk::FiberBundleXMapper2D::FiberBundleXMapper2D(void)
protected: virtual __cdecl mitk::FiberBundleXMapper2D::~FiberBundleXMapper2D(void) protected: virtual void __cdecl mitk::FiberBundleXMapper2D::GenerateDataForRenderer(class mitk::BaseRenderer *)

On another module, I use the MitkFiberTracking module and it works. The only difference I can see is that MitkDiffusionIO has "AUTOLOAD_WITH MitkCore" in its cmakelist. Is it possible to depend on a module that uses autoload? Thank you for your time.

--
Logo Imeka <http://imeka.ca/>     Nil Goyette, M.Sc.
www.imeka.ca <http://imeka.ca/>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to