alantrrs / OpenTLD

:eyes: C++ implementation of TLD
GNU General Public License v3.0
225 stars 99 forks source link

compile Error #18

Open yupengfei opened 10 years ago

yupengfei commented 10 years ago

I an using ubuntu13.10 with linux kernel 3.11.0-14 gcc 4.8.1 opencv 2.4.5 cmake 2.8.11.2

I add FindOpenCV.cmake set (OpenCV_DIR /home/Documents/OpenCV/OpenTLD/build) to the src folder and run cmake, everything goes well. but when I run make, it comes up with many link error undefined reference to 'cv::Mat......

So, what is wrong?

JieGuo commented 10 years ago

I am using windows7 and compiled it in visual studio 2013. I also made some changes . It just compiled and run well. I am not familiar with ubuntu, but from the error you've got,I guess you may forget to set some Paths. If you have some problem with visual studio , I hope I can help you.

------------------ 原始邮件 ------------------ 发件人: "于鹏飞";notifications@github.com; 发送时间: 2013年12月5日(星期四) 中午11:26 收件人: "alantrrs/OpenTLD"OpenTLD@noreply.github.com;

主题: [OpenTLD] compile Error (#18)

I an using ubuntu13.10 with linux kernel 2.11.0-14 gcc 4.8.1 opencv 2.4.5 cmake 2.8.11.2

I add FindOpenCV.cmake set (OpenCV_DIR /home/Documents/OpenCV/OpenTLD/build) to the src folder and run cmake, everything goes well. but when I run make, it comes up with many link error undefined reference to 'cv::Mat......

So, what is wrong?

— Reply to this email directly or view it on GitHub.

yupengfei commented 10 years ago

I set up a new QT project, and compile it using qmake, it is OK then. Thank you JieGuo.