Skip to content

Instantly share code, notes, and snippets.

@vedantk
Created May 30, 2011 14:57
Show Gist options
  • Save vedantk/999015 to your computer and use it in GitHub Desktop.
Save vedantk/999015 to your computer and use it in GitHub Desktop.
linux opencv library patch for mldemo
diff --git a/MLDemos_variables.pri b/MLDemos_variables.pri
index 578c92d..d81089b 100644
--- a/MLDemos_variables.pri
+++ b/MLDemos_variables.pri
@@ -64,11 +64,8 @@ INCLUDEPATH += . \
/usr/include/opencv/ \
/usr/local/include/opencv/
LIBS += -L/usr/local/lib
-LIBS += -lcv \
- -lcxcore \
- -lcvaux \
- -lhighgui \
- -lml
+LIBS += -lopencv_highgui -lopencv_core -lopencv_imgproc -lopencv_ml \
+ -lopencv_video -lopencv_features2d \
}
INCLUDEPATH += $$MLDEMOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment