[Insight-users] Problem in build project with VTK and ITK in MS.net

fyy5581 fyy5581 at 163.com
Fri Jan 26 02:20:20 EST 2007


Hi,all.

I am trying to use VTK and ITK in my Ms.net project.but getting some strange errors like below.

error C2802: static member 'operator new' has no formal parameters
error C2091: function returns function
error C2090: function returns array
error C2059: syntax error : 'string'
error C2059: syntax error : 'string'

and it point to the place int the file itkLightObject.h:

#ifdef _WIN32
 void* operator new(size_t);
 void* operator new[](size_t);
void operator delete(void*);
void operator delete[](void*, size_t);
#endif 

I searche Luis's answer:
http://public.kitware.com/pipermail/insight-users/2005-September/014896.html

I do use cmake ,I do compile the VTK and ITK both in  
Multi-Threading
- Debug

But I still have the problem. what can i do?

Thank you very much!

Vivian



fyy5581
2007-01-26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070126/df878c20/attachment.html


More information about the Insight-users mailing list