From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Mar 25 2003 - 22:33:02 CST

Hi Paul,
  You'll need to make sure that you use Tcl 8.4.x rather than the
older versions of Tcl. This will eliminate the const char errors.
We updated the VMD source code to match the new APIs in Tcl 8.4.x which
are now more const correct than the older revs of Tcl were.

  John Stone
  vmd_at_ks.uiuc.edu

On Wed, Mar 26, 2003 at 01:36:27PM +1000, Paul Darwen wrote:
>
> Hi y'all
>
> I'm compiling the VMD CVS source code, and am getting a bunch
> of errors of the form:
>
> invalid conversion from `const char*' to `char*'
>
> ... for things related to procedures from tcl.h. For example,
> line 370 in TclTextInterp.C looks like:
>
> Tcl_Channel inchannel = Tcl_OpenFileChannel(interp, fname, "r", 0644);
>
> ... and this is one of many that give the same error.
>
> I presume that the version of Tcl that I'm using (8.3.3-21)
> is different from the version used in the CVS source code.
>
> Any suggestions? Should I be using a different version of
> Tcl or what?
>
> - Paul
> __________________________________________________________________
>
> Paul Darwen www.protagonist.com.au/darwen
> Protagonist Pty Ltd darwen_at_protagonist.com.au
> 11 Lang Parade Phone: +61-7-3377-0304
> Brisbane 4064 Australia Fax: +61-7-3377-0333
> __________________________________________________________________
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078