Example name on raspberry and windows

asked 2016-11-02 07:42:34 -0600

LBerger gravatar image

updated 2016-11-03 16:13:26 -0600

Hi, I have just finished compilation opencv on raspberry and it seems that example names have changed for opencv_contrib Windows it is : module_example_name raspberry it is : example_module_name

ie on windows it is ximgproc-example-paillou_demo.exe and raspberry it is example_ximgproc_paillou_demo. What is the reason? Shouldn't be easier if name are same on all platforms?

May be problem is here :

set(the_target "example_${module_id}_${name}")

and for windows with vs

OUTPUT_NAME "${module_id}-example-${name}"

Is it right ?

edit retag flag offensive close merge delete