That's a different issue . I am using llvm on MacOS. So on linux we got GCC. Can you try to add this switch -std=gnu++11 within the compiler option ?bernd wrote:No it does not work. I changed the code.vejmarie wrote:Try with export CPP_FLAGS=/usr/include/GL in your environment before launching configure and make
changed in libsrc/include/incvis.hpptoCode: Select all
# include <glu.h>
but now ...Code: Select all
# include <GL/glu.h>
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$
vejmarie