Compiling on a Sun Ultra with Solaris, xgl, opengl, ELite-3D
Bill Hoffman
bill.hoffman at kitware.com
Tue May 2 17:25:37 EDT 2000
Actually, the problem is that gcc needs an option to work with
the broken X11 files that come with the sun.
If you add -fpermissive in user.make to USER_CXXFLAGS, I think
it fixes the problem.
-Bill
At 04:42 PM 5/2/00 -0400, Lisa Sobierajski Avila wrote:
>Hello John,
>
>Try dropping back to tcl/tk 8.2.3.
>
>Lisa
>
>At 06:27 PM 5/2/00, John Hipp wrote:
>>We have been using the precompiled VTK binaries on a PC, but have run into memory problems.
>>We are trying to compile on a 1GB RAM SUN Ultra 10 with Elite 3D running Solaris 5.7 and gcc 2.95.1.
>>We downloaded he latest source code, and configured with
>>./configure -with-shared -with-opengl -with-xgl -with-tcl
>>
>>It runs for awhile, then reports:
>>
>>c++ -g -O2 -fPIC -DVTK_WORDS_BIGENDIAN -DVTK_USE_PTHREADS -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I/usr/openwin/include -I./../common -I/space/NETSTUFF/tk8.3.1/generic -I/space/NETSTUFF/tcl8.3.1/generic -c tcl/CommonInit.cxx -o tcl/CommonInit.o
>>In file included from /space/NETSTUFF/tk8.3.1/generic/tk.h:83,
>> from vtkTclUtil.h:48,
>> from tcl/CommonInit.cxx:1:
>>/usr/openwin/include/X11/Xlib.h:2063: ANSI C++ forbids declaration `XSetTransientForHint' with no type
>>/usr/openwin/include/X11/Xlib.h:2071: ANSI C++ forbids declaration `XActivateScreenSaver' with no type
>>/usr/openwin/include/X11/Xlib.h:2078: ANSI C++ forbids declaration `XAddHost' with no type
>>.
>>lots of forbids declaration errors
>>.
>>make[1]: *** [tcl/CommonInit.o] Error 1
>>make[1]: Leaving directory `/space/NETSTUFF/vtk31/common'
>>make: *** [build_common] Error 2
>>
>>
>>
>>We would be very grateful to anyone who can help us get this compiled.
>>
>>Thanks.
>>
>>John Hipp, Baylor College of Medicine
>>
>>
>>--------------------------------------------------------------------
>>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.
>>--------------------------------------------------------------------
>
>
>--------------------------------------------------------------------
>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.
>--------------------------------------------------------------------
--------------------------------------------------------------------
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