[Insight-users] Help

Rao Jianguo rao . jianguo at hgu . mrc . ac . uk
Wed, 27 Aug 2003 08:39:06 +0100


--------------093D55D5C2064EEC2893BF34
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit

Dear all,



I 'm trying to compile  the InsightApplication on Sun workstation
 operating system is:
SunOS version 5.8 ) using  Cmake version 1.6.7.  As it requires VTK 4.2,
  I have to build
VTK 4.2.

But I failed to build VTK 4.2:
========================

I download  the VTK 4.2.0  and use Cmae to build it. At first it seems
everything is OK, but
when it goes to build the Rendering part it failed.

There are a lot of stuff on the screen such as :

/usr/openwin/include/X11/Xlib.h:3997:   ANSI C++ forbids declaration
`XStoreColor' with no type

It seems there are comflicts between the X11 and ANSI C++.

The gcc i used is  :

gcc version 2.95.2 19991024 (release)

Anyone can help?

Thanks for your attention.



Jianguo



--------------093D55D5C2064EEC2893BF34
Content-Type: text/html; charset=big5
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear all,
<br>&nbsp;
<br>&nbsp;
<p>I 'm trying to compile&nbsp; the InsightApplication on Sun workstation(
operating system is:
<br>SunOS version 5.8 ) using&nbsp; Cmake version 1.6.7.&nbsp; As it requires
VTK 4.2,&nbsp; I have to build
<br>VTK 4.2.&nbsp;&nbsp;
<p>But I failed to build VTK 4.2:
<br>========================
<p>I download&nbsp; the VTK 4.2.0&nbsp; and use Cmae to build it. At first
it seems everything is OK, but
<br>when it goes to build the Rendering part it failed.
<p>There are a lot of stuff on the screen such as :
<p>/usr/openwin/include/X11/Xlib.h:3997:&nbsp;&nbsp; ANSI C++ forbids declaration
`XStoreColor' with no type
<p>It seems there are comflicts between the X11 and ANSI C++.
<p>The gcc i used is&nbsp; :
<p>gcc version 2.95.2 19991024 (release)
<p>Anyone can help?
<p>Thanks for your attention.
<br>&nbsp;
<br>&nbsp;
<pre>
Jianguo</pre>
&nbsp;</html>

--------------093D55D5C2064EEC2893BF34--