Ask Your Question
0

Undefined refrence to cv::fastFree(void*) , cv::Mat::deallocate() , cv::Mat::create()

asked 2015-08-05 01:38:47 -0600

Hi I am using opencv-3.0.0 in ubuntu and with axis-mips compiler(a specific compiler for axis ip camera). this compiler uses makefile and I try to link opencv library properly. when I define a Mat variable it's ok, but for second Mat this error occured. what is problem? is it linking issue? thanks.

edit retag flag offensive close merge delete

Comments

2

you're not linking to required opencv libs like -lopencv_core -lopencv_imgproc -lopencv_highgui

berak gravatar imageberak ( 2015-08-05 01:43:32 -0600 )edit

i added -lopencv. it should be like "-lopencv_something"?

Cyrusbm gravatar imageCyrusbm ( 2015-08-14 23:00:12 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-02-27 11:15:25 -0600

tamtor gravatar image

May it's to late : ) but for me the answer was: type

include "opencv2/core/private.hpp"

in mat.inl.hpp file

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-05 01:38:47 -0600

Seen: 1,050 times

Last updated: Aug 05 '15