Ask Your Question

Deng's profile - activity

2020-05-25 20:04:18 -0600 commented answer How to convert cv::Mat to Gdk::Pixbuf?

types_c.h can be found in newest OpenCV version 4.3, CvMat is not removed. Check out the source code!

2020-05-24 19:47:59 -0600 answered a question How to convert cv::Mat to Gdk::Pixbuf?

1. convert cv::Mat to CvMat cv::Mat img = ...; CvMat des_img(img); 2. convert CvMat to Gdk::Pixbuf auto img_buf = G

2020-05-06 20:50:28 -0600 commented question How to convert cv::Mat to Gdk::Pixbuf?

@Eduardo Same question asked on the stack overflow with no answer: link text The key issue is how to determine rowstr

2020-04-20 03:18:21 -0600 edited question How to convert cv::Mat to Gdk::Pixbuf?

How to convert cv::Mat to Gdk::Pixbuf? Hello, everyone Recently, I am trying to write a GUI for my image processing app

2020-04-11 22:55:56 -0600 asked a question How to convert cv::Mat to Gdk::Pixbuf?

How to convert cv::Mat to Gdk::Pixbuf? Hello, everyone Recently, I am trying to write a GUI for my image processing app

2019-10-14 00:56:06 -0600 received badge  Enthusiast
2019-10-13 22:44:25 -0600 answered a question OpenCV4: what is the order for linking static libs on centos 6

Using OpenCV3 and pkg-config is a solution!

2019-09-01 07:12:03 -0600 commented question OpenCV4: what is the order for linking static libs on centos 6

See in https://stackoverflow.com/questions/45135/why-does-the-order-in-which-libraries-are-linked-sometimes-cause-errors

2019-09-01 07:05:09 -0600 commented question OpenCV4: what is the order for linking static libs on centos 6

See in https://stackoverflow.com/questions/45135/why-does-the-order-in-which-libraries-are-linked-sometimes-cause-errors

2019-09-01 05:42:01 -0600 edited question OpenCV4: what is the order for linking static libs on centos 6

OpenCV4: what is the order for linking static libs on centos 6 1.Building opencv4: cmake .. -DCMAKE_INSTALL_PREFIX=/hom

2019-09-01 04:26:39 -0600 edited question OpenCV4: what is the order for linking static libs on centos 6

OpenCV4: what is the order for linking static libs on centos 6 1.Building opencv4: cmake .. -DCMAKE_INSTALL_PREFIX=/hom

2019-09-01 04:25:13 -0600 asked a question OpenCV4: what is the order for linking static libs on centos 6

OpenCV4: what is the order for linking static libs on centos 6 1.Building opencv4: cmake .. -DCMAKE_INSTALL_PREFIX=/hom

2018-08-13 11:23:21 -0600 edited question opencv-3.4.1 build error: source code error(not sure)?

opencv-3.4.1 build error: source code error(not sure)? / public/home/lijingsk/deng/opencv-3.4.1/modules/imgcodecs/src/g

2018-08-13 11:21:47 -0600 asked a question opencv-3.4.1 build error: source code error(not sure)?

opencv-3.4.1 build error: source code error(not sure)? /public/home/lijingsk/deng/opencv-3.4.1/modules/imgcodecs/src/grf

2018-08-13 11:21:41 -0600 asked a question opencv-3.4.1 build error: source code error(not sure)?

opencv-3.4.1 build error: source code error(not sure)? /public/home/lijingsk/deng/opencv-3.4.1/modules/imgcodecs/src/grf

2018-08-13 10:50:28 -0600 marked best answer OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

.

 Linking CXX shared library ../../lib/libopencv_ml.so
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o
/usr/local/bin/ld: ../../lib/libopencv_core.so.3.4.1: __bss_start: invalid version 21 (max 0)
/usr/local/bin/ld: ../../lib/libopencv_core.so.3.4.1: error adding symbols: bad value
collect2: 错误:ld 返回 1
make[2]: *** [lib/libopencv_ml.so.3.4.1] 错误 1
make[1]: *** [modules/ml/CMakeFiles/opencv_ml.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o
[ 50%] [ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o
Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o
[ 50%] [ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o
Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o
[ 50%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o
[ 50%] [ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o
Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.sse4_1.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.sse4_1.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.avx.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.avx2.cpp.o
[ 51%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.avx2.cpp.o
[ 52%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.avx2.cpp.o
[ 52%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.avx2.cpp.o
Linking CXX shared library ../../lib/libopencv_flann.so
/usr/local/bin/ld: ../../lib/libopencv_core.so.3.4.1: __bss_start: invalid version 21 (max 0)
/usr/local/bin/ld: ../../lib/libopencv_core.so.3.4.1: error adding symbols: bad value
collect2: 错误:ld 返回 1
make[2]: *** [lib/libopencv_flann.so.3.4.1] 错误 1
make[1]: *** [modules/flann/CMakeFiles/opencv_flann.dir/all] 错误 2
Linking CXX shared library ../../lib/libopencv_imgproc.so
/usr/local/bin/ld: ../../lib/libopencv_core ...
(more)
2018-08-13 10:29:08 -0600 commented question OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

Finally, I know what was wrong. To support some AVX2 instructions, I installed binutils-2.31, I added LIBDIR of binutil

2018-08-13 08:13:32 -0600 commented question OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

I tried the commad: cmake -DCPU_DISPATCH="" ../ but the same error occurred when compiling: Linking CXX shared libr

2018-08-13 04:18:54 -0600 commented question OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

I found that ld (binutils-2.31's) caused this error. This error may relate to AVX

2018-08-11 05:24:35 -0600 received badge  Editor (source)
2018-08-11 05:24:35 -0600 edited question OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

OpenCV 3.4.1 build error on CentOS release 6.7 (Final): ld error . Linking CXX shared library ../../lib/libopencv_ml.s

2018-08-11 05:19:45 -0600 commented question OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

Thank you. but I used gcc-6.1.0 to compile opecv-3.4.1, not the system build-in gcc-4.4.7.

2018-08-11 04:34:08 -0600 asked a question OpenCV 3.4.1 build error(compile with gcc-6-1.0) on CentOS release 6.7 (Final): ld error

OpenCV 3.4.1 build error on CentOS release 6.7 (Final): ld error Linking CXX shared library ../../lib/libopencv_ml.so [