[vtkusers] the VTK_COMMON_EXPORT undefined?
zhangzhijun
zjzhang at ee.cuhk.edu.hk
Sun Nov 25 21:56:13 EST 2001
After compiled the vtk4, the former program which works properly
gives these kind of error:
class 'VTK_COMMON_EXPORT'
c:\vtk4src\common\vtkobjectfactory.h(75) : error C2239: unexpected token ':' following declaration of 'vtkObjectFactory'
c:\vtk4src\common\vtkobjectfactory.h(75) : error C2059: syntax error : 'public'
c:\vtk4src\common\vtkmath.h(55) : error C2079: 'vtkMath' uses undefined class 'VTK_COMMON_EXPORT'
c:\vtk4src\common\vtkmath.h(55) : error C2239: unexpected token ':' following declaration of 'vtkMath'
c:\vtk4src\common\vtkmath.h(55) : error C2059: syntax error : 'public'
c:\vtk4src\common\vtkmath.h(455) : error C2653: 'vtkMath' : is not a class or namespace name
c:\vtk4src\common\vtkmath.h(458) : error C2653: 'vtkMath' : is not a class or namespace name
where is the error?
regards,
zjzhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20011126/bdf8e353/attachment.htm>
More information about the vtkusers
mailing list