bugGNU Octave - Bugs: bug #49294, [octave forge] (level-set) fails...

 
 

bug #49294: [octave forge] (level-set) fails to install in octave 4.2.0rc2

Submitter:  John Donoghue <lostbard>
Submitted:  Fri 07 Oct 2016 08:31:37 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Patch Submitted Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Open
Release:  * 4.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 25 Feb 2022 03:05:26 PM UTC, comment #22: 

Failed in octave 7 with additional errors due to depreciated functions:


internal_mesh.cpp: In function ‘void getInnerSegment(const octave_scalar_map&, unsigned int*, indexArr&)’:
internal_mesh.cpp:303:35: error: ‘const class ColumnVector’ has no member named ‘nelem’; did you mean ‘xelem’?
  303 |   const unsigned nInners = inners.nelem ();


John Donoghue <lostbard>
Group Member
Sat 15 Feb 2020 06:57:06 PM UTC, comment #21: 

John:

No I did not. And yesterday I promised myself I would not forget!

The demos work. Now I will start learning how to use Octave.

Thank you,
Tim

Timothy Cale <drtspc>
Sat 15 Feb 2020 05:56:59 PM UTC, comment #20: 

Did you remeber to load the pakcgae before use:

pkg load level-set

John Donoghue <lostbard>
Group Member
Sat 15 Feb 2020 05:20:01 PM UTC, comment #19: 

Another update:

The level-set function fastmarching does not seem to work, as the demo problems at the url below fail, with "fastmarching not defined".

https://octave.sourceforge.io/level-set/function/fastmarching.html

Regards,
Tim

Timothy Cale <drtspc>
Sat 15 Feb 2020 04:33:32 PM UTC, comment #18: 

Update on my progress on installing Octave and level-set:
Ubuntu 18.04 LTS
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)

I followed Mike Miller's recommendation to (re)install Octave using flatpak (new to me). It took me a couple of "cycles".

Below is a summary of 3 commands during terminal work this AM. There are clearly issues with level-set, though the package shows up as installed. (I have not tried to use any of it.)

Regards,
Tim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

flatpak install flathub org.octave.Octave
.
.
.
 1. [✗] org.freedesktop.Platform.openh264            19.08            i            flathub           593.6 kB / 593.4 kB
 2. [✓] org.octave.Octave                            stable           i            flathub           133.4 MB / 131.1 MB

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When starting octave:
flatpak run org.octave.Octave --gui
Gtk-Message: 09:00:56.007: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:00:56.008: Failed to load module "canberra-gtk-module"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The response to installing level-set is rather long . . .

octave:1> pkg install level-set-0.3.0.tar.gz
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from upwindGrad.cpp:29:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from upwindGrad.cpp:29:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from upwindGrad.cpp:29:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from upwindGrad.cpp:29:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /usr/include/c++/9.2.0/cassert:44,
                 from internal_fastmarching.cpp:29:
internal_fastmarching.cpp: In lambda function:
internal_fastmarching.cpp:77:59: warning: ‘octave_idx_type Array<T>::length() const [with T = long int; octave_idx_type = long int]’ is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
   77 |                   && static_cast<dimensionT> (idx.length ()) == D);
      |                                                           ^
In file included from /app/include/octave-5.2.0/octave/../octave/Array-util.h:28,
                 from /app/include/octave-5.2.0/octave/../octave/MSparse.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/MatrixType.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/Array.h:357:19: note: declared here
  357 |   octave_idx_type length (void) const { return numel (); }
      |                   ^~~~~~
In file included from /usr/include/c++/9.2.0/cassert:44,
                 from internal_fastmarching.cpp:29:
internal_fastmarching.cpp: In lambda function:
internal_fastmarching.cpp:102:59: warning: ‘octave_idx_type Array<T>::length() const [with T = long int; octave_idx_type = long int]’ is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
  102 |                   && static_cast<dimensionT> (idx.length ()) == D);
      |                                                           ^
In file included from /app/include/octave-5.2.0/octave/../octave/Array-util.h:28,
                 from /app/include/octave-5.2.0/octave/../octave/MSparse.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/MatrixType.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/Array.h:357:19: note: declared here
  357 |   octave_idx_type length (void) const { return numel (); }
      |                   ^~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/app/include/octave-5.2.0/octave/../octave/EIG.h: In member function ‘EIG& EIG::operator=(const EIG&)’:
/app/include/octave-5.2.0/octave/../octave/EIG.h:110:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  110 |         v = a.v;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-ext.h:58,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/app/include/octave-5.2.0/octave/../octave/EIG.h:111:15: warning: implicitly-declared ‘ComplexMatrix& ComplexMatrix::operator=(const ComplexMatrix&)’ is deprecated [-Wdeprecated-copy]
  111 |         w = a.w;
      |               ^
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/app/include/octave-5.2.0/octave/../octave/CMatrix.h:73:3: note: because ‘ComplexMatrix’ has user-provided ‘ComplexMatrix::ComplexMatrix(const ComplexMatrix&)’
   73 |   ComplexMatrix (const ComplexMatrix& a) : ComplexNDArray (a) { }
      |   ^~~~~~~~~~~~~
geomGamma.cpp: In function ‘octave_value_list F__levelset_geomGamma(const octave_value_list&, int)’:
geomGamma.cpp:195:42: warning: ‘octave_idx_type Array<T>::nelem() const [with T = double; octave_idx_type = long int]’ is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
  195 |       const unsigned nNodes = phi.nelem ();
      |                                          ^
In file included from /app/include/octave-5.2.0/octave/../octave/Array-util.h:28,
                 from /app/include/octave-5.2.0/octave/../octave/MSparse.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/MatrixType.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/Array.h:363:19: note: declared here
  363 |   octave_idx_type nelem (void) const { return numel (); }
      |                   ^~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_fastmarching.cpp:25:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomElements.cpp:22:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomGamma.cpp:21:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from internal_init_narrowband.cpp:25:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
internal_mesh.cpp: In function ‘void getInnerSegment(const octave_scalar_map&, unsigned int*, indexArr&)’:
internal_mesh.cpp:303:42: warning: ‘octave_idx_type Array<T>::nelem() const [with T = double; octave_idx_type = long int]’ is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
  303 |   const unsigned nInners = inners.nelem ();
      |                                          ^
In file included from /app/include/octave-5.2.0/octave/../octave/Array-util.h:28,
                 from /app/include/octave-5.2.0/octave/../octave/MSparse.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/MatrixType.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/Array.h:363:19: note: declared here
  363 |   octave_idx_type nelem (void) const { return numel (); }
      |                   ^~~~~
internal_mesh.cpp: In function ‘octave_value_list F__levelset_internal_mesh(const octave_value_list&, int)’:
internal_mesh.cpp:390:50: warning: ‘octave_idx_type Array<T>::nelem() const [with T = octave_value; octave_idx_type = long int]’ is deprecated: [4.4]: use 'numel' instead [-Wdeprecated-declarations]
  390 |           const unsigned nSegs = cellSegs.nelem ();
      |                                                  ^
In file included from /app/include/octave-5.2.0/octave/../octave/Array-util.h:28,
                 from /app/include/octave-5.2.0/octave/../octave/MSparse.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/MatrixType.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/Array.h:363:19: note: declared here
  363 |   octave_idx_type nelem (void) const { return numel (); }
      |                   ^~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from upwindGrad.cpp:29:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from upwindGrad.cpp:29:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from upwindGrad.cpp:29:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from nbFromGeom.cpp:21:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from internal_mesh.cpp:24:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/symscope.h:37,
                 from /app/include/octave-5.2.0/octave/../octave/ov-fcn.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/ov-builtin.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/defun-int.h:30,
                 from /app/include/octave-5.2.0/octave/../octave/defun-dld.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:32,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h: In instantiation of ‘void std::__cxx11::list<_Tp, _Alloc>::_M_assign_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = std::_List_const_iterator<octave::regexp::match_element>; _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’:
