Hi all,
i have a header file with the following:
class CrossRef {
...
private:
boost::shared_ptr<boost::thread> magtracker_reader;
mitk::MedSAFETrackingDevice::Pointer tracker;
mitk::TrackingDeviceSource::Pointer source;
....
and i try to implement in a separate cpp file:
void CrossRef::initMagneticTracker() {
tracker= mitk::MedSAFETrackingDevice::New(); //error thrown HERE
source = mitk::TrackingDeviceSource::New();
source->SetTrackingDevice(tracker);
source->Connect();
source->StartTracking();
}
The CrossRef constructor is the default one. The problem is, that an
"cxx0030 error: expression cannot be evaluated" is thrown by
itksmartpointer.h at:
SmartPointer &operator = (ObjectType *r)
{
if (m_Pointer != r)
....
Any ideas?
Thanks,
KP
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users