[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Problems compiling code on Linux


  I know this is an easy question for many people to answer, I just
can't seem to find the right answer (brain-lock?).

  I'm trying to compile some c/c++ code that uses tcl/tk for an
interface and scripting language. I modified the makefile correctly
(I think) and I get the following error message:

gcc -m486 -DFLOAT -DLINUX bp.cpp -c
In file included from bp.h:17,
                 from bp.cpp:12:
/usr/local/include/tk.h:75: X11/Xlib.h: No such file or directory
make: *** [bp.o] Error 1

I know this is simple, but I can't seem to solve it. (BTW, I'm
running Redhat 5.2).


Jeff Layton

g593851 at fs1.mar.lmco.com
laytonjb at mindspring.com