[vtkusers] vtkSetMacro - Changes?
Ravi Gupta
rgupta at imaging.robarts.ca
Thu Jan 30 12:28:17 EST 2003
I recently (2003Jan10) updated my VTK from the CVS.
I have an error related to the vtkSetMacro
vtkSetMacro(MagicNumber,double);
[rgupta at io py15]$ python
Python 1.5.2 (#1, Apr 3 2002, 18:16:26) [GCC 2.96 20000731 (Red Hat
Linux 7.2 2 on linux-i386 Copyright 1991-1995 Stichting Mathematisch
Centrum, Amsterdam
>>> from libvtkLocalPython import *
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError:
/net/bishop/bishop/source/vtk4n/petergrp/2003Jan10/linbin/py15//bin/libvtkLocalPython.so:
undefined symbol: GetMagicNumber__18vtkImageRGBToShort
>>>
No warnings or errors at compile time.
What are the changes I need to make to ensure this works? I looked
through the archive and the FAQ but did not find the answer.
I also looked at some source code in Common that uses this macro and the
related CMakeList.txt file, not sure if I'm missing something.
Thanks
Ravi
--
Ravi Gupta
Programmer
###################################################
Robarts Research - Imaging | 100 Perth Drive
Tel: (519) 663-5777 ext. 1-34077 | London, Ontario
Fax: (519) 663-3403 | N6A 5K8
E-Mail: rgupta at imaging.robarts.ca | Canada
###################################################
###################################################
http://www.imaging.robarts.ca/
http://www.imaging.robarts.ca/coders
http://www.imaging.robarts.ca/~rgupta
###################################################
"Be the change you wish to see in the world."
-Mohandas Karamchand Gandhi
More information about the vtkusers
mailing list