Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # MacOS X 10.7.x
- # You need opencv is installed (macports)
- g++ -ggdb `pkg-config --cflags opencv` `pkg-config --libs opencv` header.cpp header2.cpp program.cpp -o program
- # Ubuntu 13.04 / Mint 15
- # opencv from source because package version doesn't have nonfree modules separated (SURF/SIFT)
- # and you can have problems (install pkg-config too)
- g++ -o program program.cpp `pkg-config opencv --cflags --libs`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement