compiling vtk31 on solaris.

Bill Lorensen wlorens1 at nycap.rr.com
Wed Apr 12 18:10:35 EDT 2000


Add the -fpermissive to your user cxx flags in user.make.

Bill

At 10:02 AM 4/12/00 -0700, Naveen Kumar Polapally wrote:
>hi,
>
>when i compile vtk on solaris.I am getting the following error,can some one help me with this.
>
>
>vtkVectorrs.h  vtkVersion.h  vtkVon.h  vtkVertex.h  vtkVoidArray.h  
>vtkVoxel.h  vtkWedge.h  vtkWindowLevelLookupTable.h  
>vtkWindowToImageFilter.h  vtkObjectFa
>ctoryCollection.h > tcl/CommonInit.cxx
>c++  -g -O2 -fPIC -DVTK_WORDS_BIGENDIAN   -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I.   -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DV
>TK_USE_IMAGING -I./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB  -DVTK_USE_OGLR -I/usr/openwin/share/include/   
>-I/usr/openwin/include   -I
>./../common -I/usr/local/include/tk.h -I/usr/local/include/tcl.h  
>-I/usr/java/include -I/usr/java/include/solaris  -c tcl/CommonInit.cxx -o tcl/CommonInit.o
>In file included from /usr/local/include/tk.h:82,
>                 from vtkTclUtil.h:48,
>                 from tcl/CommonInit.cxx:1:
>/usr/openwin/share/include/X11/Xlib.h:2099: ANSI C++ forbids declaration `XSetTransientForHint' with no type
>/usr/openwin/share/include/X11/Xlib.h:2107: ANSI C++ forbids declaration `XActivateScreenSaver' with no type
>/usr/openwin/share/include/X11/Xlib.h:2114: ANSI C++ forbids declaration `XAddHost' with no type
>/usr/openwin/share/include/X11/Xlib.h:2122: ANSI C++ forbids declaration `XAddHosts' with no type
>/usr/openwin/share/include/X11/Xlib.h:2129: ANSI C++ forbids declaration `XAddToExtensionList' with no type
>/usr/openwin/share/include/X11/Xlib.h:2136: ANSI C++ forbids declaration `XAddToSaveSet' with no type
>/usr/openwin/share/include/X11/Xlib.h:2190: ANSI C++ forbids declaration `XAllowEvents' with no type
>/usr/openwin/share/include/X11/Xlib.h:2196: ANSI C++ forbids declaration `XAutoRepeatOff' with no type
>/usr/openwin/share/include/X11/Xlib.h:2202: ANSI C++ forbids declaration `XAutoRepeatOn' with no type
>/usr/openwin/share/include/X11/Xlib.h:2209: ANSI C++ forbids declaration `XBell' with no type
>/usr/openwin/share/include/X11/Xlib.h:2242: ANSI C++ forbids declaration `XChangeActivePointerGrab' with no type
>/usr/openwin/share/include/X11/Xlib.h:2251: ANSI C++ forbids declaration `XChangeGC' with no type
>/usr/openwin/share/include/X11/Xlib.h:2259: ANSI C++ forbids declaration `XChangeKeyboardControl' with no type
>/usr/openwin/share/include/X11/Xlib.h:2269: ANSI C++ forbids declaration `XChangeKeyboardMapping' with no type
>/usr/openwin/share/include/X11/Xlib.h:2280: ANSI C++ forbids declaration `XChangePointerControl' with no type
>/usr/openwin/share/include/X11/Xlib.h:2293: ANSI C++ forbids declaration `XChangeProperty' with no type
>/usr/openwin/share/include/X11/Xlib.h:2301: ANSI C++ forbids declaration `XChangeSaveSet' with no type
>/usr/openwin/share/include/X11/Xlib.h:2310: ANSI C++ forbids declaration `XChangeWindowAttributes' with no type
>/usr/openwin/share/include/X11/Xlib.h:2367: ANSI C++ forbids declaration `XCirculateSubwindows' with no type
>/usr/openwin/share/include/X11/Xlib.h:2374: ANSI C++ forbids declaration `XCirculateSubwindowsDown' with no type
>/usr/openwin/share/include/X11/Xlib.h:2381: ANSI C++ forbids declaration `XCirculateSubwindowsUp' with no type
>/usr/openwin/share/include/X11/Xlib.h:2393: ANSI C++ forbids declaration `XClearArea' with no type
>/usr/openwin/share/include/X11/Xlib.h:2400: ANSI C++ forbids declaration `XClearWindow' with no type
>
>
>-----------------------------------i
>
>
>
>
>
>
>
>
>
>/usr/openwin/share/include/X11/Xlib.h:4136: ANSI C++ forbids declaration `XUninstallColormap' with no type
>/usr/openwin/share/include/X11/Xlib.h:4143: ANSI C++ forbids declaration `XUnloadFont' with no type
>/usr/openwin/share/include/X11/Xlib.h:4150: ANSI C++ forbids declaration `XUnmapSubwindows' with no type
>/usr/openwin/share/include/X11/Xlib.h:4157: ANSI C++ forbids declaration `XUnmapWindow' with no type
>/usr/openwin/share/include/X11/Xlib.h:4177: ANSI C++ forbids declaration `XWarpPointer' with no type
>/usr/openwin/share/include/X11/Xlib.h:4198: ANSI C++ forbids declaration `XWindowEvent' with no type
>*** Error code 1
>make: Fatal error: Command failed for target `tcl/CommonInit.o'
>Current working directory /p1/vtk/vtk31/common
>*** Error code 1
>make: Fatal error: Command failed for target `build_common'


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list