[Project] VxWorks-based opencv read the camera data to create engineering error

Project compilation problems encountered:

Cannot step: Signal 11: Segmentation violation
0x2033216d8 (iRtp_imx6): memPartAlloc: block too big 614400 bytes (0x20 aligned) in partition 0x2023d930

As shown below:

Solution:

step1:

Mainly related configuration opencv still a problem, first follow the software instructions document opencv part of the operation, also need to configure the project properties opencv opencv readme file in accordance with third-party software libraries given date, you can;

step2:

Call the camera's statement code:

CAP VideoCapture ( 0 ); // Statement 1

Remember not the next sentence :

CAP VideoCapture ( " / UVC / 0 " ); // statement 2

Statement 2 will be used when the underlying design and implementation, the issue disturbed technical support, and later always thought that you should use the statement 2, after verifying the correct use of the statement is 1;

Finish

Guess you like

Origin www.cnblogs.com/happyamyhope/p/11225344.html