[Paraview] make paraview-1.4.2 on Solaris8
ALIZIER Julien AUSY
julien.alizier-ausy at irsn.fr
Tue Jun 1 03:40:32 EDT 2004
oops sorry, made 2 mistakes :
- CFLAGS (not CCFLAGS)
- http://sunsolve.sun.com
Regards
-- Julien
-----Message d'origine-----
De : ALIZIER Julien AUSY [mailto:julien.alizier-ausy at irsn.fr]
Envoyé : mardi 1 juin 2004 09:36
À : 'Koichiro Suzuki'
Cc : ParaView Mailing List (E-mail)
Objet : RE: [Paraview] make paraview-1.4.2 on Solaris8
Hi Koichiro,
I've had the same problem with paraview 1.2.1.
It is due to old X11 header provided with Solaris 8.
The easiest way to bypass the error is to set the environement variables :
CXXFLAGS=-fpermissive
CCFLAGS=-fpermissive
Then this error becomes a warning and everything goes fine.
Another solution is to download a patch from sun (http://www.sunsolve.com)
that fixes the 'old' X11 headers.
Best regards,
-- Julien
-----Message d'origine-----
De : Koichiro Suzuki [mailto:suz at mito.ssd.ssg.fujitsu.com]
Envoyé : lundi 31 mai 2004 12:04
À : paraview at paraview.org
Objet : [Paraview] make paraview-1.4.2 on Solaris8
Hello
I compiled paraview-1.4.2 on Solaris 8 (with gcc 2.95), but the
following error occurrs.
:
Building object file vtkGraphicsFactory.o...
In file included from /usr/openwin/share/include/X11/Intrinsic.h:56,
from
/wk/PDS/PARAVIEW/paraview-1.4.2/VTK/Rendering/vtkXRenderWindowInteractor.h:3
8,
from
/wk/PDS/PARAVIEW/paraview-1.4.2/VTK/Rendering/vtkGraphicsFactory.cxx:60:
/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
:
In file included from /usr/openwin/share/include/X11/Intrinsic.h:58,
from
/wk/PDS/PARAVIEW/paraview-1.4.2/VTK/Rendering/vtkXRenderWindowInteractor.h:3
8,
from
/wk/PDS/PARAVIEW/paraview-1.4.2/VTK/Rendering/vtkGraphicsFactory.cxx:60:
/usr/openwin/share/include/X11/Xresource.h:249: ANSI C++ forbids declaration
`XrmQGetResource' with no type
make[5]: *** [vtkGraphicsFactory.o] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Rendering] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_VTK] Error 2
make: *** [default_target] Error 2
Can we make paraview with /usr/openwin ?
Or do we have to use the latest X11 ?
I really appreciate your reply.
Best regards.
--
Koichiro Suzuki
suz at mito.ssd.ssg.fujitsu.com
_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview
_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list