You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "liangxi627 (GitHub)" <gi...@apache.org> on 2018/08/27 02:30:49 UTC

[GitHub] [incubator-mxnet] liangxi627 commented on issue #12120: compile error in "image_aug_default.cc"

@nuaawzl It works, thanks! But there is another error

> tools/im2rec.cc: In function ‘int main(int, char**)’:
tools/im2rec.cc:88:20: error: ‘CV_LOAD_IMAGE_COLOR’ was not declared in this scope
   int color_mode = CV_LOAD_IMAGE_COLOR;
                    ^
tools/im2rec.cc:90:22: error: ‘CV_INTER_LINEAR’ was not declared in this scope
   int inter_method = CV_INTER_LINEAR;
                      ^
tools/im2rec.cc:195:31: error: ‘CV_IMWRITE_PNG_COMPRESSION’ was not declared in this scope
       encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
                               ^
tools/im2rec.cc:199:31: error: ‘CV_IMWRITE_JPEG_QUALITY’ was not declared in this scope
       encode_params.push_back(CV_IMWRITE_JPEG_QUALITY);


[ Full content available at: https://github.com/apache/incubator-mxnet/issues/12120 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org