Hi, is it possible that you put the MITK_REGISTER_SERIALIZER macro call in a header file? It should be placed in a .cpp file, e.g. the file containing the mitkDefineGenericProperty macro call.
Best, Sascha On 02/20/2013 08:11 PM, Nil Goyette wrote: > Hi > > I created my own Property called UInt64Property using your macro: > mitkDeclareGenericProperty(UInt64Property, unsigned long long, XYZ_EXPORT); > mitkDefineGenericProperty(UInt64Property, unsigned long long, 0UL); > and a normal serializer class like FloatPropertySerializer and others. > > I registered it using : > MITK_REGISTER_SERIALIZER(UInt64PropertySerializer); > > It works perfectly but I always see the same warning message: > 76.58 core.mod.scnSerBase.propertylistSer WARNING: Multiple serializers > found for UInt64PropertyUsing arbitrarily the first one. > > It's the only serializer I register and I do have my scope guard > (#ifndef #def #endif) around MITK_REGISTER_SERIALIZER, so I don't > understand why MITK find more than one. > > Nil Goyette, M.Sc. > www.imeka.ca > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
