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

mnisten make fails with error - main.cpp:(.text+0xb98): undefined reference to cv::Mat::deallocate()' #12

Open
tmuruges opened this issue Dec 14, 2016 · 3 comments

Comments

@tmuruges
Copy link

I was trying to make mnisten using the makefile 👎
g++ -Wall -O2 -L/home/dell/boost_1_55_0/stage/lib -lboost_filesystem -std=c++0x -o mnisten src/main.cpp
The detailed error is given in the file log.txt
log.txt

@vip7265
Copy link

vip7265 commented Jan 9, 2017

That error is because of linking OpenCV library unproperly.

try add this line at the end of the line,
`pkg-config --libs opencv`

@tmuruges
Copy link
Author

tmuruges commented Jan 9, 2017 via email

@vip7265
Copy link

vip7265 commented Jan 9, 2017

You should add the EXACTLY same line.
`pkg-config --libs opencv`

` <- add this word

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