This message was posted on behalf of Intel Corporation
I will try to help with this. I followed the guide that you posted, and I compiled the code without errors. I used another paths for the compiler and linker settings, I used the paths that are in the Intel® System Studio IoT Edition files (C:\...\iss-iot-win_03-14-16\iss-iot-win\devkit-x86\sysroots\i586-poky-linux\usr\include).
I'm going to show you what I did in the Compiler and Linker settings:
In Libraries(-l) you can add the following libraries:
opencv_core opencv_imgproc opencv_highgui opencv_ml opencv_video opencv_features2d opencv_calib3d opencv_objdetect opencv_contrib opencv_legacy opencv_flann
I only added opencv_core opencv_imgproc opencv_highgui, but you can add all of them if you want.
I hope this works for you.