Menu

ubuntu 14.04 gcc 4.8.4 build problem

Help
2015-08-02
2015-08-02
  • osman buyukisik

    osman buyukisik - 2015-08-02

    Hello,
    I tried building 6.0 beta , but havin the following compilation problem:
    ...
    /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I../include -DUSE_MUMPS -I"/usr/include/tcl8.6" -DTCL -g -O2 -std=gnu++11 -fopenmp -DUSE_TIMEOFDAY -DLAPACK -I. -I/opt/netgen/include -DPARALLEL -I/usr/include/mpi -DCUDA -I/usr/local/cuda-6.5/include -DNGS_PYTHON -I/usr/include/python3.4m -MT ngsolve.lo -MD -MP -MF .deps/ngsolve.Tpo -c -o ngsolve.lo ngsolve.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I../include -DUSE_MUMPS -I/usr/include/tcl8.6 -DTCL -g -O2 -std=gnu++11 -fopenmp -DUSE_TIMEOFDAY -DLAPACK -I. -I/opt/netgen/include -DPARALLEL -I/usr/include/mpi -DCUDA -I/usr/local/cuda-6.5/include -DNGS_PYTHON -I/usr/include/python3.4m -MT ngsolve.lo -MD -MP -MF .deps/ngsolve.Tpo -c ngsolve.cpp -fPIC -DPIC -o .libs/ngsolve.o
    ngsolve.cpp: In function 'void NGS_ParallelRun(const string&)':
    ngsolve.cpp:1451:14: error: 'class ngcomp::PDE' has no member named 'LoadPDE'
    pde -> LoadPDE (dummy, false, 0);
    ^
    make[2]: *** [ngsolve.lo] Error 1
    make[2]: Leaving directory /home/osman/src/ngsolve-6.0-beta/solve' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/osman/src/ngsolve-6.0-beta'
    make: *** [all] Error 2

    any ideas what I might be missing?
    ubuntu 14.04 , gcc 4.8.4
    Thanks in advance
    Osman

     
    • osman buyukisik

      osman buyukisik - 2015-08-02

      Possibly due to confusion as I already had netgen installed using apt-get which was older. Uninstalling the old version allowed compilation of 6.0-beta (had to install netgen first).
      Sorry for the noise.
      -osman

       

Log in to post a comment.