Skip to content

compile err #1

@jiangfan2

Description

@jiangfan2

用VS2017社区版,opencv 3.2或3.4, 编译错误提示 :error C2440: 'initializing': cannot convert from 'initializer list' to 'CvScalar' static CvScalar colors[] = { {{0,0,255}}, {{0,128,255}}, {{0,255,255}}, {{0,255,0}}, {{255,128,0}}, {{255,255,0}}, {{255,0,0}}, {{255,0,255}} };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions