[GitHub] elofgren commented on issue #11890: Error During Make - undefined reference
elofgren commented on issue #11890: Error During Make - undefined reference URL: https://github.com/apache/incubator-mxnet/issues/11890#issuecomment-416097892 Nope. General consensus is it's an OpenCV problem, but I've made no headway since. 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
[GitHub] elofgren commented on issue #11890: Error During Make - undefined reference
elofgren commented on issue #11890: Error During Make - undefined reference URL: https://github.com/apache/incubator-mxnet/issues/11890#issuecomment-409042407 Same general error, with and without setting the path in the line below that highlighted section of the script. I didn't see any errors in the OpenCV installation itself. > 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 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
[GitHub] elofgren commented on issue #11890: Error During Make - undefined reference
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
[GitHub] elofgren commented on issue #11890: Error During Make - undefined reference
elofgren commented on issue #11890: Error During Make - undefined reference URL: https://github.com/apache/incubator-mxnet/issues/11890#issuecomment-408146324 Yes, via `sudo yum install opencv-devel` 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