Personal tools
You are here: Home Forum Install & build how install netgen4.4

how install netgen4.4

Up to Install & build
  • how install netgen4.4

    Posted by HAEFFLER_Benoit at August 17. 2006
    i try to install netgen4.4 on ubuntu dapper

    i have download and unpack  ngs44

    make return :

     benzoid555@benzoid555-desktop:~/MyDownloads/ngs44$ make
    gcc -c -I./libsrc/include -I/opt/OpenCASCADE5.2/ros/inc  -I./ngsolve/include -Ilibsrc/interface -DOPENGL  -O2 -I/usr/include/GL3.5 -DLINUX -DOPENGL -ftemplate-depth-99 -finline-limit=20000 -funroll-loops  -DNGSOLVE  ngtcltk/ngappinit.cpp -o ngtcltk/ngappinit.o
    Dans le fichier inclus à partir de ngtcltk/ngappinit.cpp:7:
    ./libsrc/include/incvis.hpp:15:17: erreur: tcl.h : Aucun fichier ou répertoire de ce type
    ./libsrc/include/incvis.hpp:16:16: erreur: tk.h : Aucun fichier ou répertoire de ce type
    ./libsrc/include/incvis.hpp:27:20: erreur: GL/glu.h : Aucun fichier ou répertoire de ce type
    ./libsrc/include/../../togl/togl.h:160: attention : «Togl_Init» initialized and declared «extern»
    ./libsrc/include/../../togl/togl.h:160: erreur: «Tcl_Interp» was not declared in this scope
    ./libsrc/include/../../togl/togl.h:160: erreur: «interp» was not declared in this scope
    ./libsrc/include/../../togl/togl.h:198: attention : «Togl_Configure» initialized and declared «extern»
    ./libsrc/include/../../togl/togl.h:198: erreur: «Tcl_Interp» was not declared in this scope
    ./libsrc/include/../../togl/togl.h:198: erreur: «interp» was not declared in this scope
    ./libsrc/include/../../togl/togl.h:198: erreur: expected primary-expression before «struct»
    ./libsrc/include/../../togl/togl.h:199: erreur: expected primary-expression before «int»
    ./libsrc/include/../../togl/togl.h:199: erreur: expected primary-expression before «const»
    ./libsrc/include/../../togl/togl.h:199: erreur: expected primary-expression before «int»
    ./libsrc/include/../../togl/togl.h:199: erreur: initializer liste d'expressions traitée comme une expression composée
    ./libsrc/include/../../togl/togl.h:221: erreur: expected initializer before «*» token
    ./libsrc/include/../../togl/togl.h:223: erreur: «Tk_Window» does not name a type
    ./libsrc/include/../../togl/togl.h:280: attention : «Togl_ClientData» initialized and declared «extern»
    ./libsrc/include/../../togl/togl.h:280: erreur: variable or field «Togl_ClientData» declared void
    ./libsrc/include/../../togl/togl.h:280: erreur: «ClientData» was not declared in this scope
    ./libsrc/include/../../togl/togl.h:282: erreur: «ClientData» does not name a type
    ./libsrc/include/../../togl/togl.h:284: erreur: «ClientData» has not been declared
    ./libsrc/include/../meshing/meshtype.hpp:965: erreur: ISO C++ forbids declaration of «Mesh» with no type
    ./libsrc/include/../meshing/meshtype.hpp:965: erreur: expected «;» before «&» token
    ./libsrc/include/../meshing/meshtype.hpp:975: erreur: expected `)' before «&» token
    ngtcltk/ngappinit.cpp: In function «int main(int, char**)»:
    ngtcltk/ngappinit.cpp:100: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:100: erreur: «myinterp» was not declared in this scope
    ngtcltk/ngappinit.cpp:100: erreur: «Tcl_CreateInterp» was not declared in this scope
    ngtcltk/ngappinit.cpp:101: erreur: «Tcl_AppInit» was not declared in this scope
    ngtcltk/ngappinit.cpp:101: erreur: «TCL_ERROR» was not declared in this scope
    ngtcltk/ngappinit.cpp:115: erreur: «TCL_PATCH_LEVEL» was not declared in this scope
    ngtcltk/ngappinit.cpp:148: erreur: «Tcl_Eval» was not declared in this scope
    ngtcltk/ngappinit.cpp:160: erreur: «Tcl_EvalFile» was not declared in this scope
    ngtcltk/ngappinit.cpp:188: erreur: «Tcl_Eval» was not declared in this scope
    ngtcltk/ngappinit.cpp:189: erreur: «Tcl_SetVar» was not declared in this scope
    ngtcltk/ngappinit.cpp:206: erreur: «Tk_MainLoop» was not declared in this scope
    ngtcltk/ngappinit.cpp:207: erreur: «Tcl_DeleteInterp» was not declared in this scope
    ngtcltk/ngappinit.cpp: At global scope:
    ngtcltk/ngappinit.cpp:215: attention : «Tix_Init» initialized and declared «extern»
    ngtcltk/ngappinit.cpp:215: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:215: erreur: «interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:216: attention : «Itcl_Init» initialized and declared «extern»
    ngtcltk/ngappinit.cpp:216: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:216: erreur: «interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:217: attention : «Itk_Init» initialized and declared «extern»
    ngtcltk/ngappinit.cpp:217: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:217: erreur: «interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:218: attention : «Ng_Init» initialized and declared «extern»
    ngtcltk/ngappinit.cpp:218: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:218: erreur: «interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:219: attention : «Ng_Vis_Init» initialized and declared «extern»
    ngtcltk/ngappinit.cpp:219: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:219: erreur: «interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:230: erreur: «Tcl_Interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:230: erreur: «interp» was not declared in this scope
    ngtcltk/ngappinit.cpp:231: erreur: expected «,» or «;» before «{» token
    make: *** [ngtcltk/ngappinit.o] Erreur 1


    but i have already install
        tcl8.4 and tcl8.4-dev
        tk8.4 and tk8.4-dev
        tix and tix-dev

    have an idee ?

    thanks


    • Re: how install netgen4.4

      Posted by Marc Britten at August 20. 2006
      the header files for tcl/tk needs its own include path added -I/usr/include/tcl8.4
Powered by Ploneboard
Document Actions