[R] tcltk error compiling R 2.13.0 under Windows 7 x64
Joshua Wiley
jwiley.psych at gmail.com
Tue Dec 14 01:33:45 CET 2010
Hi All,
I am trying to compile R 2.13.0 r53834 on 64-bit Windows 7 (home
premium) using Rtools212.exe from Duncan Murdoch's site. I (think) I
followed the installation guide for Windows. When installing Rtools,
made sure I was installing 64-bit tools (including tcltk), etc. I
created a copy of MkRules.local where I selected 64 bit instead of 32
architecture. When I run:
C:\R\R-devel\src\gnuwin32> make all recommended
I get the following error at the very end:
building package 'tcltk'
making init.d from init.c
making tcltk.d from tcltk.c
making tcltk_win.d from tcltk_win.c
x86_64-w64-mingw32-gcc -I"../../../../include" -I "../../../../Tcl"/include -DWi
n32 -O2 -Wall -std=gnu99 -c init.c -o init.o
In file included from init.c:22:0:
tcltk.h:23:17: fatal error: tcl.h: No such file or directory
compilation terminated.
make[4]: *** [init.o] Error 1
make[3]: *** [mksrc-win2] Error 1
make[2]: *** [all] Error 2
make[1]: *** [R] Error 1
make: *** [all] Error 2
which seems suggestive that I did not install tcltk or it is looking
for it in the wrong location. Is there an environment variable I need
to set or should I add something to my PATH? Rtools created a
directory C:\R64\Tcl
which includes a tcl.h file, so I think that is what I need, I am just
not sure how to tell the compiler where to find it. Everything else
works like a charm. Any tips or pointers where to start would be
appreciated. My sincerest apologies if I missed something from the
installation manual or one of the readmes for Rtools.
Thanks,
Josh
--
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
http://www.joshuawiley.com/
More information about the R-help
mailing list