When I compile my code on
1 | initial version |
When I compile my code on
2 | No.2 Revision |
When I compile my code compiling on a linux desktop things works fine. When compiling on a beaglebone with an arm processor the following compilation errors appear.
/usr/include/opencv2/core/core.hpp:443:23: error: statement-expressions are not allowed outside functions nor in template-argument lists
/usr/include/opencv2/core/core.hpp:443:35: error: template argument 2 is invalid
and
/usr/include/opencv2/core/operations.hpp: In static member function 'static cv::Matx<_Tp, m, n> cv::Matx<_Tp, m, n>::diag(const diag_type&)':
/usr/include/opencv2/core/operations.hpp:367:24: error: 'd' cannot be used as a function
/usr/include/opencv2/core/operations.hpp: In member function 'cv::Matx<_Tp, m, n>::diag_type cv::Matx<_Tp, m, n>::diag() const':
/usr/include/opencv2/core/operations.hpp:443:11: error: request for member 'val' in 'd', which is of non-class type 'cv::Matx<_Tp, m, n>::diag_type {aka int}'
There is no object named d
with a member val
, no object named d
at all.
Any help or pointers is very appreciated!
3 | No.3 Revision |
When compiling on a linux desktop things works fine. When compiling on a beaglebone with an arm processor the following compilation errors appear.
/usr/include/opencv2/core/core.hpp:443:23: error: statement-expressions are not allowed outside functions nor in template-argument lists
/usr/include/opencv2/core/core.hpp:443:35: error: template argument 2 is invalid
and
/usr/include/opencv2/core/operations.hpp: In static member function 'static cv::Matx<_Tp, m, n> cv::Matx<_Tp, m, n>::diag(const diag_type&)':
/usr/include/opencv2/core/operations.hpp:367:24: error: 'd' cannot be used as a function
/usr/include/opencv2/core/operations.hpp: In member function 'cv::Matx<_Tp, m, n>::diag_type cv::Matx<_Tp, m, n>::diag() const':
/usr/include/opencv2/core/operations.hpp:443:11: error: request for member 'val' in 'd', which is of non-class type 'cv::Matx<_Tp, m, n>::diag_type {aka int}'
There is no object named d
with a member val
, no object named d
at all.
Any help or pointers is very appreciated!
4 | No.4 Revision |
When compiling on a linux desktop things works fine. When compiling on a beaglebone with an arm processor the following compilation errors appear.
/usr/include/opencv2/core/core.hpp:443:23: error: statement-expressions are not allowed outside functions nor in template-argument lists
/usr/include/opencv2/core/core.hpp:443:35: error: template argument 2 is invalid
and
/usr/include/opencv2/core/operations.hpp: In static member function 'static cv::Matx<_Tp, m, n> cv::Matx<_Tp, m, n>::diag(const diag_type&)':
/usr/include/opencv2/core/operations.hpp:367:24: error: 'd' cannot be used as a function
/usr/include/opencv2/core/operations.hpp: In member function 'cv::Matx<_Tp, m, n>::diag_type cv::Matx<_Tp, m, n>::diag() const':
/usr/include/opencv2/core/operations.hpp:443:11: error: request for member 'val' in 'd', which is of non-class type 'cv::Matx<_Tp, m, n>::diag_type {aka int}'
There is no object named d
with a member val
, no object named d
at all.
Any help or pointers is very appreciated!
(If you would like to try to build the project, just message me and I will give you permissions to do a checkout)
5 | No.5 Revision |
When compiling on a linux ubuntu 12.04 desktop with gcc 4.6 things works fine. When compiling on a beaglebone with an arm processor and arm-angstrom-linux-gnueabi-g++, the following compilation errors appear.
/usr/include/opencv2/core/core.hpp:443:23: error: statement-expressions are not allowed outside functions nor in template-argument lists
/usr/include/opencv2/core/core.hpp:443:35: error: template argument 2 is invalid
and
/usr/include/opencv2/core/operations.hpp: In static member function 'static cv::Matx<_Tp, m, n> cv::Matx<_Tp, m, n>::diag(const diag_type&)':
/usr/include/opencv2/core/operations.hpp:367:24: error: 'd' cannot be used as a function
/usr/include/opencv2/core/operations.hpp: In member function 'cv::Matx<_Tp, m, n>::diag_type cv::Matx<_Tp, m, n>::diag() const':
/usr/include/opencv2/core/operations.hpp:443:11: error: request for member 'val' in 'd', which is of non-class type 'cv::Matx<_Tp, m, n>::diag_type {aka int}'
There is no object named d
with a member val
, no object named d
at all.
Any help or pointers is very appreciated!
(If you would like to try to build the project, just message me and I will give you permissions to do a checkout)