Build Opencv From Source Windows, x or cocoa support this means you built opencv without GUI support.