`
Building librealsense, headers, tools and demos
Scanning dependencies of target realsense
[ 2%] Building CXX object CMakeFiles/realsense.dir/src/archive.cpp.o
[ 2%] Building CXX object CMakeFiles/realsense.dir/src/context.cpp.o
[ 3%] Building CXX object CMakeFiles/realsense.dir/src/device.cpp.o
In file included from /home/tamer/librealsense/src/archive.h:8:0,
from /home/tamer/librealsense/src/archive.cpp:2:
/home/tamer/librealsense/src/types.h:577:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> continuation;
^~~~
/home/tamer/librealsense/src/types.h:585:50: error: expected ‘)’ before ‘<’ token
explicit frame_continuation(std::function<void()> continuation, const void protected_data) : continuation(continuation), protected_data(protected_data) {}
^
/home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation()’:
/home/tamer/librealsense/src/types.h:583:32: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’
frame_continuation() : continuation([]() {}) {}
^~~~
/home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)’:
/home/tamer/librealsense/src/types.h:588:59: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’
frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~
/home/tamer/librealsense/src/types.h:588:88: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
nuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:590:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
other.continuation = []() {};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::operator()()’:
/home/tamer/librealsense/src/types.h:596:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
In file included from /home/tamer/librealsense/src/uvc.h:8:0,
from /home/tamer/librealsense/src/device.h:8,
from /home/tamer/librealsense/src/device.cpp:4:
/home/tamer/librealsense/src/types.h:577:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> continuation;
^~~~
/home/tamer/librealsense/src/types.h:585:50: error: expected ‘)’ before ‘<’ token
explicit frame_continuation(std::function<void()> continuation, const void protected_data) : continuation(continuation), protected_data(protected_data) {}
^
/home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation()’:
/home/tamer/librealsense/src/types.h:583:32: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’
frame_continuation() : continuation([]() {}) {}
^~~~
/home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)’:
/home/tamer/librealsense/src/types.h:588:59: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’
frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~
/home/tamer/librealsense/src/types.h:588:88: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:590:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
other.continuation = []() {};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::operator()()’:
/home/tamer/librealsense/src/types.h:596:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:596:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::reset()’:
/home/tamer/librealsense/src/types.h:604:13: error: ‘continuation’ was not declared in this scope
continuation = [](){};
^~~~
/home/tamer/librealsense/src/types.h:596:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::reset()’:
/home/tamer/librealsense/src/types.h:604:13: error: ‘continuation’ was not declared in this scope
continuation = [](){};
^~~~
/home/tamer/librealsense/src/types.h:604:13: note: suggested alternative: ‘frame_continuation’
continuation = [](){};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘rsimpl::frame_continuation& rsimpl::frame_continuation::operator=(rsimpl::frame_continuation&&)’:
/home/tamer/librealsense/src/types.h:611:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:604:13: note: suggested alternative: ‘frame_continuation’
continuation = [](){};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘rsimpl::frame_continuation& rsimpl::frame_continuation::operator=(rsimpl::frame_continuation&&)’:
/home/tamer/librealsense/src/types.h:611:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:611:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:613:34: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
continuation = other.continuation;
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:614:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
other.continuation = []() {};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In destructor ‘rsimpl::frame_continuation::~frame_continuation()’:
/home/tamer/librealsense/src/types.h:621:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:611:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:613:34: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
continuation = other.continuation;
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:614:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
other.continuation = []() {};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In destructor ‘rsimpl::frame_continuation::~frame_continuation()’:
/home/tamer/librealsense/src/types.h:621:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:621:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: At global scope:
/home/tamer/librealsense/src/types.h:630:44: error: expected ‘)’ before ‘<’ token
calibration_validator(std::function<bool(rs_stream, rs_stream)> extrinsic_validator,
^
/home/tamer/librealsense/src/types.h:638:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<bool(rs_stream from_stream, rs_stream to_stream)> extrinsic_validator;
^~~~
/home/tamer/librealsense/src/types.h:639:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<bool(rs_stream stream)> intrinsic_validator;
^~~~
/home/tamer/librealsense/src/types.h:621:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: At global scope:
/home/tamer/librealsense/src/types.h:630:44: error: expected ‘)’ before ‘<’ token
calibration_validator(std::function<bool(rs_stream, rs_stream)> extrinsic_validator,
^
/home/tamer/librealsense/src/types.h:638:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<bool(rs_stream from_stream, rs_stream to_stream)> extrinsic_validator;
^~~~
/home/tamer/librealsense/src/types.h:639:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<bool(rs_stream stream)> intrinsic_validator;
^~~~
In file included from /home/tamer/librealsense/src/uvc.h:8:0,
from /home/tamer/librealsense/src/device.h:8,
from /home/tamer/librealsense/src/ds-device.h:8,
from /home/tamer/librealsense/src/r200.h:8,
from /home/tamer/librealsense/src/context.cpp:8:
/home/tamer/librealsense/src/types.h:577:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<void()> continuation;
^~~~
/home/tamer/librealsense/src/types.h:585:50: error: expected ‘)’ before ‘<’ token
explicit frame_continuation(std::function<void()> continuation, const void protected_data) : continuation(continuation), protected_data(protected_data) {}
^
/home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation()’:
/home/tamer/librealsense/src/types.h:583:32: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’
frame_continuation() : continuation([]() {}) {}
^~~~
/home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)’:
/home/tamer/librealsense/src/types.h:588:59: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’
frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~
/home/tamer/librealsense/src/types.h:588:88: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:590:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
other.continuation = []() {};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::operator()()’:
/home/tamer/librealsense/src/types.h:596:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:596:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::reset()’:
/home/tamer/librealsense/src/types.h:604:13: error: ‘continuation’ was not declared in this scope
continuation = [](){};
^~~~
/home/tamer/librealsense/src/types.h:604:13: note: suggested alternative: ‘frame_continuation’
continuation = [](){};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In member function ‘rsimpl::frame_continuation& rsimpl::frame_continuation::operator=(rsimpl::frame_continuation&&)’:
/home/tamer/librealsense/src/types.h:611:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:611:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:613:34: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
continuation = other.continuation;
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h:614:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’?
other.continuation = []() {};
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: In destructor ‘rsimpl::frame_continuation::~frame_continuation()’:
/home/tamer/librealsense/src/types.h:621:13: error: ‘continuation’ was not declared in this scope
continuation();
^~~~
/home/tamer/librealsense/src/types.h:621:13: note: suggested alternative: ‘frame_continuation’
continuation();
^~~~
frame_continuation
/home/tamer/librealsense/src/types.h: At global scope:
/home/tamer/librealsense/src/types.h:630:44: error: expected ‘)’ before ‘<’ token
calibration_validator(std::function<bool(rs_stream, rs_stream)> extrinsic_validator,
^
/home/tamer/librealsense/src/types.h:638:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<bool(rs_stream from_stream, rs_stream to_stream)> extrinsic_validator;
^~~~
/home/tamer/librealsense/src/types.h:639:14: error: ‘function’ in namespace ‘std’ does not name a template type
std::function<bool(rs_stream stream)> intrinsic_validator;
^~~~
/home/tamer/librealsense/src/device.cpp: In lambda function:
/home/tamer/librealsense/src/device.cpp:369:71: error: no matching function for call to ‘rsimpl::frame_continuation::frame_continuation(std::function<void()>&, const void&)’
frame_continuation release_and_enqueue(continuation, frame);
^
In file included from /home/tamer/librealsense/src/uvc.h:8:0,
from /home/tamer/librealsense/src/device.h:8,
from /home/tamer/librealsense/src/device.cpp:4:
/home/tamer/librealsense/src/types.h:588:9: note: candidate: rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)
frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data)
^~~~~~
/home/tamer/librealsense/src/types.h:588:9: note: candidate expects 1 argument, 2 provided
/home/tamer/librealsense/src/types.h:583:9: note: candidate: rsimpl::frame_continuation::frame_continuation()
frame_continuation() : continuation([]() {}) {}
^~~~~~
/home/tamer/librealsense/src/types.h:583:9: note: candidate expects 0 arguments, 2 provided
CMakeFiles/realsense.dir/build.make:62: recipe for target 'CMakeFiles/realsense.dir/src/archive.cpp.o' failed
make[2]: [CMakeFiles/realsense.dir/src/archive.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
CMakeFiles/realsense.dir/build.make:75: recipe for target 'CMakeFiles/realsense.dir/src/context.cpp.o' failed
make[2]: [CMakeFiles/realsense.dir/src/context.cpp.o] Error 1
CMakeFiles/realsense.dir/build.make:88: recipe for target 'CMakeFiles/realsense.dir/src/device.cpp.o' failed
make[2]: [CMakeFiles/realsense.dir/src/device.cpp.o] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/realsense.dir/all' failed
make[1]: [CMakeFiles/realsense.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: [all] Error 2
real 0m3,044s
user 0m6,724s
sys 0m0,696s
librealsense did not build
`
Hi!
I was following https://www.jetsonhacks.com/2018/04/09/intel-realsense-d400-librealsense2-nvidia-jetson-tx-dev-kits/ and did try to build the library with
./installLibrealsense.sh
on a Jetson TX-2 and Ubuntu 18.04I get the following errors:
` Building librealsense, headers, tools and demos Scanning dependencies of target realsense [ 2%] Building CXX object CMakeFiles/realsense.dir/src/archive.cpp.o [ 2%] Building CXX object CMakeFiles/realsense.dir/src/context.cpp.o [ 3%] Building CXX object CMakeFiles/realsense.dir/src/device.cpp.o In file included from /home/tamer/librealsense/src/archive.h:8:0, from /home/tamer/librealsense/src/archive.cpp:2: /home/tamer/librealsense/src/types.h:577:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<void()> continuation; ^
~~~ /home/tamer/librealsense/src/types.h:585:50: error: expected ‘)’ before ‘<’ token explicit frame_continuation(std::function<void()> continuation, const void protected_data) : continuation(continuation), protected_data(protected_data) {} ^ /home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation()’: /home/tamer/librealsense/src/types.h:583:32: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’ frame_continuation() : continuation([]() {}) {} ^~~~ /home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)’: /home/tamer/librealsense/src/types.h:588:59: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’ frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~ /home/tamer/librealsense/src/types.h:588:88: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? nuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:590:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? other.continuation = []() {}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::operator()()’: /home/tamer/librealsense/src/types.h:596:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ In file included from /home/tamer/librealsense/src/uvc.h:8:0, from /home/tamer/librealsense/src/device.h:8, from /home/tamer/librealsense/src/device.cpp:4: /home/tamer/librealsense/src/types.h:577:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<void()> continuation; ^~~~ /home/tamer/librealsense/src/types.h:585:50: error: expected ‘)’ before ‘<’ token explicit frame_continuation(std::function<void()> continuation, const void protected_data) : continuation(continuation), protected_data(protected_data) {} ^ /home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation()’: /home/tamer/librealsense/src/types.h:583:32: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’ frame_continuation() : continuation([]() {}) {} ^~~~ /home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)’: /home/tamer/librealsense/src/types.h:588:59: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’ frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~ /home/tamer/librealsense/src/types.h:588:88: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:590:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? other.continuation = []() {}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::operator()()’: /home/tamer/librealsense/src/types.h:596:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:596:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::reset()’: /home/tamer/librealsense/src/types.h:604:13: error: ‘continuation’ was not declared in this scope continuation = [](){}; ^~~~ /home/tamer/librealsense/src/types.h:596:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::reset()’: /home/tamer/librealsense/src/types.h:604:13: error: ‘continuation’ was not declared in this scope continuation = [](){}; ^~~~ /home/tamer/librealsense/src/types.h:604:13: note: suggested alternative: ‘frame_continuation’ continuation = [](){}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘rsimpl::frame_continuation& rsimpl::frame_continuation::operator=(rsimpl::frame_continuation&&)’: /home/tamer/librealsense/src/types.h:611:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:604:13: note: suggested alternative: ‘frame_continuation’ continuation = [](){}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘rsimpl::frame_continuation& rsimpl::frame_continuation::operator=(rsimpl::frame_continuation&&)’: /home/tamer/librealsense/src/types.h:611:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:611:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:613:34: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? continuation = other.continuation; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:614:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? other.continuation = []() {}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In destructor ‘rsimpl::frame_continuation::~frame_continuation()’: /home/tamer/librealsense/src/types.h:621:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:611:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:613:34: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? continuation = other.continuation; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:614:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? other.continuation = []() {}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In destructor ‘rsimpl::frame_continuation::~frame_continuation()’: /home/tamer/librealsense/src/types.h:621:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:621:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: At global scope: /home/tamer/librealsense/src/types.h:630:44: error: expected ‘)’ before ‘<’ token calibration_validator(std::function<bool(rs_stream, rs_stream)> extrinsic_validator, ^ /home/tamer/librealsense/src/types.h:638:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<bool(rs_stream from_stream, rs_stream to_stream)> extrinsic_validator; ^~~~ /home/tamer/librealsense/src/types.h:639:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<bool(rs_stream stream)> intrinsic_validator; ^~~~ /home/tamer/librealsense/src/types.h:621:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: At global scope: /home/tamer/librealsense/src/types.h:630:44: error: expected ‘)’ before ‘<’ token calibration_validator(std::function<bool(rs_stream, rs_stream)> extrinsic_validator, ^ /home/tamer/librealsense/src/types.h:638:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<bool(rs_stream from_stream, rs_stream to_stream)> extrinsic_validator; ^~~~ /home/tamer/librealsense/src/types.h:639:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<bool(rs_stream stream)> intrinsic_validator; ^~~~ In file included from /home/tamer/librealsense/src/uvc.h:8:0, from /home/tamer/librealsense/src/device.h:8, from /home/tamer/librealsense/src/ds-device.h:8, from /home/tamer/librealsense/src/r200.h:8, from /home/tamer/librealsense/src/context.cpp:8: /home/tamer/librealsense/src/types.h:577:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<void()> continuation; ^~~~ /home/tamer/librealsense/src/types.h:585:50: error: expected ‘)’ before ‘<’ token explicit frame_continuation(std::function<void()> continuation, const void protected_data) : continuation(continuation), protected_data(protected_data) {} ^ /home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation()’: /home/tamer/librealsense/src/types.h:583:32: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’ frame_continuation() : continuation([]() {}) {} ^~~~ /home/tamer/librealsense/src/types.h: In constructor ‘rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&)’: /home/tamer/librealsense/src/types.h:588:59: error: class ‘rsimpl::frame_continuation’ does not have any field named ‘continuation’ frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~ /home/tamer/librealsense/src/types.h:588:88: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:590:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? other.continuation = []() {}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::operator()()’: /home/tamer/librealsense/src/types.h:596:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:596:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘void rsimpl::frame_continuation::reset()’: /home/tamer/librealsense/src/types.h:604:13: error: ‘continuation’ was not declared in this scope continuation = [](){}; ^~~~ /home/tamer/librealsense/src/types.h:604:13: note: suggested alternative: ‘frame_continuation’ continuation = [](){}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In member function ‘rsimpl::frame_continuation& rsimpl::frame_continuation::operator=(rsimpl::frame_continuation&&)’: /home/tamer/librealsense/src/types.h:611:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:611:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:613:34: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? continuation = other.continuation; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h:614:19: error: ‘class rsimpl::frame_continuation’ has no member named ‘continuation’; did you mean ‘frame_continuation’? other.continuation = []() {}; ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: In destructor ‘rsimpl::frame_continuation::~frame_continuation()’: /home/tamer/librealsense/src/types.h:621:13: error: ‘continuation’ was not declared in this scope continuation(); ^~~~ /home/tamer/librealsense/src/types.h:621:13: note: suggested alternative: ‘frame_continuation’ continuation(); ^~~~ frame_continuation /home/tamer/librealsense/src/types.h: At global scope: /home/tamer/librealsense/src/types.h:630:44: error: expected ‘)’ before ‘<’ token calibration_validator(std::function<bool(rs_stream, rs_stream)> extrinsic_validator, ^ /home/tamer/librealsense/src/types.h:638:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<bool(rs_stream from_stream, rs_stream to_stream)> extrinsic_validator; ^~~~ /home/tamer/librealsense/src/types.h:639:14: error: ‘function’ in namespace ‘std’ does not name a template type std::function<bool(rs_stream stream)> intrinsic_validator; ^~~~ /home/tamer/librealsense/src/device.cpp: In lambda function: /home/tamer/librealsense/src/device.cpp:369:71: error: no matching function for call to ‘rsimpl::frame_continuation::frame_continuation(std::function<void()>&, const void&)’ frame_continuation release_and_enqueue(continuation, frame); ^ In file included from /home/tamer/librealsense/src/uvc.h:8:0, from /home/tamer/librealsense/src/device.h:8, from /home/tamer/librealsense/src/device.cpp:4: /home/tamer/librealsense/src/types.h:588:9: note: candidate: rsimpl::frame_continuation::frame_continuation(rsimpl::frame_continuation&&) frame_continuation(frame_continuation && other) : continuation(std::move(other.continuation)), protected_data(other.protected_data) ^~~~~~ /home/tamer/librealsense/src/types.h:588:9: note: candidate expects 1 argument, 2 provided /home/tamer/librealsense/src/types.h:583:9: note: candidate: rsimpl::frame_continuation::frame_continuation() frame_continuation() : continuation([]() {}) {} ^~~~~~ /home/tamer/librealsense/src/types.h:583:9: note: candidate expects 0 arguments, 2 provided CMakeFiles/realsense.dir/build.make:62: recipe for target 'CMakeFiles/realsense.dir/src/archive.cpp.o' failed make[2]: [CMakeFiles/realsense.dir/src/archive.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... CMakeFiles/realsense.dir/build.make:75: recipe for target 'CMakeFiles/realsense.dir/src/context.cpp.o' failed make[2]: [CMakeFiles/realsense.dir/src/context.cpp.o] Error 1 CMakeFiles/realsense.dir/build.make:88: recipe for target 'CMakeFiles/realsense.dir/src/device.cpp.o' failed make[2]: [CMakeFiles/realsense.dir/src/device.cpp.o] Error 1 CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/realsense.dir/all' failed make[1]: [CMakeFiles/realsense.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: [all] Error 2real 0m3,044s user 0m6,724s sys 0m0,696s librealsense did not build `
Any idea on how to solve this?