beew commented on issue #18985:
URL: 
https://github.com/apache/incubator-mxnet/issues/18985#issuecomment-683370711


   So I fixed the above by 
   export CPATH=usr/include/opencv4
   But then 
   ```
   im2rec.cc:172:29: error: ‘CV_IMWRITE_PNG_COMPRESSION’ was not declared in 
this scope
     172 |     encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
         |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   im2rec.cc:176:29: error: ‘CV_IMWRITE_JPEG_QUALITY’ was not declared in this 
scope
     176 |     encode_params.push_back(CV_IMWRITE_JPEG_QUALITY);
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to