Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile Error #18

Open
yupengfei opened this issue Dec 5, 2013 · 2 comments
Open

compile Error #18

yupengfei opened this issue Dec 5, 2013 · 2 comments

Comments

@yupengfei
Copy link

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
Copy link

JieGuo commented Dec 6, 2013

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.

------------------ 原始邮件 ------------------
发件人: "于鹏飞";[email protected];
发送时间: 2013年12月5日(星期四) 中午11:26
收件人: "alantrrs/OpenTLD"[email protected];

主题: [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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants