/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: At global scope:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:516:15: error: expected nested-name-specifier before ‘self’
using self = ModelBuffer;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:517:15: error: expected nested-name-specifier before ‘supper’
using supper = SeetaModelBuffer;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:526:26: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
~ModelBuffer() = default;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:534:27: error: ‘supper’ does not name a type
ModelBuffer(const supper &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:548:27: error: ‘self’ does not name a type
ModelBuffer(const self &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:548:9: error: ‘seeta::ModelBuffer::ModelBuffer(const int&)’ cannot be overloaded
ModelBuffer(const self &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:534:9: error: with ‘seeta::ModelBuffer::ModelBuffer(const int&)’
ModelBuffer(const supper &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:555:38: error: ‘supper’ does not name a type
ModelBuffer &operator=(const supper &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:561:38: error: ‘self’ does not name a type
ModelBuffer &operator=(const self &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:561:22: error: ‘seeta::ModelBuffer& seeta::ModelBuffer::operator=(const int&)’ cannot be overloaded
ModelBuffer &operator=(const self &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:555:22: error: with ‘seeta::ModelBuffer& seeta::ModelBuffer::operator=(const int&)’
ModelBuffer &operator=(const supper &other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:570:26: error: expected ‘)’ before ‘&&’ token
ModelBuffer(self &&other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:571:57: error: expected unqualified-id before ‘)’ token
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:577:32: error: declaration of ‘operator=’ as non-function
ModelBuffer &operator=(self &&other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:577:30: error: expected ‘;’ at end of member declaration
ModelBuffer &operator=(self &&other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:577:37: error: expected ‘)’ before ‘&&’ token
ModelBuffer &operator=(self &&other)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer()’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:529:15: error: class ‘seeta::ModelBuffer’ does not have any field named ‘supper’
: supper({ SEETA_DEVICE_AUTO, 0, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:529:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: supper({ SEETA_DEVICE_AUTO, 0, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:529:46: error: ‘nullptr’ was not declared in this scope
: supper({ SEETA_DEVICE_AUTO, 0, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const int&)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:535:15: error: class ‘seeta::ModelBuffer’ does not have any field named ‘supper’
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:535:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:535:30: error: request for member ‘device’ in ‘other’, which is of non-class type ‘const int’
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:535:44: error: request for member ‘id’ in ‘other’, which is of non-class type ‘const int’
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:535:48: error: ‘nullptr’ was not declared in this scope
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:537:23: error: request for member ‘buffer’ in ‘other’, which is of non-class type ‘const int’
if (other.buffer) {
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:539:30: error: request for member ‘buffer’ in ‘other’, which is of non-class type ‘const int’
while (other.buffer[i].buffer && other.buffer[i].size)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:539:56: error: request for member ‘buffer’ in ‘other’, which is of non-class type ‘const int’
while (other.buffer[i].buffer && other.buffer[i].size)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:541:36: error: ‘class std::vectorseeta::Buffer’ has no member named ‘emplace_back’
m_model_buffer.emplace_back(other.buffer[i]);
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:541:55: error: request for member ‘buffer’ in ‘other’, which is of non-class type ‘const int’
m_model_buffer.emplace_back(other.buffer[i]);
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const int&)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:549:15: error: class ‘seeta::ModelBuffer’ does not have any field named ‘supper’
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:549:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:549:30: error: request for member ‘device’ in ‘other’, which is of non-class type ‘const int’
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:549:44: error: request for member ‘id’ in ‘other’, which is of non-class type ‘const int’
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:549:48: error: ‘nullptr’ was not declared in this scope
: supper({ other.device, other.id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:551:42: error: request for member ‘m_model_buffer’ in ‘other’, which is of non-class type ‘const int’
this->m_model_buffer = other.m_model_buffer;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In member function ‘seeta::ModelBuffer& seeta::ModelBuffer::operator=(const int&)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:557:39: error: ‘self’ was not declared in this scope
this->operator=(self(other));
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In member function ‘seeta::ModelBuffer& seeta::ModelBuffer::operator=(const int&)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:563:34: error: request for member ‘device’ in ‘other’, which is of non-class type ‘const int’
this->device = other.device;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:564:30: error: request for member ‘id’ in ‘other’, which is of non-class type ‘const int’
this->id = other.id;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:565:42: error: request for member ‘m_model_buffer’ in ‘other’, which is of non-class type ‘const int’
this->m_model_buffer = other.m_model_buffer;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const seeta::Buffer&, SeetaDevice, int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:588:15: error: class ‘seeta::ModelBuffer’ does not have any field named ‘supper’
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:588:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:588:36: error: ‘nullptr’ was not declared in this scope
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const seeta::Buffer&, SeetaDevice)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:593:72: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const seeta::Buffer &buffer, SeetaDevice device) : self(buffer, device, 0) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const seeta::Buffer&, seeta::ModelBuffer::Device, int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:595:75: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const seeta::Buffer &buffer, Device device, int id) : self(buffer, SeetaDevice(device), id) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const seeta::Buffer&, seeta::ModelBuffer::Device)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:597:67: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const seeta::Buffer &buffer, Device device) : self(buffer, SeetaDevice(device)) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const seeta::Buffer&)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:599:52: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const seeta::Buffer &buffer) : self(buffer, SEETA_DEVICE_AUTO) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const std::vectorseeta::Buffer&, SeetaDevice, int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:602:15: error: class ‘seeta::ModelBuffer’ does not have any field named ‘supper’
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:602:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:602:36: error: ‘nullptr’ was not declared in this scope
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const std::vectorseeta::Buffer&, SeetaDevice)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:607:85: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const std::vectorseeta::Buffer &buffer, SeetaDevice device) : self(buffer, device, 0) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const std::vectorseeta::Buffer&, seeta::ModelBuffer::Device, int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:609:88: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const std::vectorseeta::Buffer &buffer, Device device, int id) : self(buffer, SeetaDevice(device), id) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const std::vectorseeta::Buffer&, seeta::ModelBuffer::Device)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:611:80: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const std::vectorseeta::Buffer &buffer, Device device) : self(buffer, SeetaDevice(device)) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(const std::vectorseeta::Buffer&)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:613:65: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(const std::vectorseeta::Buffer &buffer) : self(buffer, SEETA_DEVICE_AUTO) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(SeetaDevice, int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:616:15: error: class ‘seeta::ModelBuffer’ does not have any field named ‘supper’
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:616:22: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:616:36: error: ‘nullptr’ was not declared in this scope
: supper({ device, id, nullptr })
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(SeetaDevice)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:621:43: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(SeetaDevice device) : self(device, 0) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(seeta::ModelBuffer::Device, int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:623:46: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(Device device, int id) : self(SeetaDevice(device), id) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In constructor ‘seeta::ModelBuffer::ModelBuffer(seeta::ModelBuffer::Device)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:625:38: error: class ‘seeta::ModelBuffer’ does not have any field named ‘self’
ModelBuffer(Device device) : self(SeetaDevice(device)) {}
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In member function ‘seeta::ModelBuffer::Device seeta::ModelBuffer::set_device(SeetaDevice)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:637:18: error: ‘old’ does not name a type
auto old = this->device;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:639:27: error: ‘old’ was not declared in this scope
return Device(old);
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In member function ‘int seeta::ModelBuffer::set_id(int)’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:644:24: error: ‘old’ does not name a type
const auto old = this->id;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:646:20: error: ‘old’ was not declared in this scope
return old;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h: In member function ‘void seeta::ModelBuffer::update()’:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:693:24: error: ISO C++ forbids declaration of ‘model_buffer’ with no type [-fpermissive]
for (auto &model_buffer : m_model_buffer)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:693:39: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
for (auto &model_buffer : m_model_buffer)
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:695:54: error: no matching function for call to ‘std::vector::push_back(int&)’
this->m_buffer.push_back(model_buffer);
^
In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/vector:64:0,
from /usr/local/include/opencv4/opencv2/core/types.hpp:53,
from /usr/local/include/opencv4/opencv2/core.hpp:58,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_vector.h:913:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = SeetaBuffer; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::value_type = SeetaBuffer]
push_back(const value_type& __x)
^
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_vector.h:913:7: note: no known conversion for argument 1 from ‘int’ to ‘const value_type& {aka const SeetaBuffer&}’
In file included from /home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceDetector.h:8:0,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:7:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:697:38: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
this->m_buffer.push_back({ nullptr, 0 }); // terminate with empty buffer
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:697:40: error: ‘nullptr’ was not declared in this scope
this->m_buffer.push_back({ nullptr, 0 }); // terminate with empty buffer
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:697:52: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
this->m_buffer.push_back({ nullptr, 0 }); // terminate with empty buffer
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/Common/Struct.h:697:52: error: no matching function for call to ‘std::vector::push_back()’
In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/vector:64:0,
from /usr/local/include/opencv4/opencv2/core/types.hpp:53,
from /usr/local/include/opencv4/opencv2/core.hpp:58,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_vector.h:913:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = SeetaBuffer; _Alloc = std::allocator; std::vector<_Tp, _Alloc>::value_type = SeetaBuffer]
push_back(const value_type& x)
^
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_vector.h:913:7: note: no known conversion for argument 1 from ‘’ to ‘const value_type& {aka const SeetaBuffer&}’
In file included from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:7:0:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceDetector.h: At global scope:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceDetector.h:16:19: error: expected nested-name-specifier before ‘self’
using self = FaceDetector;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceDetector.h:32:51: error: ‘self’ does not name a type
SEETA_API explicit FaceDetector(const self *other);
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceDetector.h:41:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
FaceDetector(const FaceDetector &) = delete;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceDetector.h:43:67: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
const FaceDetector &operator=(const FaceDetector &) = delete;
^
In file included from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:8:0:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceLandmarker.h:15:19: error: expected nested-name-specifier before ‘self’
using self = FaceLandmarker;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceLandmarker.h:20:44: error: ‘self’ does not name a type
SEETA_API FaceLandmarker(const self *other);
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceLandmarker.h:53:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
FaceLandmarker(const FaceLandmarker &) = delete;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceLandmarker.h:54:70: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
const FaceLandmarker &operator=(const FaceLandmarker&) = delete;
^
In file included from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:9:0:
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceRecognizer.h:19:19: error: expected nested-name-specifier before ‘self’
using self = FaceRecognizer;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceRecognizer.h:28:44: error: ‘self’ does not name a type
SEETA_API FaceRecognizer(const self other);
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceRecognizer.h:70:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
FaceRecognizer(const FaceRecognizer &) = delete;
^
/home/data/csp/face_recognition/sf6git/index-master/build/include/seeta/FaceRecognizer.h:71:70: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
const FaceRecognizer &operator=(const FaceRecognizer&) = delete;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp: In function ‘bool extract_feature(cv::Mat, const seeta::v6::FaceDetector&, const seeta::v6::FaceLandmarker&, const seeta::v6::FaceRecognizer&, float)’:
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:26:8: error: ‘faces’ does not name a type
auto faces = FD.detect(simg);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:28:7: error: ‘faces’ was not declared in this scope
if (faces.size <= 0){
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:34:17: error: ‘faces’ was not declared in this scope
FL.mark(simg, faces.data[0].pos, points);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp: In function ‘int main()’:
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:66:23: error: ‘shared_ptr’ was not declared in this scope
vector<pair<string, shared_ptr > > feature_db;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:66:39: error: template argument 2 is invalid
vector<pair<string, shared_ptr > > feature_db;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:66:41: error: template argument 1 is invalid
vector<pair<string, shared_ptr > > feature_db;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:66:41: error: template argument 2 is invalid
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:66:43: error: expected unqualified-id before ‘>’ token
vector<pair<string, shared_ptr > > feature_db;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:67:14: error: expected primary-expression before ‘float’
shared_ptr feature1(new float[FR.GetExtractFeatureSize()]);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:69:34: error: ‘feature1’ was not declared in this scope
extract_feature(dkl,FD, FL, FR,feature1.get());
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:70:3: error: ‘feature_db’ was not declared in this scope
feature_db.emplace_back(pair<string, shared_ptr>("丁凯乐", feature1));
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:70:80: error: template argument 2 is invalid
feature_db.emplace_back(pair<string, shared_ptr>("丁凯乐", feature1));
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:72:14: error: expected primary-expression before ‘float’
shared_ptr feature2(new float[FR.GetExtractFeatureSize()]);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:74:35: error: ‘feature2’ was not declared in this scope
extract_feature(dmt,FD, FL, FR, feature2.get());
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:75:80: error: template argument 2 is invalid
feature_db.emplace_back(pair<string, shared_ptr>("多面体", feature2));
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:94:10: error: ‘faces’ does not name a type
auto faces = FD.detect(recogImage);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:95:30: error: ‘faces’ was not declared in this scope
cout << "faces.size:" << faces.size << endl;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:102:12: error: ‘face’ does not name a type
auto face = faces.data[i].pos;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:106:27: error: ‘face’ was not declared in this scope
FL.mark(recogImage, face, points.data());
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:110:7: error: ‘unique_ptr’ was not declared in this scope
unique_ptr<float[]> feature(new float[FR.GetExtractFeatureSize()]);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:110:18: error: expected primary-expression before ‘float’
unique_ptr<float[]> feature(new float[FR.GetExtractFeatureSize()]);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:111:45: error: ‘feature’ was not declared in this scope
FR.Extract(recogImage, points.data(), feature.get());
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:118:15: error: ISO C++ forbids declaration of ‘pair_name_feat’ with no type [-fpermissive]
auto& pair_name_feat = feature_db[index];
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:119:82: error: request for member ‘second’ in ‘pair_name_feat’, which is of non-class type ‘int’
float current_sim = FR.CalculateSimilarity(feature.get(), pair_name_feat.second.get());
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:126:96: error: ‘to_string’ was not declared in this scope
labels.push_back(feature_db[target_index].first+"(相似度:"+ to_string(max_sim *100).substr(0,5) +")");
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:140:20: error: ‘freetype’ is not a member of ‘cv’
static cv::Ptrcv::freetype::FreeType2 ft2;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:140:20: error: ‘freetype’ is not a member of ‘cv’
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:140:43: error: template argument 1 is invalid
static cv::Ptrcv::freetype::FreeType2 ft2;
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:142:16: error: ‘cv::freetype’ has not been declared
ft2 = cv::freetype::createFreeType2();
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:143:9: error: base operand of ‘->’ is not a pointer
ft2->loadFontData("./simsun.ttc", 0);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:148:29: error: base operand of ‘->’ is not a pointer
if (ft2) text_size = ft2->getTextSize("人脸库(2张)", fontHeight, -1, &baseline);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:149:16: error: base operand of ‘->’ is not a pointer
if (ft2)ft2->putText(unknown, "人脸库(2张)", cv::Point(unknown.cols/2 - text_size.width/2, unknown.rows - dkl.rows/2), fontHeight, title_color, -
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:154:20: error: base operand of ‘->’ is not a pointer
text_size = ft2->getTextSize(title, fontHeight, -1, &baseline);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:155:8: error: base operand of ‘->’ is not a pointer
ft2->putText(unknown, title, cv::Point(unknown.cols / 2 - text_size.width / 2, 60), fontHeight, title_color, -1, 16, true);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:159:20: error: base operand of ‘->’ is not a pointer
text_size = ft2->getTextSize(title, fontHeight, -1, &baseline);
^
/home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:160:8: error: base operand of ‘->’ is not a pointer
ft2->putText(unknown, title, cv::Point(unknown.cols / 2 - text_size.width / 2, 60+50), fontHeight, title_color, -1, 16, true);
^
In file included from /usr/local/include/opencv4/opencv2/core.hpp:60:0,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/usr/local/include/opencv4/opencv2/core/persistence.hpp: In instantiation of ‘void cv::read(const cv::FileNode&, cv::Point<Tp>&, const cv::Point<Tp>&) [with Tp = int]’:
/usr/local/include/opencv4/opencv2/core/persistence.hpp:782:34: required from here
/usr/local/include/opencv4/opencv2/core/persistence.hpp:726:11: error: ambiguous overload for ‘operator=’ (operand types are ‘cv::Point’ and ‘const cv::Point’)
value = temp.size() != 2 ? default_value : Point<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<Tp>(temp[1]));
^
In file included from /usr/local/include/opencv4/opencv2/core.hpp:58:0,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/usr/local/include/opencv4/opencv2/core/types.hpp:1184:14: note: candidate: cv::Point<Tp>& cv::Point<Tp>::operator=(const cv::Point<Tp>&) [with Tp = int]
Point<Tp>& Point<Tp>::operator = (const Point& pt)
^
/usr/local/include/opencv4/opencv2/core/types.hpp:1191:14: note: candidate: cv::Point<Tp>& cv::Point<Tp>::operator=(cv::Point<Tp>) [with Tp = int; cv::Point<Tp> = cv::Point]
Point<Tp>& Point<Tp>::operator = (Point&& pt) CV_NOEXCEPT
^
In file included from /usr/local/include/opencv4/opencv2/core/cvstd.hpp:81:0,
from /usr/local/include/opencv4/opencv2/core/base.hpp:58,
from /usr/local/include/opencv4/opencv2/core.hpp:54,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::flann::KDTreeIndexParams; A1 = {}]’:
/usr/local/include/opencv4/opencv2/features2d.hpp:1159:109: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::flann::KDTreeIndexParams’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::flann::KDTreeIndexParams, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::flann::SearchParams; A1 = {}]’:
/usr/local/include/opencv4/opencv2/features2d.hpp:1160:98: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::flann::SearchParams’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::flann::SearchParams, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::PlaneWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:137:114: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::PlaneWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::PlaneWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::AffineWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:146:115: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::AffineWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::AffineWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::CylindricalWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:155:120: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::CylindricalWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::CylindricalWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::SphericalWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:162:118: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::SphericalWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::SphericalWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::FisheyeWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:168:116: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::FisheyeWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::FisheyeWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::StereographicWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:174:122: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::StereographicWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::StereographicWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::CompressedRectilinearWarper; A1 = {float, float, float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:185:136: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::CompressedRectilinearWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::CompressedRectilinearWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::CompressedRectilinearPortraitWarper; A1 = {float, float, float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:196:144: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::CompressedRectilinearPortraitWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::CompressedRectilinearPortraitWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::PaniniWarper; A1 = {float, float, float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:207:121: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::PaniniWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::PaniniWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::PaniniPortraitWarper; A1 = {float, float, float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:218:129: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::PaniniPortraitWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::PaniniPortraitWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::MercatorWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:224:117: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::MercatorWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::MercatorWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp: In instantiation of ‘cv::Ptr<_Tp> cv::makePtr(const A1& ...) [with _Tp = cv::detail::TransverseMercatorWarper; A1 = {float}]’:
/usr/local/include/opencv4/opencv2/stitching/warpers.hpp:230:127: required from here
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:143:10: error: return type ‘struct cv::Ptrcv::detail::TransverseMercatorWarper’ is incomplete
Ptr<_Tp> makePtr(const A1&... a1)
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:20: error: ‘value’ is not a member of ‘cv::has_custom_delete<cv::detail::TransverseMercatorWarper, void>’
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
/usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp:145:18: error: ‘static_assert’ was not declared in this scope
static_assert( !has_custom_delete<_Tp>::value, "Can't use this makePtr with custom DefaultDeleter");
^
In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/vector:69:0,
from /usr/local/include/opencv4/opencv2/core/types.hpp:53,
from /usr/local/include/opencv4/opencv2/core.hpp:58,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, const _Tp&) [with Tp = cv::Rect; Alloc = std::allocator<cv::Rect >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::normal_iterator<cv::Rect*, std::vector<cv::Rect > >; typename std::_Vector_base<_Tp, Alloc>::pointer = cv::Rect]’:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_vector.h:925:17: required from ‘void std::vector<_Tp, Alloc>::push_back(const value_type&) [with Tp = cv::Rect; Alloc = std::allocator<cv::Rect >; std::vector<Tp, Alloc>::value_type = cv::Rect]’
/usr/local/include/opencv4/opencv2/objdetect/detection_based_tracker.hpp:193:45: required from here
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/vector.tcc:343:16: error: ambiguous overload for ‘operator=’ (operand types are ‘cv::Rect’ and ‘cv::Rect’)
__position = _x_copy;
^
In file included from /usr/local/include/opencv4/opencv2/core.hpp:58:0,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/usr/local/include/opencv4/opencv2/core/types.hpp:1852:13: note: candidate: cv::Rect<Tp>& cv::Rect<Tp>::operator=(const cv::Rect<_Tp>&) [with Tp = int]
Rect<Tp>& Rect<Tp>::operator = ( const Rect<Tp>& r )
^
/usr/local/include/opencv4/opencv2/core/types.hpp:1862:13: note: candidate: cv::Rect<Tp>& cv::Rect<Tp>::operator=(cv::Rect<_Tp>) [with Tp = int]
Rect<Tp>& Rect<Tp>::operator = ( Rect<_Tp>&& r ) CV_NOEXCEPT
^
/usr/local/include/opencv4/opencv2/core/types.hpp: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const cv::KeyPoint; _OI = cv::KeyPoint]’:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:400:44: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const cv::KeyPoint*; _OI = cv::KeyPoint*]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:436:45: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const cv::KeyPoint*, std::vectorcv::KeyPoint >; _OI = __gnu_cxx::__normal_iterator<cv::KeyPoint*, std::vectorcv::KeyPoint >]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:469:8: required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const cv::KeyPoint*, std::vectorcv::KeyPoint >; _OI = __gnu_cxx::__normal_iterator<cv::KeyPoint*, std::vectorcv::KeyPoint >]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/vector.tcc:206:31: required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, Alloc>::operator=(const std::vector<Tp, Alloc>&) [with Tp = cv::KeyPoint; Alloc = std::allocatorcv::KeyPoint]’
/usr/local/include/opencv4/opencv2/core/persistence.hpp:1184:13: required from here
/usr/local/include/opencv4/opencv2/core/types.hpp:711:27: error: ambiguous overload for ‘operator=’ (operand types are ‘cv::Point2f {aka cv::Point}’ and ‘const Point2f {aka const cv::Point}’)
class CV_EXPORTS_W_SIMPLE KeyPoint
^
In file included from /usr/local/include/opencv4/opencv2/core.hpp:58:0,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/usr/local/include/opencv4/opencv2/core/types.hpp:170:13: note: candidate: cv::Point<Tp>& cv::Point<Tp>::operator=(const cv::Point<Tp>&) [with Tp = float]
Point& operator = (const Point& pt);
^
/usr/local/include/opencv4/opencv2/core/types.hpp:171:13: note: candidate: cv::Point<Tp>& cv::Point<Tp>::operator=(cv::Point<Tp>) [with Tp = float; cv::Point<Tp> = cv::Point]
Point& operator = (Point&& pt) CV_NOEXCEPT;
^
In file included from /opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/memory:62:0,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:1:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:340:18: note: synthesized method ‘cv::KeyPoint& cv::KeyPoint::operator=(const cv::KeyPoint&)’ first required here
__result = __first;
^
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h: In instantiation of ‘static _BI2 std::__copy_move_backward<false, false, std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with BI1 = cv::Rect; BI2 = cv::Rect]’:
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:600:58: required from ‘_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false; BI1 = cv::Rect; BI2 = cv::Rect]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:610:5: required from ‘_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false; BI1 = cv::Rect; BI2 = cv::Rect]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:645:8: required from ‘_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with BI1 = cv::Rect; BI2 = cv::Rect]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/vector.tcc:339:4: required from ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, const _Tp&) [with Tp = cv::Rect; Alloc = std::allocator<cv::Rect >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::normal_iterator<cv::Rect*, std::vector<cv::Rect > >; typename std::_Vector_base<_Tp, Alloc>::pointer = cv::Rect*]’
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_vector.h:925:17: required from ‘void std::vector<_Tp, Alloc>::push_back(const value_type&) [with Tp = cv::Rect; Alloc = std::allocator<cv::Rect >; std::vector<Tp, Alloc>::value_type = cv::Rect]’
/usr/local/include/opencv4/opencv2/objdetect/detection_based_tracker.hpp:193:45: required from here
/opt/rh/devtoolset-4/root/usr/include/c++/5.3.1/bits/stl_algobase.h:547:18: error: ambiguous overload for ‘operator=’ (operand types are ‘cv::Rect’ and ‘cv::Rect’)
*--__result = *--_last;
^
In file included from /usr/local/include/opencv4/opencv2/core.hpp:58:0,
from /usr/local/include/opencv4/opencv2/opencv.hpp:52,
from /home/data/csp/face_recognition/sf6git/index-master/test/main.cpp:3:
/usr/local/include/opencv4/opencv2/core/types.hpp:1852:13: note: candidate: cv::Rect<Tp>& cv::Rect<Tp>::operator=(const cv::Rect<_Tp>&) [with Tp = int]
Rect<Tp>& Rect<Tp>::operator = ( const Rect<Tp>& r )
^
/usr/local/include/opencv4/opencv2/core/types.hpp:1862:13: note: candidate: cv::Rect<Tp>& cv::Rect<Tp>::operator=(cv::Rect<_Tp>) [with Tp = int]
Rect<Tp>& Rect<Tp>::operator = ( Rect<_Tp>&& r ) CV_NOEXCEPT
^
make[2]: *** [CMakeFiles/testit.dir/main.o] 错误 1
make[1]: *** [CMakeFiles/testit.dir/all] 错误 2
make: *** [all] 错误 2