[vtkusers] vtkSetMacro - Changes?
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Thu Jan 30 12:51:04 EST 2003
>>>>> "RG" == Ravi Gupta <rgupta at imaging.robarts.ca> writes:
RG> I recently (2003Jan10) updated my VTK from the CVS. I have an
RG> error related to the vtkSetMacro
RG> vtkSetMacro(MagicNumber,double);
RG> undefined symbol: GetMagicNumber__18vtkImageRGBToShort
This is perhaps unhelpful but haven't you used the vtkGetMacro? The
undefined symbol occurs for GetMagicNumber. SetMacro only creates
SetMagicNumber. So I think you simply need to add a
vtkGetMacro(MagicNumber, double);
cheers,
prabhu
More information about the vtkusers
mailing list