[vtkusers] Problem with using vtk in MFC

Manoj manojbkumar at hotmail.com
Fri Mar 1 00:56:54 EST 2002


Hi,
When I am trying to include vtkCellArray.h header file into my MFC project, it is giving compilation error
on vtkidType parameter.It is giving the following error:

 error C2143: syntax error : missing ')' before 'constant'
 
 This error comes on the line no 169 of the file vtkIdTypeArray.h
 
   void SetArray(vtkIdType* array, vtkIdType size, int save);
   
   I am using VC 6.0 with UNICODE option for building the application.
   If anybody has come across a similar situation, kindly advice. Is there any additional compiler options to
   be set for compiling vtk on MFC?
   
   Thanks in advance,
   Manoj B Kumar.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020301/54e9a96a/attachment.htm>


More information about the vtkusers mailing list