From: Mahmood Naderan (mahmood.nt_at_gmail.com)
Date: Sat Mar 03 2018 - 13:47:07 CST

Hi,
I followed a post from the mail archive about building vmd from source
in order to properly set the tcl location in the configure script [1].
I did that, however, I still get the error that tcl.h no such file or
directory. Any idea?

mahmood_at_orca:vmd-1.9.3$ grep tcl-threaded configure
$stock_tcl_include_dir="/home/mahmood/namd-2.12/tcl-threaded/include";
$stock_tcl_library_dir="/home/mahmood/namd-2.12/tcl-threaded/lib";
mahmood_at_orca:vmd-1.9.3$ ./configure LINUXAMD64 CUDA
mahmood_at_orca:vmd-1.9.3$ cd src
mahmood_at_orca:src$ make
echo "Compiling " MDFF.C " --> " MDFF.o " ..."; \
g++ -m64 -fno-for-scope -Wno-deprecated -Wall -O6 -ffast-math
-DARCH_LINUXAMD64 -DVMDCUDA -DMSMPOT_CUDA -DVMDQUICKSURF
-DVMDWITHCARBS -DVMDPOLYHEDRA -DVMDSURF -DVMDMSMS -DVMDNANOSHAPER
-DVMDSTATICPLUGINS -I../plugins/include
-I../plugins/LINUXAMD64/molfile -I. -c MDFF.C -o ../LINUXAMD64/MDFF.o
Compiling MDFF.C --> MDFF.o ...
MDFF.C:29:17: fatal error: tcl.h: No such file or directory
compilation terminated.
Makefile:420: recipe for target 'MDFF.o' failed
make: *** [MDFF.o] Error 1
mahmood_at_orca:src$ ls /home/mahmood/namd-2.12/tcl-threaded/lib/
libtcl8.5.a libtclstub8.5.a tcl8 tcl8.5 tclConfig.sh

[1] http://www.ks.uiuc.edu/Research/vmd/mailing_list/vmd-l/25611.html

Regards,
Mahmood