SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Compilation problems with TK


Chronological Thread 
  • From: Alark Joshi <alark1@cs.umbc.edu>
  • To: Michael Callahan <callahan@sci.utah.edu>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] Compilation problems with TK
  • Date: Tue, 04 Oct 2005 15:20:38 -0400

That is exactly what McKay Davis just told me. I installed it and was able to successfully build the thirdparty installation part. I am now working with opengl libraries and headers and trying to install them.

Thanks a lot for your advice.

Alark


Michael Callahan wrote:

It appears that you do not have the x11 development package installed.
I am not familiar with the exact package name on Mandrake, but it's
probably something like x11-devel-something.rpm or
xlibs-version-devel.rpm

 Michael

On Tue, 2005-10-04 at 13:23 -0400, Alark Joshi wrote:

Hello,

I have dowloaded the SCIRun files and while I try to compile the 'Thirdparty' contents, I am getting the following errors. I am getting many more TK related errors before this, but am not sure how I can fix it.

I have installed the Mandrake distribution of linux and the binary works fine. I really want to get the source to build. Please help.

Thanks a lot,

Alark


/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1066: error: syntax error before "Pixmap"
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1067: error: syntax error before "XColor"
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1071: error: syntax error before "Pixmap"
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1074: error: syntax error before '}' token
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1074: warning: data definition has no type or storage class
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1079: error: syntax error before '*' token
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkDecls.h:1079: warning: data definition has no type or storage class
In file included from /usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:64,
from /usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkPort.h:32,
from /usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkArgv.c:16:
/usr/include/time.h:184: error: 'time' redeclared as different kind of symbol
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tk.h:586: error: previous declaration of 'time' was here
In file included from /usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkPort.h:32,
from /usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/tkArgv.c:16:
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:78:28: X11/cursorfont.h: No such file or directory
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:79:24: X11/keysym.h: No such file or directory
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:80:23: X11/Xatom.h: No such file or directory
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:81:24: X11/Xproto.h: No such file or directory
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:82:27: X11/Xresource.h: No such file or directory
/usr/local/SCIRun/Thirdparty/1.24.2/Linux/gcc-3.4.1-32bit/src/tk8.3.2/unix/../generic/../unix/tkUnixPort.h:83:23: X11/Xutil.h: No such file or directory
gmake: *** [tkArgv.o] Error 1
command FAILED! : gmake  -j 2

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================


===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page