Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Netgen Installation Problem on Linux

Taoran
2012-03-18
2013-05-27
  • Taoran
    Taoran
    2012-03-18

    Hi,
    I am trying to install Netgen on a Linux Redhat OS. I have tcl 8.4, tk8.4, tix installed before I configured the netgen. The configuration succeeded but the compilation fails in the directory libsrc/visualization.

    make: Entering directory `/home/rhome/lit5/netgen-4.9.13/libsrc/visualization'
    g++ -DHAVE_CONFIG_H -I. -I../..   -I../../libsrc/include  -DOPENGL -DTOGL_X11     -I"/home/rhome/lit5/tcl8.4.19/generic"  -DOPENGL -g -O2 -MT meshdoc.o -MD -MP -MF .deps/meshdoc.Tpo -c -o meshdoc.o meshdoc.cpp
    In file included from ./visual.hpp:20,
                     from meshdoc.cpp:10:
    ./../include/incvis.hpp:5:16: error: tk.h: No such file or directory
    make: ***  Error 1
    make: Leaving directory `/home/rhome/lit5/netgen-4.9.13/libsrc/visualization'
    make: ***  Error 1
    make: Leaving directory `/home/rhome/lit5/netgen-4.9.13/libsrc'
    make: ***  Error 1
    make: Leaving directory `/home/rhome/lit5/netgen-4.9.13'

    The tk.h file in the directory /home/rhome/lit5/tk/include.

    I came across a thread which has similar problem: https://sourceforge.net/projects/netgen-mesher/forums/forum/905307/topic/4589920. However, I changed the two makefile.am as suggested but it doesn't seem to solve the problem.

    Thanks for everyone's help.

    Taoran