Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have also fiddled with this. I am now using this little script to build it:

set -x
clang++ -c -v *.cpp -Os -DWITH_TBB=ON -I /usr/local/include -I /usr/local/include/opencv -I /usr/local/include/opencv2

clang++ -v *.o -L /usr/local/lib -lopencv_highgui -lopencv_objdetect -lopencv_imgproc -lopencv_video -lopencv_features2d -lopencv_flann -lopencv_legacy -lopencv_ml -lopencv_core -o traincascadeLinux

goto the apps/traincascade folder and run the above. It will generate a "traincascadeLinux" executable.