[vtkusers] ANSI C++ forbids implicit conversion

Stefan Mogck s.mogck at phys.rug.nl
Tue Dec 10 04:03:06 EST 2002


Hallo vtk-users

I try still to compile vtk from source code. I am using Linux Suse 7.3 (gcc 
and g++ 2.95). I like to bind my python and tk into it. After typing 'make'
during the compilation I got the following error message:

......I/home/stefan/pythonsource/VTK/Utilities/ftgl -I/usr/include/python2.2  
 -c /home/stefan/pythonsource/VTK/Wrapping/vtkWrapPython.c -o vtkWrapPython.o
/home/stefan/pythonsource/VTK/Wrapping/vtkWrapPython.c: In function `void 
get_python_signature()':
/home/stefan/pythonsource/VTK/Wrapping/vtkWrapPython.c:434: ANSI C++ forbids 
implicit conversion from `void *' in assignment
make[3]: *** [vtkWrapPython.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping] Error 2
make: *** [default_target] Error 2

I hope, I did configure VTK correctly. Has anybody experienced such problems? 
I used the latest version of cmake (version 1.46). I downloaded VTK via cvs 
and tried also to compile tar balls. I got always the same error message 
during compilation.

greetings, Stefan



More information about the vtkusers mailing list