[vtkusers] errors compiling after including vtkVRMLImporter.h

M.Hardikar at asu.edu M.Hardikar at asu.edu
Fri May 3 02:47:55 EDT 2002


Hi everybody,

After including vtkVRMLImporter.h I am getting a bunch of following errors:

Compiling...
UserInputView.cpp
c:\program files\microsoft visual studio\vc98\include\new.h(75) : error
C2061: syntax error : identifier 'THIS_FILE'
c:\program files\microsoft visual studio\vc98\include\new.h(76) : error
C2091: function returns function
c:\program files\microsoft visual studio\vc98\include\new.h(76) : error
C2809: 'operator new' has no formal parameters
c:\program files\microsoft visual studio\vc98\include\new.h(76) : error
C2065: '_P' : undeclared identifier
c:\program files\vtk40\include\vtk\vtkvrml.h(220) : error C2061: syntax error
: identifier 'THIS_FILE'
        c:\program files\vtk40\include\vtk\vtkvrml.h(230) : see reference to
class template instantiation 'VectorType<T>' being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(221) : error C2091: function
returns function
        c:\program files\vtk40\include\vtk\vtkvrml.h(230) : see reference to
class template instantiation 'VectorType<T>' being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(221) : error C2802: static member
'operator new' has no formal parameters
        c:\program files\vtk40\include\vtk\vtkvrml.h(230) : see reference to
class template instantiation 'VectorType<T>' being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(221) : error C2333: 'new' : error
in function declaration; skipping function body
        c:\program files\vtk40\include\vtk\vtkvrml.h(230) : see reference to
class template instantiation 'VectorType<T>' being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(220) : error C2061: syntax error
: identifier 'THIS_FILE'
        c:\program files\vtk40\include\vtk\vtkvrmlimporter.h(187) : see
reference to class template instantiation 'VectorType<class vtkObject *>'
being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(221) : error C2091: function
returns function
        c:\program files\vtk40\include\vtk\vtkvrmlimporter.h(187) : see
reference to class template instantiation 'VectorType<class vtkObject *>'
being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(221) : error C2802: static member
'operator new' has no formal parameters
        c:\program files\vtk40\include\vtk\vtkvrmlimporter.h(187) : see
reference to class template instantiation 'VectorType<class vtkObject *>'
being compiled
c:\program files\vtk40\include\vtk\vtkvrml.h(221) : error C2333: 'new' : error
in function declaration; skipping function body
        c:\program files\vtk40\include\vtk\vtkvrmlimporter.h(187) : see
reference to class template instantiation 'VectorType<class vtkObject *>'
being compiled
Error executing cl.exe.
Creating browse info file...

Knee Loading.exe - 12 error(s), 0 warning(s)
------------------------------

Any help will be helpful.

Mahesh






More information about the vtkusers mailing list