Skip to content

python binding for viz #2882

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 2, 2021
Merged

python binding for viz #2882

merged 9 commits into from
Apr 2, 2021

Conversation

LaurentBerger
Copy link
Contributor

@LaurentBerger LaurentBerger commented Feb 26, 2021

relative to opencv/opencv#19490

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

tutorial widget pose

reset

test_tutorial 2 & 3

sample py

9 test sur 22

test PyWCloudNormal

16 sur 22

end?

python test
@LaurentBerger
Copy link
Contributor Author

LaurentBerger commented Feb 26, 2021

@alalek I don't know how to slove that

test_viz_show_camera_positions (test_simple.viz_test) ... ERROR: In /build/vtk6-McbzXj/vtk6-6.2.0+dfsg1/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx, line 1466
vtkXOpenGLRenderWindow (0x2c36230): bad X server connection. DISPLAY=/build/precommit-contrib_linux64/.container/job_27677: line 17: 29591 Aborted                 (core dumped) /app/bin/buildenv python3 ../opencv/modules/python/test/test.py --repo ../opencv --data /opt/build/python_test_data -v

https://pullrequest.opencv.org/buildbot/builders/precommit-contrib_linux64/builds/14900/steps/test_python3/logs/stdio

@alalek
Copy link
Member

alalek commented Feb 26, 2021

This is weird behavior from VTK. There is call of abort() if there is no display in environment.
As C++ library VTK should use C++ exceptions instead of abort().

I can try to enable virtual display (xfvb) for tests, but it is bad practice to crash tests in non-supported environment. Perhaps we should check for DISPLAY environment variable on non-Windows (Linux) and skip such tests.
Or even in C++ code: check and throw exception (to survive from abort() call from VTK).

@LaurentBerger
Copy link
Contributor Author

Is it possible to have a review?

Copy link
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contribution!

@@ -115,27 +114,87 @@ namespace cv
static Color not_set();
};

struct CV_EXPORTS_W_SIMPLE PyColor
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not have Python-specific classes in public C++ header.

Please move this to viz/misc/python/python_bridge.hpp (see gapi module for example)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need PyColor viz3d.hpp

If I move PyColor defintion in python_bridge.hpp then it will generate error

Viz3d(const Viz3d&);
Viz3d& operator=(const Viz3d&);
~Viz3d();
CV_WRAP ~Viz3d();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to wrap destructors?

/**
PyAffine3 is an overloaded structure, provided for convenience.
*/
struct CV_EXPORTS_W_SIMPLE PyAffine3 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PyAffine3

need to move out from public C++ headers


and similar classes below

cv::viz::Viz3d::Viz3d(const String& window_name) : impl_(0) { create(window_name); }
cv::Ptr<cv::viz::Viz3d> cv::viz::Viz3d::Viz3d::create(const String& window_name)
{
cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING);

should no be called from OpenCV code. Remove that.

axis_x[1], axis_y[1], axis_z[1],
axis_x[2], axis_y[2], axis_z[2]);
axis_x[1], axis_y[1], axis_z[1],
axis_x[2], axis_y[2], axis_z[2]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid unnecessary changes.

