[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45257] image 2.4.0 package fails to build for
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #45257] image 2.4.0 package fails to build for octave 4.0.0 |
Date: |
Fri, 05 Jun 2015 10:19:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?45257>
Summary: image 2.4.0 package fails to build for octave 4.0.0
Project: GNU Octave
Submitted by: None
Submitted on: Fr 05 Jun 2015 10:19:58 UTC
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Installation Failure
Status: None
Assigned to: None
Originator Name: Philip A.
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: GNU/Linux
_______________________________________________________
Details:
I tried compiling the image package using the following command:
octave -q -f --eval "pkg build -verbose -nodeps builddir image-2.4.0.tar.gz"
The builddir directory was of course created.
However the build fails with the following output:
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
configure: creating ./config.status
config.status: creating Makefile
make: Entering directory '/tmp/oct-6cx8Mo/image-2.4.0/src'
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
__spatial_filtering__.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
__bilateral__.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
__custom_gaussian_smoothing__.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
__boundary__.cc
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 __boundary__.cc -o __boundary__.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 __bilateral__.cc -o __bilateral__.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 __spatial_filtering__.cc -o __spatial_filtering__.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 __custom_gaussian_smoothing__.cc -o
__custom_gaussian_smoothing__.o
g++ -shared -Wl,-Bsymbolic -o __spatial_filtering__.oct
__spatial_filtering__.o -L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
g++ -shared -Wl,-Bsymbolic -o __bilateral__.oct __bilateral__.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
g++ -shared -Wl,-Bsymbolic -o __custom_gaussian_smoothing__.oct
__custom_gaussian_smoothing__.o -L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
g++ -shared -Wl,-Bsymbolic -o __boundary__.oct __boundary__.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
bwfill.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
rotate_scale.cc
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 bwfill.cc -o bwfill.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 rotate_scale.cc -o rotate_scale.o
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
hough_line.cc
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 hough_line.cc -o hough_line.o
g++ -shared -Wl,-Bsymbolic -o bwfill.oct bwfill.o -L/usr/lib/octave/4.0.0
-loctinterp -loctave -Wl,-O1,--sort-common,--as-needed,-z,relro
g++ -shared -Wl,-Bsymbolic -o rotate_scale.oct rotate_scale.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
graycomatrix.cc
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 graycomatrix.cc -o graycomatrix.o
g++ -shared -Wl,-Bsymbolic -o hough_line.oct hough_line.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
g++ -shared -Wl,-Bsymbolic -o graycomatrix.oct graycomatrix.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
bwdist.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
nonmax_supress.cc
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 nonmax_supress.cc -o nonmax_supress.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 bwdist.cc -o bwdist.o
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose -c
strel.cc
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 strel.cc -o strel.o
g++ -shared -Wl,-Bsymbolic -o bwdist.oct bwdist.o -L/usr/lib/octave/4.0.0
-loctinterp -loctave -Wl,-O1,--sort-common,--as-needed,-z,relro
g++ -shared -Wl,-Bsymbolic -o nonmax_supress.oct nonmax_supress.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose -c
connectivity.cc
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
imerode.cc strel.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 imerode.cc -o imerode.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 connectivity.cc -o connectivity.o
g++ -shared -Wl,-Bsymbolic -o imerode.oct strel.o imerode.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
conndef.cc connectivity.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 conndef.cc -o conndef.o
g++ -shared -Wl,-Bsymbolic -o conndef.oct connectivity.o conndef.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
bwlabeln.cc connectivity.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 bwlabeln.cc -o bwlabeln.o
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
imreconstruct.cc connectivity.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 imreconstruct.cc -o imreconstruct.o
g++ -shared -Wl,-Bsymbolic -o bwlabeln.oct connectivity.o bwlabeln.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4 -std=gnu++11" /usr/bin/mkoctfile-4.0.0 --verbose
bwconncomp.cc connectivity.o
g++ -c -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-4.0.0/octave/..
-I/usr/include/octave-4.0.0/octave -pthread -fopenmp -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-std=gnu++11 bwconncomp.cc -o bwconncomp.o
g++ -shared -Wl,-Bsymbolic -o bwconncomp.oct connectivity.o bwconncomp.o
-L/usr/lib/octave/4.0.0 -loctinterp -loctave
-Wl,-O1,--sort-common,--as-needed,-z,relro
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = boolNDArray; octave_idx_type
= int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
boolNDArray]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = boolNDArray]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = boolNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = boolNDArray]'
imreconstruct.cc:364:114: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = boolNDArray]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = boolNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = boolNDArray]'
imreconstruct.cc:364:114: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T =
intNDArray<octave_int<unsigned char> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<unsigned char> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<unsigned char> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<unsigned char> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<unsigned
char> >]'
imreconstruct.cc:365:122: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<unsigned char> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<unsigned char> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<unsigned
char> >]'
imreconstruct.cc:365:122: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = intNDArray<octave_int<signed
char> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<signed char> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<signed char> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<signed char> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<signed
char> >]'
imreconstruct.cc:365:241: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<signed char> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<signed char> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<signed
char> >]'
imreconstruct.cc:365:241: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = intNDArray<octave_int<short
unsigned int> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<short unsigned int> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<short unsigned int> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<short unsigned int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<short
unsigned int> >]'
imreconstruct.cc:366:125: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<short unsigned int> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<short unsigned int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<short
unsigned int> >]'
imreconstruct.cc:366:125: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = intNDArray<octave_int<short
int> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<short int> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<short int> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<short int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<short int>
>]'
imreconstruct.cc:366:247: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<short int> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<short int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<short int>
>]'
imreconstruct.cc:366:247: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T =
intNDArray<octave_int<unsigned int> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<unsigned int> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<unsigned int> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<unsigned int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<unsigned
int> >]'
imreconstruct.cc:367:125: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<unsigned int> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<unsigned int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<unsigned
int> >]'
imreconstruct.cc:367:125: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = intNDArray<octave_int<int>
>; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<int> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<int> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<int> >]'
imreconstruct.cc:367:247: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<int> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<int> >]'
imreconstruct.cc:367:247: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = intNDArray<octave_int<long
unsigned int> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<long unsigned int> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<long unsigned int> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<long unsigned int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<long
unsigned int> >]'
imreconstruct.cc:368:125: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<long unsigned int> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<long unsigned int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<long
unsigned int> >]'
imreconstruct.cc:368:125: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = intNDArray<octave_int<long
int> >; octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
intNDArray<octave_int<long int> >]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<long int> >]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<long int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<long int>
>]'
imreconstruct.cc:368:247: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = intNDArray<octave_int<long int> >]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
intNDArray<octave_int<long int> >]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = intNDArray<octave_int<long int>
>]'
imreconstruct.cc:368:247: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = FloatNDArray;
octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
FloatNDArray]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = FloatNDArray]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = FloatNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = FloatNDArray]'
imreconstruct.cc:371:121: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = FloatNDArray]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = FloatNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = FloatNDArray]'
imreconstruct.cc:371:121: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = NDArray; octave_idx_type =
int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
NDArray]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = NDArray]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = NDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = NDArray]'
imreconstruct.cc:371:200: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = NDArray]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = NDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = NDArray]'
imreconstruct.cc:371:200: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = FloatComplexNDArray;
octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
FloatComplexNDArray]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = FloatComplexNDArray]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
FloatComplexNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = FloatComplexNDArray]'
imreconstruct.cc:375:137: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = FloatComplexNDArray]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T =
FloatComplexNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = FloatComplexNDArray]'
imreconstruct.cc:375:137: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
imreconstruct.cc: In instantiation of 'scan_antiraster_order(T&, const T&,
const dim_vector&, const Array<int>&, const
Array<int>&)::<lambda(octave_idx_type)> [with T = ComplexNDArray;
octave_idx_type = int]':
imreconstruct.cc:189:9: required from 'struct scan_antiraster_order(T&,
const T&, const dim_vector&, const Array<int>&, const Array<int>&) [with T =
ComplexNDArray]::<lambda(octave_idx_type)>'
imreconstruct.cc:165:8: required from 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = ComplexNDArray]'
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = ComplexNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = ComplexNDArray]'
imreconstruct.cc:375:232: required from here
imreconstruct.cc:182:43: error: redeclaration of 'const octave_idx_type&
n_neighbours'
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc:175:43: note: 'const octave_idx_type& n_neighbours'
previously declared here
for (octave_idx_type i = 0; i < n_neighbours; i++)
^
imreconstruct.cc: In instantiation of 'std::queue<int>
scan_antiraster_order(T&, const T&, const dim_vector&, const Array<int>&,
const Array<int>&) [with T = ComplexNDArray]':
imreconstruct.cc:265:27: required from 'T fast_hybrid_reconstruction(const
T&, const T&, const octave::image::connectivity&) [with T = ComplexNDArray]'
imreconstruct.cc:282:37: required from 'T reconstruct(const T&, const T&,
const octave::image::connectivity&) [with T = ComplexNDArray]'
imreconstruct.cc:375:232: required from here
imreconstruct.cc:165:10: sorry, unimplemented: non-trivial designated
initializers not supported
scan = [&] (const octave_idx_type dim) -> void
^
Makefile:27: recipe for target 'imreconstruct.oct' failed
make: *** [imreconstruct.oct] Error 1
make: Leaving directory '/tmp/oct-6cx8Mo/image-2.4.0/src'
pkg: error running `make' for the image package.
error: called from 'configure_make' in file
/usr/share/octave/4.0.0/m/pkg/private/configure_make.m near line 96, column 9
>From what I gathered on stackoverflow C++ doesn't support designated
initializers. So the respective parts should be compiled with gcc instead of
g++, which the Makefile should take care of but apparently doesn't.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45257>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45257] image 2.4.0 package fails to build for octave 4.0.0,
anonymous <=