Why does FEM meshing doesn't generate volume elements in some cases

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by bernd »

vejmarie wrote:Did you recompile netgen from my repo ?

Code: Select all

hugo@weide:~/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run aclocal-1.11 -I m4
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: aclocal-1.11: Kommando nicht gefunden.
WARNING: `aclocal-1.11' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run automake-1.11 --foreign
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: automake-1.11: Kommando nicht gefunden.
WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run autoconf
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: autoconf: Kommando nicht gefunden.
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.ac'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-occ --enable-shared --enable-nglib CXXFLAGS=-DNGLIB_EXPORTS --includedir=/usr/local/include/opencascade --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g++ option to support OpenMP... -fopenmp
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking iostream.h usability... no
checking iostream.h presence... no
checking for iostream.h... no
checking limits usability... yes
checking limits presence... yes
checking for limits... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking iomanip.h usability... no
checking iomanip.h presence... no
checking for iomanip.h... no
OCCFLAGS = -DOCCGEOMETRY -I/opt/OpenCASCADE/inc -I/usr/local/include/opencascade -D_OCC64 -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_LIMITS_H -DHAVE_IOMANIP
OCCLIBS = -L/opt/OpenCASCADE/lib -lTKernel -lTKGeomBase -lTKMath -lTKG2d -lTKG3d -lTKXSBase -lTKOffset -lTKFillet -lTKShHealing -lTKMesh -lTKMeshVS -lTKTopAlgo -lTKGeomAlgo -lTKBool -lTKPrim -lTKBO -lTKIGES -lTKBRep -lTKSTEPBase -lTKSTEP -lTKSTL -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin
checking for correct TEA configuration... ok (TEA 3.9)
configure: configuring netgen 5.3.1
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tk configuration... found /usr/lib/tkConfig.sh
checking for existence of /usr/lib/tkConfig.sh... loading
checking for Tcl public headers... /usr/include/tcl8.6
checking for Tk public headers... /usr/include/tcl8.6
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
configure: creating ./config.status

------------------------------------------------------------------------
  netgen 5.3.1:  Automatic configuration OK.

  Enabled functionality:

    OCC: ............... true
    JPEGlib: ........... false
    FFMPEG: ............ false
    NGLIB: ............. true
    GUI: ............... true


  Building:

    Type 'make' to compile netgen.

    Type 'make install' to install netgen.

  Example programs will be built but not installed.
------------------------------------------------------------------------

 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating libsrc/Makefile
config.status: creating libsrc/csg/Makefile
config.status: creating libsrc/general/Makefile
config.status: creating libsrc/geom2d/Makefile
config.status: creating libsrc/gprim/Makefile
config.status: creating libsrc/include/Makefile
config.status: creating libsrc/interface/Makefile
config.status: creating libsrc/linalg/Makefile
config.status: creating libsrc/meshing/Makefile
config.status: creating libsrc/occ/Makefile
config.status: creating libsrc/stlgeom/Makefile
config.status: creating libsrc/visualization/Makefile
config.status: creating ng/Makefile
config.status: creating nglib/Makefile
config.status: creating tutorials/Makefile
config.status: creating doc/Makefile
config.status: creating windows/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run autoheader)
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: autoheader: Kommando nicht gefunden.
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1'
Making all in libsrc
make[2]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc'
Making all in general
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/general'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -I../../libsrc/include   -DNGLIB_EXPORTS -fopenmp -MT array.lo -MD -MP -MF .deps/array.Tpo -c -o array.lo array.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -DNGLIB_EXPORTS -fopenmp -MT array.lo -MD -MP -MF .deps/array.Tpo -c array.cpp  -fPIC -DPIC -o .libs/array.o
mv -f .deps/array.Tpo .deps/array.Plo

...

/bin/bash ../../libtool --tag=CXX   --mode=link g++  -DNGLIB_EXPORTS -fopenmp   -o libcsg.la -rpath /opt/netgen/lib algprim.lo brick.lo bspline2d.lo csgeom.lo csgparser.lo curve2d.lo edgeflw.lo explicitcurve2d.lo extrusion.lo gencyl.lo genmesh.lo identify.lo manifold.lo meshsurf.lo polyhedra.lo revolution.lo singularref.lo solid.lo specpoin.lo spline3d.lo surface.lo triapprox.lo ../../libsrc/meshing/libmesh.la 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginS.o  .libs/algprim.o .libs/brick.o .libs/bspline2d.o .libs/csgeom.o .libs/csgparser.o .libs/curve2d.o .libs/edgeflw.o .libs/explicitcurve2d.o .libs/extrusion.o .libs/gencyl.o .libs/genmesh.o .libs/identify.o .libs/manifold.o .libs/meshsurf.o .libs/polyhedra.o .libs/revolution.o .libs/singularref.o .libs/solid.o .libs/specpoin.o .libs/spline3d.o .libs/surface.o .libs/triapprox.o   -Wl,-rpath -Wl,/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/meshing/.libs -Wl,-rpath -Wl,/opt/netgen/lib ../../libsrc/meshing/.libs/libmesh.so -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -lstdc++ -lm -lgomp -lpthread -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o  -fopenmp   -fopenmp -Wl,-soname -Wl,libcsg.so.0 -o .libs/libcsg.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libcsg.so.0" && ln -s "libcsg.so.0.0.0" "libcsg.so.0")
libtool: link: (cd ".libs" && rm -f "libcsg.so" && ln -s "libcsg.so.0.0.0" "libcsg.so")
libtool: link: ( cd ".libs" && rm -f "libcsg.la" && ln -s "../libcsg.la" "libcsg.la" )
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT vscsg.lo -MD -MP -MF .dep
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT vscsg.lo -MD -MP -MF .deps/vscsg.Tpo -c vscsg.cpp  -fPIC -DPIC 
In file included from vscsg.cpp:2:0:
../../libsrc/include/incvis.hpp:20:21: fatal error: glu.h: No such file or directory
 #    include <glu.h>
                     ^
compilation terminated.
Makefile:416: recipe for target 'vscsg.lo' failed
make[3]: *** [vscsg.lo] Error 1
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/csg'
Makefile:311: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc'
Makefile:354: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1'
Makefile:285: recipe for target 'all' failed
make: *** [all] Error 2
hugo@weide:~/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1$ 

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by bernd »

vejmarie wrote:That is probably why you face issue with fem u do not have the proper netgen back end :)
FEM should work with netgen deactivated too. Actually I have never ever succeeded in compiling FreeCAD with netgen. It's time to change this ...

on first import of FEM I get

Code: Select all

Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: /home/hugo/Documents/dev/freecad/freecadbhb_vejmarie/build/lib/libSMDS.so: undefined symbol: _ZN20vtkAbstractCellLinksC2Ev
on second try I get a segmenation fault ...

It might be I still have not fixed the Medfile problem properly?! Might this be related to each other?!
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by vejmarie »

bernd wrote:
vejmarie wrote:That is probably why you face issue with fem u do not have the proper netgen back end :)
FEM should work with netgen deactivated too. Actually I have never ever succeeded in compiling FreeCAD with netgen. It's time to change this ...

on first import of FEM I get

Code: Select all

Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: /home/hugo/Documents/dev/freecad/freecadbhb_vejmarie/build/lib/libSMDS.so: undefined symbol: _ZN20vtkAbstractCellLinksC2Ev
on second try I get a segmenation fault ...

It might be I still have not fixed the Medfile problem properly?! Might this be related to each other?!
Looks like more that your Fem module is not linked with VTK. So there should be a mistacke somewhere into my CMake for Fem/App. Can you add this into it

find_package(VTK REQUIRED)

Then into includdir part

${VTK_INCLUDE_DIR}

and ${VTK_LIBRARIES} for the link ?

I just added that into the Fem/App CMake file into my repo. It also appears that the netgen path is "hardcoded" there and you might need some adaptation, but not sure. Will see ;)

vejmarie
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by vejmarie »

bernd wrote:
vejmarie wrote:Did you recompile netgen from my repo ?

Code: Select all

hugo@weide:~/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run aclocal-1.11 -I m4
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: aclocal-1.11: Kommando nicht gefunden.
WARNING: `aclocal-1.11' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.ac'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run automake-1.11 --foreign
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: automake-1.11: Kommando nicht gefunden.
WARNING: `automake-1.11' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run autoconf
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: autoconf: Kommando nicht gefunden.
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.ac'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-occ --enable-shared --enable-nglib CXXFLAGS=-DNGLIB_EXPORTS --includedir=/usr/local/include/opencascade --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g++ option to support OpenMP... -fopenmp
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking iostream.h usability... no
checking iostream.h presence... no
checking for iostream.h... no
checking limits usability... yes
checking limits presence... yes
checking for limits... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking iomanip.h usability... no
checking iomanip.h presence... no
checking for iomanip.h... no
OCCFLAGS = -DOCCGEOMETRY -I/opt/OpenCASCADE/inc -I/usr/local/include/opencascade -D_OCC64 -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_LIMITS_H -DHAVE_IOMANIP
OCCLIBS = -L/opt/OpenCASCADE/lib -lTKernel -lTKGeomBase -lTKMath -lTKG2d -lTKG3d -lTKXSBase -lTKOffset -lTKFillet -lTKShHealing -lTKMesh -lTKMeshVS -lTKTopAlgo -lTKGeomAlgo -lTKBool -lTKPrim -lTKBO -lTKIGES -lTKBRep -lTKSTEPBase -lTKSTEP -lTKSTL -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin
checking for correct TEA configuration... ok (TEA 3.9)
configure: configuring netgen 5.3.1
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for Tk configuration... found /usr/lib/tkConfig.sh
checking for existence of /usr/lib/tkConfig.sh... loading
checking for Tcl public headers... /usr/include/tcl8.6
checking for Tk public headers... /usr/include/tcl8.6
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
configure: creating ./config.status

------------------------------------------------------------------------
  netgen 5.3.1:  Automatic configuration OK.

  Enabled functionality:

    OCC: ............... true
    JPEGlib: ........... false
    FFMPEG: ............ false
    NGLIB: ............. true
    GUI: ............... true


  Building:

    Type 'make' to compile netgen.

    Type 'make install' to install netgen.

  Example programs will be built but not installed.
------------------------------------------------------------------------

 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating libsrc/Makefile
config.status: creating libsrc/csg/Makefile
config.status: creating libsrc/general/Makefile
config.status: creating libsrc/geom2d/Makefile
config.status: creating libsrc/gprim/Makefile
config.status: creating libsrc/include/Makefile
config.status: creating libsrc/interface/Makefile
config.status: creating libsrc/linalg/Makefile
config.status: creating libsrc/meshing/Makefile
config.status: creating libsrc/occ/Makefile
config.status: creating libsrc/stlgeom/Makefile
config.status: creating libsrc/visualization/Makefile
config.status: creating ng/Makefile
config.status: creating nglib/Makefile
config.status: creating tutorials/Makefile
config.status: creating doc/Makefile
config.status: creating windows/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing --run autoheader)
/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/missing: Zeile 52: autoheader: Kommando nicht gefunden.
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.ac'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1'
Making all in libsrc
make[2]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc'
Making all in general
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/general'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -I../../libsrc/include   -DNGLIB_EXPORTS -fopenmp -MT array.lo -MD -MP -MF .deps/array.Tpo -c -o array.lo array.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -DNGLIB_EXPORTS -fopenmp -MT array.lo -MD -MP -MF .deps/array.Tpo -c array.cpp  -fPIC -DPIC -o .libs/array.o
mv -f .deps/array.Tpo .deps/array.Plo

...

/bin/bash ../../libtool --tag=CXX   --mode=link g++  -DNGLIB_EXPORTS -fopenmp   -o libcsg.la -rpath /opt/netgen/lib algprim.lo brick.lo bspline2d.lo csgeom.lo csgparser.lo curve2d.lo edgeflw.lo explicitcurve2d.lo extrusion.lo gencyl.lo genmesh.lo identify.lo manifold.lo meshsurf.lo polyhedra.lo revolution.lo singularref.lo solid.lo specpoin.lo spline3d.lo surface.lo triapprox.lo ../../libsrc/meshing/libmesh.la 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginS.o  .libs/algprim.o .libs/brick.o .libs/bspline2d.o .libs/csgeom.o .libs/csgparser.o .libs/curve2d.o .libs/edgeflw.o .libs/explicitcurve2d.o .libs/extrusion.o .libs/gencyl.o .libs/genmesh.o .libs/identify.o .libs/manifold.o .libs/meshsurf.o .libs/polyhedra.o .libs/revolution.o .libs/singularref.o .libs/solid.o .libs/specpoin.o .libs/spline3d.o .libs/surface.o .libs/triapprox.o   -Wl,-rpath -Wl,/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/meshing/.libs -Wl,-rpath -Wl,/opt/netgen/lib ../../libsrc/meshing/.libs/libmesh.so -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -lstdc++ -lm -lgomp -lpthread -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o  -fopenmp   -fopenmp -Wl,-soname -Wl,libcsg.so.0 -o .libs/libcsg.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libcsg.so.0" && ln -s "libcsg.so.0.0.0" "libcsg.so.0")
libtool: link: (cd ".libs" && rm -f "libcsg.so" && ln -s "libcsg.so.0.0.0" "libcsg.so")
libtool: link: ( cd ".libs" && rm -f "libcsg.la" && ln -s "../libcsg.la" "libcsg.la" )
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT vscsg.lo -MD -MP -MF .dep
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT vscsg.lo -MD -MP -MF .deps/vscsg.Tpo -c vscsg.cpp  -fPIC -DPIC 
In file included from vscsg.cpp:2:0:
../../libsrc/include/incvis.hpp:20:21: fatal error: glu.h: No such file or directory
 #    include <glu.h>
                     ^
compilation terminated.
Makefile:416: recipe for target 'vscsg.lo' failed
make[3]: *** [vscsg.lo] Error 1
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/csg'
Makefile:311: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc'
Makefile:354: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1'
Makefile:285: recipe for target 'all' failed
make: *** [all] Error 2
hugo@weide:~/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1$ 

The glu.h error is a well known error I have with Netgen, the configure script is not finding the include directory for OpenGL on your system (which is happening also on mine). Can you launch a find /usr -name glu.h and then point it out through CPP_FLAGS before launching make ?

vejmarie
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by bernd »

vejmarie wrote:Looks like more that your Fem module is not linked with VTK. So there should be a mistacke somewhere into my CMake for Fem/App. Can you add this into it

find_package(VTK REQUIRED)

Then into includdir part

${VTK_INCLUDE_DIR}

and ${VTK_LIBRARIES} for the link ?

I just added that into the Fem/App CMake file into my repo. It also appears that the netgen path is "hardcoded" there and you might need some adaptation, but not sure. Will see ;)

vejmarie
You are quite patient with me replying to all the problems I have. ... Here is what is compiling right now ...

https://github.com/berndhahnebach/FreeC ... 6b61996df4
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by bernd »

vejmarie wrote:The glu.h error is a well known error I have with Netgen, the configure script is not finding the include directory for OpenGL on your system (which is happening also on mine). Can you launch a find /usr -name glu.h and then point it out through CPP_FLAGS before launching make ?
Ahh I see. Mhh I know a little about cmake but nearly nothing about configure scripts ... How do I tell configure the include dir of opengl.

Code: Select all

$ ls -la  /usr/include/GL/glu.h
-rw-r--r-- 1 root root 17255 Sep 19  2013 /usr/include/GL/glu.h
I tried:

Code: Select all

$ ./configure  --enable-occ  --enable-shared  --enable-nglib  CXXFLAGS=-DNGLIB_EXPORTS  --includedir=/usr/include/GL
but get the same error glu.h is not found ...
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by vejmarie »

Try with export CPP_FLAGS=/usr/include/GL in your environment before launching configure and make
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by vejmarie »

Depending on your compiler this might be CPPFLAGS ;)
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by vejmarie »

This one should work 100%

Change

# include <glu.h>

to

# include <GL/glu.h>

Which I believe is the proper way to make it work

vejmarie
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Why does FEM meshing doesn't generate volume elements in some cases

Post by bernd »

vejmarie wrote:Try with export CPP_FLAGS=/usr/include/GL in your environment before launching configure and make
No it does not work. I changed the code.

changed in libsrc/include/incvis.hpp

Code: Select all

#    include <glu.h>
to

Code: Select all

#    include <GL/glu.h>
but now ...

Code: Select all

go@weide:~/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1$ make
make  all-recursive
make[1]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1'
Making all in libsrc
make[2]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc'
Making all in general
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/general'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/general'
Making all in gprim
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/gprim'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/gprim'
Making all in linalg
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/linalg'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/linalg'
Making all in include
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/include'
Making all in meshing
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/meshing'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/meshing'
Making all in interface
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/interface'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/interface'
Making all in csg
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/csg'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT vscsg.lo -MD -MP -MF .deps/vscsg.Tpo -c -o vscsg.lo vscsg.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT vscsg.lo -MD -MP -MF .deps/vscsg.Tpo -c vscsg.cpp  -fPIC -DPIC -o .libs/vscsg.o
mv -f .deps/vscsg.Tpo .deps/vscsg.Plo
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT csgpkg.lo -MD -MP -MF .deps/csgpkg.Tpo -c -o csgpkg.lo csgpkg.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT csgpkg.lo -MD -MP -MF .deps/csgpkg.Tpo -c csgpkg.cpp  -fPIC -DPIC -o .libs/csgpkg.o
mv -f .deps/csgpkg.Tpo .deps/csgpkg.Plo
/bin/bash ../../libtool --tag=CXX   --mode=link g++  -DNGLIB_EXPORTS -fopenmp   -o libcsgvis.la -rpath /opt/netgen/lib vscsg.lo csgpkg.lo libcsg.la 
libtool: link: rm -fr  .libs/libcsgvis.la .libs/libcsgvis.lai .libs/libcsgvis.so .libs/libcsgvis.so.0 .libs/libcsgvis.so.0.0.0
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginS.o  .libs/vscsg.o .libs/csgpkg.o   -Wl,-rpath -Wl,/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/csg/.libs -Wl,-rpath -Wl,/opt/netgen/lib ./.libs/libcsg.so -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -lstdc++ -lm -lgomp -lpthread -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o  -fopenmp   -fopenmp -Wl,-soname -Wl,libcsgvis.so.0 -o .libs/libcsgvis.so.0.0.0                                                                                                                                        
libtool: link: (cd ".libs" && rm -f "libcsgvis.so.0" && ln -s "libcsgvis.so.0.0.0" "libcsgvis.so.0")                                                                                                                                                  
libtool: link: (cd ".libs" && rm -f "libcsgvis.so" && ln -s "libcsgvis.so.0.0.0" "libcsgvis.so")                                                                                                                                                      
libtool: link: ( cd ".libs" && rm -f "libcsgvis.la" && ln -s "../libcsgvis.la" "libcsgvis.la" )                                                                                                                                                       
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/csg'                                                                                                                                                  
Making all in geom2d
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/geom2d'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT geom2dpkg.lo -MD -MP -MF .deps/geom2dpkg.Tpo -c -o geom2dpkg.lo geom2dpkg.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT geom2dpkg.lo -MD -MP -MF .deps/geom2dpkg.Tpo -c geom2dpkg.cpp  -fPIC -DPIC -o .libs/geom2dpkg.o
mv -f .deps/geom2dpkg.Tpo .deps/geom2dpkg.Plo
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT vsgeom2d.lo -MD -MP -MF .deps/vsgeom2d.Tpo -c -o vsgeom2d.lo vsgeom2d.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT vsgeom2d.lo -MD -MP -MF .deps/vsgeom2d.Tpo -c vsgeom2d.cpp  -fPIC -DPIC -o .libs/vsgeom2d.o
mv -f .deps/vsgeom2d.Tpo .deps/vsgeom2d.Plo
/bin/bash ../../libtool --tag=CXX   --mode=link g++  -DNGLIB_EXPORTS -fopenmp   -o libgeom2dvis.la -rpath /opt/netgen/lib geom2dpkg.lo vsgeom2d.lo libgeom2d.la 
libtool: link: rm -fr  .libs/libgeom2dvis.la .libs/libgeom2dvis.lai .libs/libgeom2dvis.so .libs/libgeom2dvis.so.0 .libs/libgeom2dvis.so.0.0.0
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.9/crtbeginS.o  .libs/geom2dpkg.o .libs/vsgeom2d.o   -Wl,-rpath -Wl,/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/geom2d/.libs -Wl,-rpath -Wl,/opt/netgen/lib ./.libs/libgeom2d.so -L/usr/lib/gcc/x86_64-linux-gnu/4.9 -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../.. -lstdc++ -lm -lgomp -lpthread -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o  -fopenmp   -fopenmp -Wl,-soname -Wl,libgeom2dvis.so.0 -o .libs/libgeom2dvis.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libgeom2dvis.so.0" && ln -s "libgeom2dvis.so.0.0.0" "libgeom2dvis.so.0")
libtool: link: (cd ".libs" && rm -f "libgeom2dvis.so" && ln -s "libgeom2dvis.so.0.0.0" "libgeom2dvis.so")
libtool: link: ( cd ".libs" && rm -f "libgeom2dvis.la" && ln -s "../libgeom2dvis.la" "libgeom2dvis.la" )
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/geom2d'
Making all in occ
make[3]: Entering directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/occ'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../libsrc/include  -DOCCGEOMETRY -I/opt/OpenCASCADE/inc -I/usr/local/include/opencascade -D_OCC64 -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_LIMITS_H -DHAVE_IOMANIP -I"/usr/include/tcl8.6"   -DNGLIB_EXPORTS -fopenmp -MT Partition_Inter2d.lo -MD -MP -MF .deps/Partition_Inter2d.Tpo -c -o Partition_Inter2d.lo Partition_Inter2d.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libsrc/include -DOCCGEOMETRY -I/opt/OpenCASCADE/inc -I/usr/local/include/opencascade -D_OCC64 -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_LIMITS_H -DHAVE_IOMANIP -I/usr/include/tcl8.6 -DNGLIB_EXPORTS -fopenmp -MT Partition_Inter2d.lo -MD -MP -MF .deps/Partition_Inter2d.Tpo -c Partition_Inter2d.cxx  -fPIC -DPIC -o .libs/Partition_Inter2d.o
In file included from /usr/include/c++/4.9/type_traits:35:0,
                 from /usr/local/include/opencascade/Standard_Handle.hxx:21,
                 from /usr/local/include/opencascade/Standard_Type.hxx:19,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:29:49: error: expected template-name before '<' token
   struct is_base_but_not_same : std::is_base_of <T1, T2> {};
                                                 ^
/usr/local/include/opencascade/Standard_Handle.hxx:29:49: error: expected '{' before '<' token
/usr/local/include/opencascade/Standard_Handle.hxx:29:49: error: expected unqualified-id before '<' token
/usr/local/include/opencascade/Standard_Handle.hxx:34:54: error: 'enable_if' in namespace 'std' does not name a template type
   struct is_base_but_not_same <T1, T2, typename std::enable_if <std::is_same <T1, T2>::value>::type> : std::false_type {};
                                                      ^
/usr/local/include/opencascade/Standard_Handle.hxx:34:64: error: expected template-argument before '<' token
   struct is_base_but_not_same <T1, T2, typename std::enable_if <std::is_same <T1, T2>::value>::type> : std::false_type {};
                                                                ^
/usr/local/include/opencascade/Standard_Handle.hxx:34:64: error: expected '>' before '<' token
/usr/local/include/opencascade/Standard_Handle.hxx:34:100: error: template argument 3 is invalid
   struct is_base_but_not_same <T1, T2, typename std::enable_if <std::is_same <T1, T2>::value>::type> : std::false_type {};
                                                                                                    ^
/usr/local/include/opencascade/Standard_Handle.hxx:34:102: error: expected '::' before ':' token
   struct is_base_but_not_same <T1, T2, typename std::enable_if <std::is_same <T1, T2>::value>::type> : std::false_type {};
                                                                                                      ^
/usr/local/include/opencascade/Standard_Handle.hxx:34:102: error: expected identifier before ':' token
/usr/local/include/opencascade/Standard_Handle.hxx:34:102: error: qualified name does not name a class before ':' token
/usr/local/include/opencascade/Standard_Handle.hxx:34:102: error: expected '{' before ':' token
/usr/local/include/opencascade/Standard_Handle.hxx:34:102: error: expected unqualified-id before ':' token
/usr/local/include/opencascade/Standard_Handle.hxx:73:19: error: expected ',' or '...' before '&&' token
     handle (handle&& theHandle) : entity(theHandle.entity)
                   ^
/usr/local/include/opencascade/Standard_Handle.hxx:73:31: error: invalid constructor; you probably meant 'opencascade::handle<T> (const opencascade::handle<T>&)'
     handle (handle&& theHandle) : entity(theHandle.entity)
                               ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:30: error: expected ',' or '...' before '&&' token
     handle& operator= (handle&& theHandle)
                              ^
/usr/local/include/opencascade/Standard_Handle.hxx:186:26: error: 'enable_if' in namespace 'std' does not name a template type
     static typename std::enable_if<is_base_but_not_same<T2, T>::value, handle>::type
                          ^
/usr/local/include/opencascade/Standard_Handle.hxx:186:35: error: expected unqualified-id before '<' token
     static typename std::enable_if<is_base_but_not_same<T2, T>::value, handle>::type
                                   ^
/usr/local/include/opencascade/Standard_Handle.hxx:194:26: error: 'enable_if' in namespace 'std' does not name a template type
     static typename std::enable_if<is_base_but_not_same<T2, T>::value, handle>::type 
                          ^
/usr/local/include/opencascade/Standard_Handle.hxx:194:35: error: expected unqualified-id before '<' token
     static typename std::enable_if<is_base_but_not_same<T2, T>::value, handle>::type 
                                   ^
/usr/local/include/opencascade/Standard_Handle.hxx:203:72: error: 'enable_if' in namespace 'std' does not name a template type
     static handle DownCast (const handle<T2>& theObject, typename std::enable_if<!is_base_but_not_same<T2, T>::value, void*>::type = 0)
                                                                        ^
/usr/local/include/opencascade/Standard_Handle.hxx:203:81: error: expected ',' or '...' before '<' token
     static handle DownCast (const handle<T2>& theObject, typename std::enable_if<!is_base_but_not_same<T2, T>::value, void*>::type = 0)
                                                                                 ^
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:211:61: error: 'enable_if' in namespace 'std' does not name a template type
     static handle DownCast (const T2* thePtr, typename std::enable_if<!is_base_but_not_same<T2, T>::value, void*>::type = 0)
                                                             ^
/usr/local/include/opencascade/Standard_Handle.hxx:211:70: error: expected ',' or '...' before '<' token
     static handle DownCast (const T2* thePtr, typename std::enable_if<!is_base_but_not_same<T2, T>::value, void*>::type = 0)
                                                                      ^
/usr/local/include/opencascade/Standard_Handle.hxx:221:31: warning: explicit conversion operators only available with -std=c++11 or -std=gnu++11
     explicit operator bool () const
                               ^
/usr/local/include/opencascade/Standard_Handle.hxx:281:50: error: 'enable_if' in namespace 'std' does not name a template type
     template <class T2, typename = typename std::enable_if<is_base_but_not_same<T2, T>::value>::type>
                                                  ^
/usr/local/include/opencascade/Standard_Handle.hxx:281:59: error: expected '>' before '<' token
     template <class T2, typename = typename std::enable_if<is_base_but_not_same<T2, T>::value>::type>
                                                           ^
/usr/local/include/opencascade/Standard_Handle.hxx:282:35: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11
     operator const handle<T2>& () const
                                   ^
/usr/local/include/opencascade/Standard_Handle.hxx:289:50: error: 'enable_if' in namespace 'std' does not name a template type
     template <class T2, typename = typename std::enable_if<is_base_but_not_same<T2, T>::value>::type>
                                                  ^
/usr/local/include/opencascade/Standard_Handle.hxx:289:59: error: expected '>' before '<' token
     template <class T2, typename = typename std::enable_if<is_base_but_not_same<T2, T>::value>::type>
                                                           ^
/usr/local/include/opencascade/Standard_Handle.hxx:290:27: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11
     operator handle<T2>& ()
                           ^
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx: In member function 'opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>)':
/usr/local/include/opencascade/Standard_Handle.hxx:116:32: error: 'theHandle' was not declared in this scope
       std::swap (this->entity, theHandle.entity);
                                ^
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx: In member function 'opencascade::handle<T>::operator bool() const':
/usr/local/include/opencascade/Standard_Handle.hxx:223:24: error: 'nullptr' was not declared in this scope
       return entity != nullptr;
                        ^
In file included from /usr/local/include/opencascade/NCollection_TListIterator.hxx:19:0,
                 from /usr/local/include/opencascade/NCollection_List.hxx:19,
                 from /usr/local/include/opencascade/TopoDS_ListOfShape.hxx:20,
                 from /usr/local/include/opencascade/TopoDS_TShape.hxx:23,
                 from /usr/local/include/opencascade/TopoDS_Shape.lxx:17,
                 from /usr/local/include/opencascade/TopoDS_Shape.hxx:242,
                 from /usr/local/include/opencascade/TopTools_DataMapOfShapeListOfShape.hxx:20,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:23,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/NCollection_BaseList.hxx: In constructor 'NCollection_BaseList::NCollection_BaseList(const opencascade::handle<NCollection_BaseAllocator>&)':
/usr/local/include/opencascade/NCollection_BaseList.hxx:137:17: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'const opencascade::handle<NCollection_BaseAllocator>')
     myAllocator = (theAllocator.IsNull() ? NCollection_BaseAllocator::CommonBaseAllocator() : theAllocator);
                 ^
/usr/local/include/opencascade/NCollection_BaseList.hxx:137:17: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/TopoDS_Shape.hxx:242:0,
                 from /usr/local/include/opencascade/TopTools_DataMapOfShapeListOfShape.hxx:20,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:23,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/TopoDS_Shape.lxx: In member function 'void TopoDS_Shape::EmptyCopy()':
/usr/local/include/opencascade/TopoDS_Shape.lxx:435:12: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<TopoDS_TShape>' and 'opencascade::handle<TopoDS_TShape>')
   myTShape = myTShape->EmptyCopy();
            ^
/usr/local/include/opencascade/TopoDS_Shape.lxx:435:12: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = TopoDS_TShape]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = TopoDS_TShape; opencascade::handle<T> = opencascade::handle<TopoDS_TShape>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/TopoDS_Shape.hxx:242:0,
                 from /usr/local/include/opencascade/TopTools_DataMapOfShapeListOfShape.hxx:20,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:23,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/TopoDS_Shape.lxx: In member function 'void TopoDS_Shape::TShape(const opencascade::handle<TopoDS_TShape>&)':
/usr/local/include/opencascade/TopoDS_Shape.lxx:457:12: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<TopoDS_TShape>' and 'const opencascade::handle<TopoDS_TShape>')
   myTShape = TS;
            ^
/usr/local/include/opencascade/TopoDS_Shape.lxx:457:12: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = TopoDS_TShape]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = TopoDS_TShape; opencascade::handle<T> = opencascade::handle<TopoDS_TShape>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/NCollection_DataMap.hxx:19:0,
                 from /usr/local/include/opencascade/TopTools_DataMapOfShapeListOfShape.hxx:23,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:23,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/NCollection_BaseMap.hxx: In constructor 'NCollection_BaseMap::NCollection_BaseMap(Standard_Integer, Standard_Boolean, const opencascade::handle<NCollection_BaseAllocator>&)':
/usr/local/include/opencascade/NCollection_BaseMap.hxx:166:17: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'const opencascade::handle<NCollection_BaseAllocator>')
     myAllocator = (theAllocator.IsNull() ? NCollection_BaseAllocator::CommonBaseAllocator() : theAllocator);
                 ^
/usr/local/include/opencascade/NCollection_BaseMap.hxx:166:17: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/TopoDS_Builder.hxx:130:0,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:24,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.lxx: In member function 'void TopoDS_Builder::MakeWire(TopoDS_Wire&) const':
/usr/local/include/opencascade/TopoDS_Builder.lxx:37:17: error: no matching function for call to 'TopoDS_Builder::MakeShape(TopoDS_Wire&, opencascade::handle<TopoDS_TWire>&) const'
   MakeShape(W,TW);
                 ^
/usr/local/include/opencascade/TopoDS_Builder.lxx:37:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<TopoDS_TWire>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/TopoDS_Builder.hxx:130:0,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:24,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.lxx: In member function 'void TopoDS_Builder::MakeShell(TopoDS_Shell&) const':
/usr/local/include/opencascade/TopoDS_Builder.lxx:49:17: error: no matching function for call to 'TopoDS_Builder::MakeShape(TopoDS_Shell&, opencascade::handle<TopoDS_TShell>&) const'
   MakeShape(S,TS);
                 ^
/usr/local/include/opencascade/TopoDS_Builder.lxx:49:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<TopoDS_TShell>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/TopoDS_Builder.hxx:130:0,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:24,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.lxx: In member function 'void TopoDS_Builder::MakeSolid(TopoDS_Solid&) const':
/usr/local/include/opencascade/TopoDS_Builder.lxx:60:17: error: no matching function for call to 'TopoDS_Builder::MakeShape(TopoDS_Solid&, opencascade::handle<TopoDS_TSolid>&) const'
   MakeShape(S,TS);
                 ^
/usr/local/include/opencascade/TopoDS_Builder.lxx:60:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<TopoDS_TSolid>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/TopoDS_Builder.hxx:130:0,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:24,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.lxx: In member function 'void TopoDS_Builder::MakeCompSolid(TopoDS_CompSolid&) const':
/usr/local/include/opencascade/TopoDS_Builder.lxx:71:17: error: no matching function for call to 'TopoDS_Builder::MakeShape(TopoDS_CompSolid&, opencascade::handle<TopoDS_TCompSolid>&) const'
   MakeShape(C,TC);
                 ^
/usr/local/include/opencascade/TopoDS_Builder.lxx:71:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<TopoDS_TCompSolid>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/TopoDS_Builder.hxx:130:0,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:24,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.lxx: In member function 'void TopoDS_Builder::MakeCompound(TopoDS_Compound&) const':
/usr/local/include/opencascade/TopoDS_Builder.lxx:83:17: error: no matching function for call to 'TopoDS_Builder::MakeShape(TopoDS_Compound&, opencascade::handle<TopoDS_TCompound>&) const'
   MakeShape(C,TC);
                 ^
/usr/local/include/opencascade/TopoDS_Builder.lxx:83:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<TopoDS_TCompound>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/BRep_TFace.hxx:114:0,
                 from /usr/local/include/opencascade/BRep_Builder.lxx:19,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:274,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/BRep_TFace.lxx: In member function 'void BRep_TFace::Surface(const opencascade::handle<Geom_Surface>&)':
/usr/local/include/opencascade/BRep_TFace.lxx:68:13: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<Geom_Surface>' and 'const opencascade::handle<Geom_Surface>')
   mySurface = S;
             ^
/usr/local/include/opencascade/BRep_TFace.lxx:68:13: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = Geom_Surface]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = Geom_Surface; opencascade::handle<T> = opencascade::handle<Geom_Surface>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/BRep_TFace.hxx:114:0,
                 from /usr/local/include/opencascade/BRep_Builder.lxx:19,
                 from /usr/local/include/opencascade/BRep_Builder.hxx:274,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/BRep_TFace.lxx: In member function 'void BRep_TFace::Triangulation(const opencascade::handle<Poly_Triangulation>&)':
/usr/local/include/opencascade/BRep_TFace.lxx:78:19: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<Poly_Triangulation>' and 'const opencascade::handle<Poly_Triangulation>')
   myTriangulation = T;
                   ^
/usr/local/include/opencascade/BRep_TFace.lxx:78:19: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = Poly_Triangulation]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = Poly_Triangulation; opencascade::handle<T> = opencascade::handle<Poly_Triangulation>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:274:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/BRep_Builder.lxx: In member function 'void BRep_Builder::MakeFace(TopoDS_Face&) const':
/usr/local/include/opencascade/BRep_Builder.lxx:32:17: error: no matching function for call to 'BRep_Builder::MakeShape(TopoDS_Face&, opencascade::handle<BRep_TFace>&) const'
   MakeShape(F,TF);
                 ^
/usr/local/include/opencascade/BRep_Builder.lxx:32:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<BRep_TFace>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:274:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/BRep_Builder.lxx: In member function 'void BRep_Builder::MakeVertex(TopoDS_Vertex&) const':
/usr/local/include/opencascade/BRep_Builder.lxx:212:17: error: no matching function for call to 'BRep_Builder::MakeShape(TopoDS_Vertex&, opencascade::handle<BRep_TVertex>&) const'
   MakeShape(V,TV);
                 ^
/usr/local/include/opencascade/BRep_Builder.lxx:212:17: note: candidate is:
In file included from /usr/local/include/opencascade/BRep_Builder.hxx:24:0,
                 from Partition_Inter2d.cxx:40:
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note: void TopoDS_Builder::MakeShape(TopoDS_Shape&, const opencascade::handle<TopoDS_TShape>&) const
   Standard_EXPORT void MakeShape (TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const;
                        ^
/usr/local/include/opencascade/TopoDS_Builder.hxx:116:24: note:   no known conversion for argument 2 from 'opencascade::handle<BRep_TVertex>' to 'const opencascade::handle<TopoDS_TShape>&'
In file included from /usr/local/include/opencascade/NCollection_Sequence.hxx:19:0,
                 from /usr/local/include/opencascade/IntRes2d_SequenceOfIntersectionPoint.hxx:21,
                 from /usr/local/include/opencascade/IntRes2d_Intersection.hxx:25,
                 from /usr/local/include/opencascade/IntCurve_IntImpConicParConic.hxx:24,
                 from /usr/local/include/opencascade/IntCurve_IntConicConic.hxx:24,
                 from /usr/local/include/opencascade/Geom2dInt_GInter.hxx:25,
                 from /usr/local/include/opencascade/TopOpeBRep_EdgesIntersector.hxx:31,
                 from Partition_Inter2d.cxx:47:
/usr/local/include/opencascade/NCollection_BaseSequence.hxx: In constructor 'NCollection_BaseSequence::NCollection_BaseSequence(const opencascade::handle<NCollection_BaseAllocator>&)':
/usr/local/include/opencascade/NCollection_BaseSequence.hxx:115:17: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'const opencascade::handle<NCollection_BaseAllocator>')
     myAllocator = (theAllocator.IsNull() ? NCollection_BaseAllocator::CommonBaseAllocator() : theAllocator);
                 ^
/usr/local/include/opencascade/NCollection_BaseSequence.hxx:115:17: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/TopTools_DataMapOfShapeListOfShape.hxx:20:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:23,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/TopoDS_Shape.hxx: In member function 'TopoDS_Shape& TopoDS_Shape::operator=(const TopoDS_Shape&)':
/usr/local/include/opencascade/TopoDS_Shape.hxx:46:7: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<TopoDS_TShape>' and 'const opencascade::handle<TopoDS_TShape>')
 class TopoDS_Shape 
       ^
/usr/local/include/opencascade/TopoDS_Shape.hxx:46:7: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = TopoDS_TShape]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = TopoDS_TShape; opencascade::handle<T> = opencascade::handle<TopoDS_TShape>]
     handle& operator= (handle&& theHandle)
             ^
In file included from Partition_Inter2d.jxx:40:0,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/TopoDS_Vertex.hxx: In member function 'TopoDS_Vertex& TopoDS_Vertex::operator=(const TopoDS_Vertex&)':
/usr/local/include/opencascade/TopoDS_Vertex.hxx:35:7: note: synthesized method 'TopoDS_Shape& TopoDS_Shape::operator=(const TopoDS_Shape&)' first required here 
 class TopoDS_Vertex  : public TopoDS_Shape
       ^
In file included from /usr/local/include/opencascade/TopOpeBRep_Point2d.hxx:166:0,
                 from /usr/local/include/opencascade/TopOpeBRep_SequenceOfPoint2d.hxx:20,
                 from /usr/local/include/opencascade/TopOpeBRep_EdgesIntersector.hxx:36,
                 from Partition_Inter2d.cxx:47:
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx: In member function 'void TopOpeBRep_Point2d::SetVertex(Standard_Integer, const TopoDS_Vertex&)':
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx:77:35: note: synthesized method 'TopoDS_Vertex& TopoDS_Vertex::operator=(const TopoDS_Vertex&)' first required here 
   if      (Index == 1) {myvertex1 = V; myisvertex1 = Standard_True;}
                                   ^
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx: In member function 'void TopOpeBRep_Point2d::SetHctxff2d(const opencascade::handle<TopOpeBRep_Hctxff2d>&)':
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx:289:13: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<TopOpeBRep_Hctxff2d>' and 'const opencascade::handle<TopOpeBRep_Hctxff2d>')
   myctxff2d = h;
             ^
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx:289:13: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = TopOpeBRep_Hctxff2d]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = TopOpeBRep_Hctxff2d; opencascade::handle<T> = opencascade::handle<TopOpeBRep_Hctxff2d>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/TopOpeBRep_Point2d.hxx:166:0,
                 from /usr/local/include/opencascade/TopOpeBRep_SequenceOfPoint2d.hxx:20,
                 from /usr/local/include/opencascade/TopOpeBRep_EdgesIntersector.hxx:36,
                 from Partition_Inter2d.cxx:47:
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx: In member function 'void TopOpeBRep_Point2d::SetHctxee2d(const opencascade::handle<TopOpeBRep_Hctxee2d>&)':
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx:307:13: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<TopOpeBRep_Hctxee2d>' and 'const opencascade::handle<TopOpeBRep_Hctxee2d>')
   myctxee2d = h;
             ^
/usr/local/include/opencascade/TopOpeBRep_Point2d.lxx:307:13: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = TopOpeBRep_Hctxee2d]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = TopOpeBRep_Hctxee2d; opencascade::handle<T> = opencascade::handle<TopOpeBRep_Hctxee2d>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/include/c++/4.9/bits/stl_pair.h:59:0,
                 from /usr/include/c++/4.9/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.9/bits/char_traits.h:39,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from ../../libsrc/include/mystdlib.h:9,
                 from Partition_Inter2d.jxx:27,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/include/c++/4.9/bits/move.h: In instantiation of 'void std::swap(_Tp&, _Tp&) [with _Tp = opencascade::handle<NCollection_BaseAllocator>]':
/usr/local/include/opencascade/NCollection_BaseMap.hxx:209:49:   required from here
/usr/include/c++/4.9/bits/move.h:176:11: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'opencascade::handle<NCollection_BaseAllocator>')
       __a = _GLIBCXX_MOVE(__b);
           ^
/usr/include/c++/4.9/bits/move.h:176:11: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/include/c++/4.9/bits/stl_pair.h:59:0,
                 from /usr/include/c++/4.9/bits/stl_algobase.h:64,
                 from /usr/include/c++/4.9/bits/char_traits.h:39,
                 from /usr/include/c++/4.9/ios:40,
                 from /usr/include/c++/4.9/ostream:38,
                 from /usr/include/c++/4.9/iostream:39,
                 from ../../libsrc/include/mystdlib.h:9,
                 from Partition_Inter2d.jxx:27,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/include/c++/4.9/bits/move.h:177:11: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'opencascade::handle<NCollection_BaseAllocator>')
       __b = _GLIBCXX_MOVE(__tmp);
           ^
/usr/include/c++/4.9/bits/move.h:177:11: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/IntRes2d_SequenceOfIntersectionPoint.hxx:21:0,
                 from /usr/local/include/opencascade/IntRes2d_Intersection.hxx:25,
                 from /usr/local/include/opencascade/IntCurve_IntImpConicParConic.hxx:24,
                 from /usr/local/include/opencascade/IntCurve_IntConicConic.hxx:24,
                 from /usr/local/include/opencascade/Geom2dInt_GInter.hxx:25,
                 from /usr/local/include/opencascade/TopOpeBRep_EdgesIntersector.hxx:31,
                 from Partition_Inter2d.cxx:47:
/usr/local/include/opencascade/NCollection_Sequence.hxx: In instantiation of 'void NCollection_Sequence<TheItemType>::Clear(const opencascade::handle<NCollection_BaseAllocator>&) [with TheItemType = IntRes2d_IntersectionSegment]':
/usr/local/include/opencascade/IntRes2d_Intersection.lxx:73:16:   required from here
/usr/local/include/opencascade/NCollection_Sequence.hxx:170:25: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'const opencascade::handle<NCollection_BaseAllocator>')
       this->myAllocator = theAllocator;
                         ^
/usr/local/include/opencascade/NCollection_Sequence.hxx:170:25: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/IntRes2d_SequenceOfIntersectionPoint.hxx:21:0,
                 from /usr/local/include/opencascade/IntRes2d_Intersection.hxx:25,
                 from /usr/local/include/opencascade/IntCurve_IntImpConicParConic.hxx:24,
                 from /usr/local/include/opencascade/IntCurve_IntConicConic.hxx:24,
                 from /usr/local/include/opencascade/Geom2dInt_GInter.hxx:25,
                 from /usr/local/include/opencascade/TopOpeBRep_EdgesIntersector.hxx:31,
                 from Partition_Inter2d.cxx:47:
/usr/local/include/opencascade/NCollection_Sequence.hxx: In instantiation of 'void NCollection_Sequence<TheItemType>::Clear(const opencascade::handle<NCollection_BaseAllocator>&) [with TheItemType = IntRes2d_IntersectionPoint]':
/usr/local/include/opencascade/IntRes2d_Intersection.lxx:74:16:   required from here
/usr/local/include/opencascade/NCollection_Sequence.hxx:170:25: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'const opencascade::handle<NCollection_BaseAllocator>')
       this->myAllocator = theAllocator;
                         ^
/usr/local/include/opencascade/NCollection_Sequence.hxx:170:25: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
In file included from /usr/local/include/opencascade/TopoDS_ListOfShape.hxx:20:0,
                 from /usr/local/include/opencascade/TopoDS_TShape.hxx:23,
                 from /usr/local/include/opencascade/TopoDS_Shape.lxx:17,
                 from /usr/local/include/opencascade/TopoDS_Shape.hxx:242,
                 from /usr/local/include/opencascade/TopTools_DataMapOfShapeListOfShape.hxx:20,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:23,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/NCollection_List.hxx: In instantiation of 'void NCollection_List<TheItemType>::Clear(const opencascade::handle<NCollection_BaseAllocator>&) [with TheItemType = TopoDS_Shape]':
/usr/local/include/opencascade/NCollection_List.hxx:275:11:   required from 'NCollection_List<TheItemType>::~NCollection_List() [with TheItemType = TopoDS_Shape]'
/usr/local/include/opencascade/TopoDS_TShape.lxx:40:42:   required from here
/usr/local/include/opencascade/NCollection_List.hxx:98:25: error: ambiguous overload for 'operator=' (operand types are 'opencascade::handle<NCollection_BaseAllocator>' and 'const opencascade::handle<NCollection_BaseAllocator>')
       this->myAllocator = theAllocator;
                         ^
/usr/local/include/opencascade/NCollection_List.hxx:98:25: note: candidates are:
In file included from /usr/local/include/opencascade/Standard_Type.hxx:19:0,
                 from /usr/local/include/opencascade/BRepAlgo_AsDes.hxx:21,
                 from Partition_Inter2d.jxx:31,
                 from Partition_Inter2d.ixx:28,
                 from Partition_Inter2d.cxx:33:
/usr/local/include/opencascade/Standard_Handle.hxx:100:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(const opencascade::handle<T>&) [with T = NCollection_BaseAllocator]
     handle& operator= (const handle& theHandle)
             ^
/usr/local/include/opencascade/Standard_Handle.hxx:114:13: note: opencascade::handle<T>& opencascade::handle<T>::operator=(opencascade::handle<T>) [with T = NCollection_BaseAllocator; opencascade::handle<T> = opencascade::handle<NCollection_BaseAllocator>]
     handle& operator= (handle&& theHandle)
             ^
Makefile:427: recipe for target 'Partition_Inter2d.lo' failed
make[3]: *** [Partition_Inter2d.lo] Error 1
make[3]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc/occ'
Makefile:311: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1/libsrc'
Makefile:354: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/hugo/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1'
Makefile:285: recipe for target 'all' failed
make: *** [all] Error 2
hugo@weide:~/Documents/dev/netgen/netgen-vejmarie/netgen-5.3.1$ 

Post Reply