Comment on lines 3 to 8
os.add_dll_directory(r'G:\Lib\install\opencv\x64\vc15\bin')
os.add_dll_directory(r'G:\Lib\install\vtk\bin')
os.add_dll_directory(r'G:\Lib\install\ceres-solver\bin')
os.add_dll_directory(r'G:\Lib\install\glog\bin')
os.add_dll_directory(r'F:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin')
os.add_dll_directory(r'F:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is for Python 3.8+ on Windows only.
There is no good solution for that from Python team.

There is some attempt to handle OpenCV paths through <build_dir>/python_loader.

Anyway such hacks should be removed from the source code.

return pose

def load_bunny():
with open(r'G:\Lib\opencv_contrib\modules\viz\samples\data\bunny.ply', 'r') as f:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no absolute paths

@@ -0,0 +1,436 @@
#exec(open(r'G:\Lib\opencv_contrib\modules\viz\samples\viz_sample_03.py').read())
import cv2 as cv
import numpy as np
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numpy should go first

public:
PyWCloudNormals()
{
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no tabs please

myWindow.setViewerPosePy(camera_pose)

class viz_test(NewOpenCVTests):

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets skip VIZ tests by default (because they are UI tests):

    def setUp(self):
        super(viz_test, self).setUp()
        if not bool(os.environ.get('OPENCV_PYTEST_RUN_VIZ', False)):
            self.skipTest("Use OPENCV_PYTEST_RUN_VIZ=1 to enable VIZ UI tests")

Copy link
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

I will take a look on moving of "PyColor" and other classes problem a bit later.

BTW, Did you try to run it with enabled "Debug" mode (Debug assertions)? I see some failures:

$ OPENCV_PYTHON_DEBUG=1 OPENCV_PYTEST_RUN_VIZ=1 OPENCV_PYTEST_FILTER=test_simple* ./setup_vars.sh python3 <opencv>/modules/python/test/test.py -v --repo <opencv>

...

======================================================================
ERROR: test_viz_show_camera_positions (test_simple.viz_test)
----------------------------------------------------------------------
cv2.error: OpenCV(4.5.2-pre) /home/alalek/projects/opencv/dev/modules/core/include/opencv2/core/mat.inl.hpp:872: error: (-215:Assertion failed) (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) in function 'at'


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 408, in test_viz_show_camera_positions
    viz.showWidget("pos2", cv.viz_PyWCameraPosition((0.78, 0.78), lena, 2.2, cv.viz_PyColor().green()), poses[0])
SystemError: <class 'cv2.viz_PyWCameraPosition'> returned a result with an error set

======================================================================
ERROR: test_viz_show_simple_widgets (test_simple.viz_test)
----------------------------------------------------------------------
cv2.error: OpenCV(4.5.2-pre) /home/alalek/projects/opencv/dev/modules/core/include/opencv2/core/mat.inl.hpp:872: error: (-215:Assertion failed) (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) in function 'at'


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 83, in test_viz_show_simple_widgets
    viz.showWidget("grid1", cv.viz_PyWGrid((7,7), (0.75,0.75), cv.viz_PyColor().gray()), cv.viz_PyAffine3().translate((0.0, 0.0, -1.0)))
SystemError: <class 'cv2.viz_PyWGrid'> returned a result with an error set

======================================================================
ERROR: test_viz_show_trajectories (test_simple.viz_test)
----------------------------------------------------------------------
cv2.error: OpenCV(4.5.2-pre) /home/alalek/projects/opencv/dev/modules/core/include/opencv2/core/mat.inl.hpp:872: error: (-215:Assertion failed) (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) in function 'at'


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 382, in test_viz_show_trajectories
    viz.showWidget("sub5", cv.viz_PyWTrajectoryFrustums(sub5, (0.78, 0.78), 0.15, cv.viz_PyColor().magenta())) #BUG
SystemError: <class 'cv2.viz_PyWTrajectoryFrustums'> returned a result with an error set

======================================================================
ERROR: test_viz_tutorial3_camera_view (test_simple.viz_test)
----------------------------------------------------------------------
cv2.error: OpenCV(4.5.2-pre) /home/alalek/projects/opencv/dev/modules/core/include/opencv2/core/mat.inl.hpp:872: error: (-215:Assertion failed) (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) in function 'at'


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 52, in test_viz_tutorial3_camera_view
    tutorial3(True, self.find_file("viz/dragon.ply"))
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 35, in tutorial3
    myWindow.showWidget("CPW_FRUSTUM", cv.viz_PyWCameraPosition((0.889484, 0.523599)), camera_pose)
SystemError: <class 'cv2.viz_PyWCameraPosition'> returned a result with an error set

======================================================================
ERROR: test_viz_tutorial3_global_view (test_simple.viz_test)
----------------------------------------------------------------------
cv2.error: OpenCV(4.5.2-pre) /home/alalek/projects/opencv/dev/modules/core/include/opencv2/core/mat.inl.hpp:872: error: (-215:Assertion failed) (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) in function 'at'


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 49, in test_viz_tutorial3_global_view
    tutorial3(False, self.find_file("viz/dragon.ply"))
  File "/home/alalek/projects/opencv/contrib/modules/viz/misc/python/test/test_simple.py", line 35, in tutorial3
    myWindow.showWidget("CPW_FRUSTUM", cv.viz_PyWCameraPosition((0.889484, 0.523599)), camera_pose)
SystemError: <class 'cv2.viz_PyWCameraPosition'> returned a result with an error set

----------------------------------------------------------------------
Ran 22 tests in 30.685s

FAILED (errors=5)

@@ -0,0 +1,440 @@
import os
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modules/viz/misc/python/test/test_simple.py

Please rename to test_viz_simple.py (similar to python tests of other modules).

self.skipTest("Use OPENCV_PYTEST_RUN_VIZ=1 to enable VIZ UI tests")

def test_viz_tutorial3_global_view(self):
tutorial3(False, self.find_file("viz\dragon.ply"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

viz\dragon.ply

Use forward slash (/) instead in this file.

@LaurentBerger
Copy link
Contributor Author

LaurentBerger commented Mar 17, 2021

Hi,
About this comment
full output for my configuration
python config.txt
and full test output
python_test.txt


}
else if (k.rows == 2 && k.cols == 1)
widget = cv::makePtr<cv::viz::WCameraPosition>(Vec2d(k.at<double>(0, 0), k.at<double>(0, 1)), image, scale, color.c);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are several exceptions from Python tests here (in debug builds).

It is better to replace:

  • check: else if (k.total() == 2)
  • use .at() with single arg: k.at<double>(0), k.at<double>(1)

Causes by "undefined" 1D layout represented as 2D Mat (it may be row-based or column-based).


Please replace similar cases of .at() usage of 1D arrays below (use single argument form).

CV_Error(-5, "unknown size");
}
else
CV_Error(-5, "unknown type");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-5

Avoid using of magic numbers. Use enum values instead.

@alalek
Copy link
Member

alalek commented Mar 30, 2021

@LaurentBerger Please create branch in your "opencv" fork with commit from here: https://github.com/alalek/opencv/commits/python_fix_wrap_as
And then grab changes from here: https://github.com/alalek/opencv_contrib/commits/pr2882_r

@LaurentBerger
Copy link
Contributor Author

Something is weird. I can see buildbot is ok with win64 but not on my configuration

1>------ Rebuild All started: Project: opencv_viz, Configuration: Release x64 ------
1>Building Custom Rule G:/Lib/opencv_contrib/modules/viz/CMakeLists.txt
1>opencv_viz_pch.cpp
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ]
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const'
1>Done building project "opencv_viz.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

My opencv repo is even with master and I deleted build opencv repo

@alalek
Copy link
Member

alalek commented Apr 1, 2021

with win64

Buildbot's Win64 configuration doesn't have VTK.
Only Linux has installed VTK dependency (but didn't run tests).

Do you have upgraded main "opencv" repository?

class CV_EXPORTS_W_SIMPLE Color
#ifndef OPENCV_BINDING_PARSER
: public Scalar
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @mshabunin Perhaps we need some CV_WRAP_WITHOUT_BASE marker for bindings.

@LaurentBerger
Copy link
Contributor Author

Do you have upgraded main "opencv" repository?

my opencv repo is now 2 commits behin master. Is it ok?

@alalek
Copy link
Member

alalek commented Apr 1, 2021

It should be OK.

Do you observe error?

  • from your commit 5e5a2d4
  • from new commit 8bf772c (please re-run CMake, because new files are added)
  • without PCH headers: cmake ... -DENABLE_PRECOMPILED_HEADERS=OFF
  • without VTK

@LaurentBerger
Copy link
Contributor Author

LaurentBerger commented Apr 1, 2021

without VTK viz is off no error compilation and link ok

-DENABLE_PRECOMPILED_HEADERS=OFF and VTK on error :

1>------ Rebuild All started: Project: opencv_viz, Configuration: Release x64 ------
1>Building Custom Rule G:/Lib/opencv_contrib/modules/viz/CMakeLists.txt
1>clouds.cpp
1>shapes.cpp
1>types.cpp
1>viz3d.cpp
1>vizcore.cpp
1>vizimpl.cpp
1>vtkCloudMatSink.cpp
1>vtkCloudMatSource.cpp
1>vtkImageMatSource.cpp
1>vtkOBJWriter.cpp
1>vtkTrajectorySource.cpp
1>vtkVizInteractorStyle.cpp
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSink.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\clouds.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\viz3d.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\types.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkImageMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkTrajectorySource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkCloudMatSource.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizimpl.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\shapes.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkVizInteractorStyle.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkOBJWriter.cpp)
1>vtkXYZReader.cpp
1>vtkXYZWriter.cpp
1>widget.cpp
1>opencv_viz_main.cpp
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vizcore.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZWriter.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\vtk\vtkXYZReader.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(662): error C2338: Matx should have at least 16 elements. channels >= 16 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(661): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(342): note: see reference to class template instantiation 'cv::Matx<double,4,1>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1083): note: see reference to class template instantiation 'cv::Vec<double,4>' being compiled (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(650): error C2338: Matx should have at least 14 elements. channels >= 14 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(649): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(640): error C2338: Matx should have at least 12 elements. channels >= 12 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(639): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(629): error C2338: Matx should have at least 10 elements. channels >= 10 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(628): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(619): error C2338: Matx should have at least 9 elements. channels >= 9 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(618): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(610): error C2338: Matx should have at least 8 elements. channels >= 8 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(609): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(601): error C2338: Matx should have at least 7 elements. channels >= 7 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(600): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(592): error C2338: Matx should have at least 6 elements. channels >= 6 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(591): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(584): error C2338: Matx should have at least 5 elements. channels >= 5 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(583): note: while compiling class template member function 'cv::Matx<double,4,1>::Matx(_Tp,_Tp,_Tp,_Tp,_Tp)'
1>        with
1>        [
1>            _Tp=double
1>        ] (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1091): error C2338: for arbitrary-size vector there is no cross-product defined cn == 3 (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>G:\Lib\opencv\modules\core\include\opencv2/core/matx.hpp(1090): note: while compiling class template member function 'cv::Vec<double,4> cv::Vec<double,4>::cross(const cv::Vec<double,4> &) const' (compiling source file G:\Lib\opencv_contrib\modules\viz\src\widget.cpp)
1>Done building project "opencv_viz.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

@alalek
Copy link
Member

alalek commented Apr 1, 2021

@LaurentBerger I'm able to reproduce this build problem. Investigating...


Problem comes from opencv_core. Bug is triggered by this change:

-class Color : public Scalar
+class CV_EXPORTS Color : public Scalar

- fix 'int resolution = 6.0' bug
- fix other MSVC build warnings
Copy link
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done! Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants