First time here? Check out the FAQ!
answered 2013-02-05 12:01:28 -0600
You can use the CMake in OpenCV to compile all samples or do it manually like: g++ createsamples.cpp pkg-config opencv --cflags --libs -o createsamples on Linux or any similar way on your OS.
pkg-config opencv --cflags --libs