- g++:
- g++ `pkg-config --cflags opencv` test.cpp `pkg-config --libs opencv` -o test
- Makefile:
- executable: test.o
g++ -o executable test.o `pkg-config --libs opencv`
test.o:
g++ `pkg-config --cflags opencv` -c test.cpp
Oct 11, 2013
OpenCV: a sample program
A simple program compilation on Ubuntu 12.04. There is an annoying issue where the placement of libraries has to happen before the object needing them. Correct format.
Subscribe to:
Post Comments (Atom)
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Parsing and displaying dates and times is often complicated because of formatting and locale issues. Java 2 Platform, Standard Edition (J2S...
No comments:
Post a Comment