G
G
Golibjon Kendzhaev2020-05-02 10:44:24
OpenCV
Golibjon Kendzhaev, 2020-05-02 10:44:24

Error loading OpenCV files, how can I fix it?

Hello, help me with the error
1>Creating code...
1>C:\opencv3\build\include\opencv2\core\cvstd.hpp(599): warning C4793: cv::String::String: function compiled as native :
1> An inline function was found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(392): warning C4793: cv::Mat::Mat: function compiled as native:
1> A built-in function was found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(1872): warning C4793: cv::SparseMat::addref: function compiled as native:
1> Inline function found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(3473): warning C4793: cv::UMat::addref: function compiled as native:
1> A built-in function was found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\ptr.inl.hpp(67): warning C4793: cv::detail::PtrOwner::incRef: function compiled as native:
1> Inline function found , which is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\ptr.inl.hpp(72): warning C4793: cv::detail::PtrOwner::decRef: function compiled as native:
1> An inline function was found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\cvstd.hpp(599): warning C4793: cv::String::String: function compiled as native:
1> A built-in function was found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(392): warning C4793: cv::Mat::Mat: function compiled as native:
1> A built-in function was found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(681): warning C4793: cv::Mat::release: function compiled as native:
1> A built-in function was found that does not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(1872): warning C4793: cv::SparseMat::addref: function compiled as native:
1> Inline function found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\mat.inl.hpp(3473): warning C4793: cv::UMat::addref: function compiled as native :
1> Inline function found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\ptr.inl.hpp(67): warning C4793: cv::detail::PtrOwner:: incRef: function compiled as native:
1> Inline function found that is not supported in managed code
1>C:\opencv3\build\include\opencv2\core\ptr.inl.hpp(72): warning C4793: cv::detail ::PtrOwner::decRef: function compiled as native:
1> Inline function found that is not supported in managed code
1>jackylib.obj : MSIL module detected; for MSIL serial linking is disabled; full link
in progress 1>MainForm.obj : warning LNK4248: unresolved TypeRef token (0100001D) for "CvFileStorage"; image cannot be run
1>licPlaterec.vcxproj -> C:\Users\GCX\Desktop\WRC\CarlicenseRec1\CarlicenseRec\x64\Debug\licPlaterec.exe
C:\opencv3\build\include\opencv2\core\mat.inl.hpp (412): warning C6297: Arithmetic overflow: Shift a 32-bit value and then cast it to a 64-bit value. Results may not be as expected.
C:\opencv3\build\include\opencv2\core\mat.inl.hpp(445): warning C6297: Arithmetic overflow: shift 32-bit value and then cast to 64-bit value. Results may not be as expected.
C:\opencv3\build\include\opencv2\core\mat.inl.hpp(1886): warning C6297: Arithmetic overflow: shift 32-bit value and then cast to 64-bit value. Results may not be as expected.
C:\opencv3\build\include\opencv2\core\mat.inl.hpp(2330): warning C6011: Dereference null pointer "m". See line 2327 for the earliest location where this could have happened.
C:\opencv3\build\include\opencv2\core\mat.inl.hpp(2344): warning C6011: Dereference null pointer "m". For the earliest location where this could happen, see line 2341 of
C:\opencv3\build\include\opencv2\core\utility.hpp(341): warning C6297: Arithmetic overflow: shift 32-bit value and then cast to 64 -bit value. Results may not be as expected.
C:\opencv3\build\include\opencv2\core\matx.hpp(513): warning C6294: Incorrectly defined for loop: source conditions do not satisfy test conditions. The loop body is not executed.
C:\opencv3\build\include\opencv2\core\matx.hpp(513): warning C6201: Index '3' is out of range '0' to '2' for buffer 'this->val', possibly
C:\opencv3\build\include\opencv2\core\matx.hpp(1050): warning C6385: Read invalid data from "this->val": readable size is "8" bytes, but only "i" can be read "byte.
C:\opencv3\build\include\opencv2\core\matx.hpp(505): warning C6294: Incorrectly defined for loop: source conditions do not satisfy test conditions. The loop body is not executed.
C:\opencv3\build\include\opencv2\core\matx.hpp(505): warning C6201: Index '2' is out of range '0' to '1' for buffer 'this->val' possibly placed on the stack.
C:\opencv3\build\include\opencv2\core\matx.hpp(521): warning C6294: Incorrectly defined for loop: source conditions do not satisfy test conditions. The loop body is not executed.
C:\opencv3\build\include\opencv2\core\matx.hpp(521): warning C6201: Index '4' is out of range '0' to '3' for buffer 'this->val' possibly placed on the stack.
C:\Users\GCX\Desktop\WRC\CarlicenseRec1\CarlicenseRec\licPlaterec\MainForm.h(320): warning C6067: The _Param_(3) parameter of the "sprintf" call must be a string address. Actual type: "class System::String ^".
C:\Users\GCX\Desktop\WRC\CarlicenseRec1\CarlicenseRec\licPlaterec\MainForm.h(331): warning C6067: The _Param_(3) parameter of the "sprintf" call must be a string address. Actual type: "class System::String ^".
C:\opencv3\build\include\opencv2\core\mat.inl.hpp(920): warning C6011: Dereference null pointer "data+step.p[0]*i0".
MSBUILD : warning CA1016: Microsoft.Design : Add an AssemblyVersion attribute to 'licPlaterec.exe'.
1>Code Analysis Complete -- 0 error(s), 1 warning(s)
1>Building project "licPlaterec.vcxproj" completed.
========== Rebuild all projects: Success: 1, Errors: 0, Skipped: 0 ==========
5ead243b09fa1138972286.png
5ead263641434062358602.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question