/usr/include/c++/9.2.0/bits/list.tcc:286:4:   required from ‘std::__cxx11::list<_Tp, _Alloc>& std::__cxx11::list<_Tp, _Alloc>::operator=(const std::__cxx11::list<_Tp, _Alloc>&) [with _Tp = octave::regexp::match_element; _Alloc = std::allocator<octave::regexp::match_element>]’
/app/include/octave-5.2.0/octave/../octave/base-list.h:36:3:   required from here
/app/include/octave-5.2.0/octave/../octave/lo-regexp.h:196:11: warning: implicitly-declared ‘Matrix& Matrix::operator=(const Matrix&)’ is deprecated [-Wdeprecated-copy]
  196 |     class match_element
      |           ^~~~~~~~~~~~~
In file included from /app/include/octave-5.2.0/octave/../octave/mx-base.h:36,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/app/include/octave-5.2.0/octave/../octave/dMatrix.h:72:3: note: because ‘Matrix’ has user-provided ‘Matrix::Matrix(const Matrix&)’
   72 |   Matrix (const Matrix& a) : NDArray (a) { }
      |   ^~~~~~
In file included from /usr/include/c++/9.2.0/list:64,
                 from /app/include/octave-5.2.0/octave/../octave/str-vec.h:29,
                 from /app/include/octave-5.2.0/octave/../octave/chNDArray.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/chMatrix.h:32,
                 from /app/include/octave-5.2.0/octave/../octave/mx-base.h:35,
                 from /app/include/octave-5.2.0/octave/../octave/Matrix.h:31,
                 from /app/include/octave-5.2.0/octave/../octave/oct.h:30,
                 from Utils.hpp:26,
                 from geomBoundary.cpp:22:
/usr/include/c++/9.2.0/bits/list.tcc:316:21: note: synthesized method ‘octave::regexp::match_element& octave::regexp::match_element::operator=(const octave::regexp::match_element&)’ first required here
  316 |           *__first1 = *__first2;
      |           ~~~~~~~~~~^~~~~~~~~~~
/tmp/octave-help-3sQqRl:141: table requires an argument: the formatter for @item
/tmp/octave-help-mOtEMl:137: table requires an argument: the formatter for @item
/tmp/octave-help-yDr46k:136: @code expected braces
/tmp/octave-help-yDr46k:140: @code expected braces
/tmp/octave-help-vvwvtl:135: @code expected braces
/tmp/octave-help-vvwvtl:139: @code expected braces
For information about changes from previous versions of the level-set package, run 'news level-set'.
octave:2>



Timothy Cale <drtspc>
Sat 15 Feb 2020 10:29:01 AM UTC, comment #17: 

@Andrew:  What compiler are you using when you get these errors?  It seems the compiler fails to do an implicit conversion from "const char*" to "std::string".  I've never seen this issue before.

As a workaround, you can just remove all those "issueWarning" lines.

Daniel Kraft <domob>
Sat 15 Feb 2020 04:49:31 AM UTC, comment #16: 

Any progress on this? I'm still seeing the same errors that Nik got when installing on macOS 10.14.6 under a Homebrewed Octave 5.2.0.


octave:14> pkg install -forge level-set
In file included from FastMarching.cpp:19:
In file included from ./FastMarching.hpp:56:
./Heap.hpp:78:15: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    Heap () = delete;
              ^
./Heap.hpp:79:28: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions]
    Heap (const Heap& o) = delete;
                           ^
[...]
FastMarching.cpp:117:7: error: no matching function for call to 'issueWarning'
      issueWarning ("level-set:fast-marching:too-far-alive",
      ^~~~~~~~~~~~
./FastMarching.hpp:102:6: note: candidate function not viable: no known conversion from 'const char [38]' to 'const std::string' (aka 'const basic_string<char, char_traits<char>,
      allocator<char> >') for 1st argument
[...]
FastMarching.cpp:221:7: error: expected expression
    = [&eqn, &grid] (const IndexTuple& neighbour, dimensionT d, indexT)
      ^
FastMarching.cpp:240:9: error: no matching function for call to 'issueWarning'
        issueWarning ("level-set:fast-marching:increased-distance",
        ^~~~~~~~~~~~
./FastMarching.hpp:102:6: note: candidate function not viable: no known conversion from 'const char [43]' to 'const std::string' (aka 'const basic_string<char, char_traits<char>,
      allocator<char> >') for 1st argument
[...]


Andrew Janke <apjanke>
Fri 14 Feb 2020 10:42:19 PM UTC, comment #15: 

Mike:

Thank you. I will follow your recommendation. I saw the option of flatpak when I was looking to install octave and a couple of its packages; but it is new to me, so I avoided it . . .

I have never intentionally used snap, and barely know what it is,
so I doubt that I can be of use wrt snap. But at some point I may be of use.

Regards,
Tim

Timothy Cale <drtspc>
Fri 14 Feb 2020 10:34:49 PM UTC, comment #14: 

My recommendation for now is to install flatpak and install Octave from flathub. Follow the setup and installation instructions on this site:

https://flathub.org/apps/details/org.octave.Octave

But I am working on improving the snap, and hope to get beyond this serious bug that prevents users from installing virtually all packages.

If you can help improve the snap, help and testing are welcome.

Mike Miller <mtmiller>
Group Member
Fri 14 Feb 2020 10:31:01 PM UTC, comment #13: 

Mike:

I installed using ubuntu software manager . . . which seemingly did get it from the Snap store:

>> getenv("SNAP")

ans = /snap/octave/10

What is your recommendation? I can uninstall using ubuntu software manager.

Note also that I had uninstalled version 4.(something) before installing 5.1.0, if that means anything.

Thanks,
Tim

Timothy Cale <drtspc>
Fri 14 Feb 2020 10:22:42 PM UTC, comment #12: 

Tim - have you installed Octave from the Ubuntu Snap store? If you're not sure, you can check with 'getenv("SNAP")' in Octave, if it returns a directory starting with "/snap", then yes.

If that's the case, then you have hit https://github.com/octave-snap/octave-snap/issues/1, which is a general problem, not specific to the level-set package.

Mike Miller <mtmiller>
Group Member
Fri 14 Feb 2020 10:16:21 PM UTC, comment #11: 

John:

The error is slightly different.

Thanks,
Tim

>> pkg install -verbose level-set-0.3.0.tar.gz

mkdir (/tmp/oct-q3YiTC)
untar (level-set-0.3.0.tar.gz, /tmp/oct-q3YiTC)
checking whether the C++ compiler works... no
configure: error: in `/tmp/oct-q3YiTC/level-set/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

pkg: error running the configure script for level-set.
error: called from
    configure_make at line 82 column 9
    install at line 184 column 7
    pkg at line 441 column 9

>>

Timothy Cale <drtspc>
Fri 14 Feb 2020 10:12:22 PM UTC, comment #10: 

Try running in verbose mode to see if there is more information beforehand.

pkg install -verbose level-set-0.3.0.tar.gz

John Donoghue <lostbard>
Group Member
Fri 14 Feb 2020 10:07:27 PM UTC, comment #9: 

I am new to Octave, and to this method of bug reporting. This is the closest bug/issue I found (#49294).

My specific issue: "pkg install level-set-0.3.0.tar.gz" failed.
I just installed Octave (5.1.0) on Ubuntu 18.04, with c++ 7.4.0. I was in the gui.  The error is below.

Thanks,
Tim

>> pkg install level-set-0.3.0.tar.gz

configure: error: in `/tmp/oct-wKYVop/level-set/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking whether the C++ compiler works... no

pkg: error running the configure script for level-set.
error: called from
    configure_make at line 82 column 9
    install at line 184 column 7
    pkg at line 441 column 9


Timothy Cale <drtspc>
Sat 13 Apr 2019 07:07:29 AM UTC, comment #8: 

Regarding the deprecated functions:  I've had it in my mind to go and update everything to a current version of Octave (i.e. 5.0 or 5.1), but haven't found time yet.  I'll try to do so "soon".

Daniel Kraft <domob>
Fri 12 Apr 2019 07:34:32 PM UTC, comment #7: 

In octave 5.1, windows:

checking whether g++ supports C++11 features by default... yes

And it installs OK (level-set 0.3.0), with a number warning about depreciated functions and texi warnings.


John Donoghue <lostbard>
Group Member
Tue 18 Jul 2017 05:41:09 PM UTC, comment #6: 

Thanks for the patch, I've merged it into the master branch and pushed to Sourceforge.

Daniel Kraft <domob>
Tue 18 Jul 2017 05:19:04 PM UTC, comment #5: 

Patch attached

(file #41235)

John Donoghue <lostbard>
Group Member
Thu 24 Nov 2016 02:58:59 PM UTC, comment #4: 

Also fails to install in OS X with Homebrew:



In file included from FastMarching.cpp:19:
In file included from ./FastMarching.hpp:56:
./Heap.hpp:78:15: warning: deleted function definitions are a C++11 extension
      [-Wc++11-extensions]
    Heap () = delete;
              ^
./Heap.hpp:79:28: warning: deleted function definitions are a C++11 extension
      [-Wc++11-extensions]
    Heap (const Heap& o) = delete;
                           ^
./Heap.hpp:80:39: warning: deleted function definitions are a C++11 extension
      [-Wc++11-extensions]
    Heap& operator= (const Heap& o) = delete;
                                      ^
./Heap.hpp:205:20: warning: deleted function definitions are a C++11 extension
      [-Wc++11-extensions]
    EntryData () = delete;
                   ^
./Heap.hpp:206:38: warning: deleted function definitions are a C++11 extension
      [-Wc++11-extensions]
    EntryData (const EntryData& o) = delete;
                                     ^
./Heap.hpp:207:49: warning: deleted function definitions are a C++11 extension
      [-Wc++11-extensions]
    EntryData& operator= (const EntryData& o) = delete;
                                                ^
In file included from FastMarching.cpp:19:
In file included from ./FastMarching.hpp:56:
In file included from ./Heap.hpp:260:
./Heap.tpp:35:8: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (auto e : data)
       ^
./Heap.tpp:35:15: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (auto e : data)
              ^
./Heap.tpp:169:13: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
      const auto child = down (i);
            ^
./Heap.tpp:192:9: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  const auto indexA = a.index;
        ^
./Heap.tpp:193:9: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  const auto indexB = b.index;
        ^
./Heap.tpp:228:9: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  const auto ind = 2 * index + c + 1;
        ^
In file included from FastMarching.cpp:19:
./FastMarching.hpp:162:44: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  UpdateEquation (const UpdateEquation&) = delete;
                                           ^
./FastMarching.hpp:163:55: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  UpdateEquation& operator= (const UpdateEquation&) = delete;
                                                      ^
./FastMarching.hpp:241:17: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  EqnEntry () = delete;
                ^
./FastMarching.hpp:242:32: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  EqnEntry (const EqnEntry&) = delete;
                               ^
./FastMarching.hpp:243:43: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  EqnEntry& operator= (const EqnEntry&) = delete;
                                          ^
./FastMarching.hpp:347:14: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  Entry () = delete;
             ^
./FastMarching.hpp:348:28: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  Entry (const Entry& o) = delete;
                           ^
./FastMarching.hpp:349:39: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  Entry& operator= (const Entry& o) = delete;
                                      ^
./FastMarching.hpp:534:13: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  Grid () = delete;
            ^
./FastMarching.hpp:535:26: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  Grid (const Grid& o) = delete;
                         ^
./FastMarching.hpp:536:37: warning: deleted function definitions are a C++11
      extension [-Wc++11-extensions]
  Grid& operator= (const Grid& o) = delete;
                                    ^
In file included from FastMarching.cpp:19:
In file included from ./FastMarching.hpp:614:
./FastMarching.tpp:69:13: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
      const auto oldValue = neighbour[d];
            ^
FastMarching.cpp:40:8: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (auto e : entries)
       ^
FastMarching.cpp:40:15: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (auto e : entries)
              ^
FastMarching.cpp:56:3: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  auto iter = entries.find (d);
  ^
FastMarching.cpp:81:14: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (const auto& e : entries)
             ^
FastMarching.cpp:81:22: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (const auto& e : entries)
                     ^
FastMarching.cpp:105:18: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
      for (const auto cur : sortedEntries)
                 ^
FastMarching.cpp:105:27: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
      for (const auto cur : sortedEntries)
                          ^
FastMarching.cpp:117:7: error: no matching function for call to 'issueWarning'
      issueWarning ("level-set:fast-marching:too-far-alive",
      ^~~~~~~~~~~~
./FastMarching.hpp:102:6: note: candidate function not viable: no known
      conversion from 'const char [38]' to 'const std::string' (aka 'const
      basic_string<char, char_traits<char>, allocator<char> >') for 1st argument
void issueWarning (const std::string& id, const std::string& fmt, ...);
     ^
FastMarching.cpp:156:14: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (const auto cur : sortedEntries)
             ^
FastMarching.cpp:156:23: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (const auto cur : sortedEntries)
                      ^
FastMarching.cpp:220:9: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  const auto buildEqn
        ^
FastMarching.cpp:221:7: error: expected expression
    = [&eqn, &grid] (const IndexTuple& neighbour, dimensionT d, indexT)
      ^
FastMarching.cpp:240:9: error: no matching function for call to 'issueWarning'
        issueWarning ("level-set:fast-marching:increased-distance",
        ^~~~~~~~~~~~
./FastMarching.hpp:102:6: note: candidate function not viable: no known
      conversion from 'const char [43]' to 'const std::string' (aka 'const
      basic_string<char, char_traits<char>, allocator<char> >') for 1st argument
void issueWarning (const std::string& id, const std::string& fmt, ...);
     ^
FastMarching.cpp:305:9: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  const auto updateIt
        ^
FastMarching.cpp:306:7: error: expected expression
    = [this] (const IndexTuple& neighbour, dimensionT, indexT)
      ^
FastMarching.cpp:345:8: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (auto i : s)
       ^
FastMarching.cpp:345:15: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (auto i : s)
              ^
FastMarching.cpp:349:8: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (auto& p : entries)
       ^
FastMarching.cpp:349:16: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (auto& p : entries)
               ^
FastMarching.cpp:363:8: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (auto p : entries)
       ^
FastMarching.cpp:363:15: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (auto p : entries)
              ^
FastMarching.cpp:407:14: warning: 'auto' type specifier is a C++11 extension
      [-Wc++11-extensions]
  for (const auto center : entries)
             ^
FastMarching.cpp:407:26: warning: range-based for loop is a C++11 extension
      [-Wc++11-extensions]
  for (const auto center : entries)
                         ^
43 warnings and 4 errors generated.
make: *** [FastMarching.o] Error 1
make: *** Waiting for unfinished jobs....
Utils.cpp:36:19: warning: 'va_start' has undefined behavior with reference types
      [-Wvarargs]
  va_start (args, fmt);
                  ^
Utils.cpp:33:57: note: parameter of type 'const std::string &' (aka 'const
      basic_string<char, char_traits<char>, allocator<char> > &') is declared
      here
issueWarning (const std::string& id, const std::string& fmt, ...)
                                                        ^
1 warning generated.
c++ -g -O2 -Wall -Wextra -Weffc++ -pedantic -fPIC -c FastMarching.cpp -o FastMarching.o
CXXFLAGS="-g -O2 -Wall -Wextra" /usr/local/Cellar/octave/4.2.0/bin/mkoctfile-4.2.0 -c Utils.cpp -o Utils.o

pkg: error running `make' for the level-set package.
error: called from
    install at line 200 column 5
    pkg at line 394 column 9


Nir Krakauer <nir_krakauer>
Thu 24 Nov 2016 02:49:16 PM UTC, comment #3: 

still an issue with the 4.2.0 official release

John Donoghue <lostbard>
Group Member
Thu 27 Oct 2016 07:14:09 PM UTC, comment #2: 

Ok this is pretty much the same issue as seen in this bug: https://savannah.gnu.org/bugs/?47355

GNU make ALWAYS defines CC and CXX even if they are not set, so
CXX ?= somethingoptional_if_CXX_is_not_set, is never actually used.

Changing the Makefile from:

CXX ?= @CXX@

to:

CXX = @CXX@

Makes it compile in windows as it then uses the CXX values that were worked out in configure.

John Donoghue <lostbard>
Group Member
Fri 07 Oct 2016 09:01:39 PM UTC, comment #1: 

Looks like it working in Linux.

Perhaps related:

windows:

checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes


Fedora Linux:

checking whether g++ supports C++11 features by default... yes




John Donoghue <lostbard>
Group Member
Fri 07 Oct 2016 08:31:37 PM UTC, original submission:  

Attempting to install level-set 0.3.0 in windows (although it might not be just a windows issue) using Octave 4.2.0rc2 via:


pkg install -forge level-set


Install fails with a number of compile errors based on not finding M_PI.

 


CXXFLAGS="-g -O2 -std=c++11 -Wall -Wextra" C:/Octave/Octave-4.2.0-rc2/bin/mkoctfile-4.2.0-rc2.exe --verbose -c Utils.cpp -o Utils.o
g++ -std=gnu++11 -c -I/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/include  -IC:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\.. -IC:\Oct
ave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave -IC:\Octave\Octave-4.2.0-rc2\include  -pthread -fopenmp -mieee-fp -g -O2 -std=c++11 -Wall -Wextra    Uti
ls.cpp -o Utils.o
In file included from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/lo-utils.h:36:0,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/Array.h:41,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/Sparse.h:37,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/MSparse.h:31,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/MatrixType.h:29,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/mx-base.h:30,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/Matrix.h:32,
                 from C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct.h:30,
                 from Utils.hpp:26,
                 from Utils.cpp:19:
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator>(const std::complex<_Tp>&, const std::complex<_T
p>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:55:36: error: 'M_PI' was not declared in this scope
         if (ay == static_cast<T> (-M_PI))

                                    ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:100:1: note: in expansion of macro 'DEF_COMPLEXR_COMP'
 DEF_COMPLEXR_COMP (>, >)
 ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator>(const std::complex<_Tp>&, T)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:77:36: error: 'M_PI' was not declared in this scope
         if (ay == static_cast<T> (-M_PI))                               \
                                    ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:100:1: note: in expansion of macro 'DEF_COMPLEXR_COMP'
 DEF_COMPLEXR_COMP (>, >)
 ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator>(T, const std::complex<_Tp>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:92:36: error: 'M_PI' was not declared in this scope
         if (by == static_cast<T> (-M_PI))                               \
                                    ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:100:1: note: in expansion of macro 'DEF_COMPLEXR_COMP'
 DEF_COMPLEXR_COMP (>, >)
 ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator<(const std::complex<_Tp>&, const std::complex<_T
p>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:55:36: error: 'M_PI' was not declared in this scope
         if (ay == static_cast<T> (-M_PI))                               \
                                    ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:101:1: note: in expansion of macro 'DEF_COMPLEXR_COMP'
 DEF_COMPLEXR_COMP (<, <)
 ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator<(const std::complex<_Tp>&, T)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:77:36: error: 'M_PI' was not declared in this scope
         if (ay == static_cast<T> (-M_PI))                               \
                                    ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:101:1: note: in expansion of macro 'DEF_COMPLEXR_COMP'
 DEF_COMPLEXR_COMP (<, <)
 ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator<(T, const std::complex<_Tp>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:92:36: error: 'M_PI' was not declared in this scope
         if (by == static_cast<T> (-M_PI))
                                    ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:101:1: note: in expansion of macro 'DEF_COMPLEXR_COMP'
 DEF_COMPLEXR_COMP (<, <)
 ^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h: In function 'bool operator<=(const std::complex<_Tp>&, const std::complex<_
Tp>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:55:36: error: 'M_PI' was not declared in this scope
         if (ay == static_cast<T> (-M_PI))
                                    ^


John Donoghue <lostbard>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apjanke (Posted a comment)
  • -email is unavailable- added by drtspc (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by domob (Posted a comment)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by lostbard (Adding package maintainer)
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-11 jwe Summary[octave forge] level-set fails to install in octave 4.2.0rc2 [octave forge] (level-set) fails to install in octave 4.2.0rc2
    2017-07-18 lostbard Attached File- Added 0001-src-Makefile.in-use-CXX-CXX-Bug-49294.patch, #41235
    2016-11-17 mtmiller StatusNone Patch Submitted
        Release4.2.0-rc2 4.2.0
    2016-10-19 lostbard Carbon-Copy- Added domob

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code