Skip to content

Commit fe5b4dd

Browse files
committed
module opencv: updated to recent library version
1 parent 26bc06a commit fe5b4dd

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

uclang/mods/opencv_uclm/header_files/ucl_opencv.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ include "script_parser.h"
99
#include <opencv2/core/core.hpp>
1010
#include <opencv2/imgproc/imgproc.hpp>
1111
#include <opencv2/highgui/highgui.hpp>
12+
#include <opencv2/imgcodecs/legacy/constants_c.h>
13+
#include <opencv2/videoio/legacy/constants_c.h>
1214

1315
using namespace cv;
1416

@@ -95,9 +97,6 @@ inline void cv_writer_s::clear(interpreter_thread_s &it)
9597

9698
inline opencv_c::opencv_c()
9799
{/*{{{*/
98-
debug_message_2(fprintf(stderr,"cvInitSystem()\n"););
99-
100-
cvInitSystem(0,nullptr);
101100
}/*}}}*/
102101

103102
inline opencv_c::~opencv_c()

uclang/mods/opencv_uclm/source_files/opencv_module.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ method CvWindow
764764
try
765765
{
766766
// - create opencv window -
767-
cvNamedWindow(string_ptr->data);
767+
cv::namedWindow(string_ptr->data);
768768
}
769769

770770
// - ERROR -

0 commit comments

Comments
 (0)