elofgren commented on issue #11890: Error During Make - undefined reference
URL: 
https://github.com/apache/incubator-mxnet/issues/11890#issuecomment-409018204
 
 
   Just attempted to reinstall OpenCV following this guide: 
https://gist.github.com/dnordgren/665af430064cdbaa9a31
   
   The error that followed:
   
   > 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);
                                  ^
   make: *** [bin/im2rec] Error 1
   
   This seems like it's pretty clearly an OpenCV problem?
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to