You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/28 17:57:47 UTC

[GitHub] HaichaoZhu opened a new issue #14283: undefined reference to `cv::_InputArray

HaichaoZhu opened a new issue #14283: undefined reference to `cv::_InputArray
URL: https://github.com/apache/incubator-mxnet/issues/14283
 
 
   I am trying to compile MXnet with `makefile`. But the errors `undefined reference to cv::_InputArray::_InputArray(cv::Mat const&)` & `undefined reference to cv::imdecode(cv::_InputArray const&, int)` occurred, the issues look like:
   
   `-L/scratch/ultraimage/hz160/anaconda3/envs/py27/lib -llapack 
   build/src/io/iter_image_recordio.o: In function mxnet::io::ImageRecordIOParser<float>::ParseNext(std::vector<mxnet::io::InstVector<float>, std::allocator<mxnet::io::InstVector<float> > >*) [clone ._omp_fn.2]':`
   `iter_image_recordio.cc:(.text._ZN5mxnet2io19ImageRecordIOParserIfE9ParseNextEPSt6vectorINS0_10InstVectorIfEESaIS5_EE._omp_fn.2[_ZN5mxnet2io19ImageRecordIOParserIfE9ParseNextEPSt6vectorINS0_10InstVectorIfEESaIS5_EE]+0xe26): undefined reference to cv::_InputArray::_InputArray(cv::Mat const&)`
   `iter_image_recordio.cc:(.text._ZN5mxnet2io19ImageRecordIOParserIfE9ParseNextEPSt6vectorINS0_10InstVectorIfEESaIS5_EE._omp_fn.2[_ZN5mxnet2io19ImageRecordIOParserIfE9ParseNextEPSt6vectorINS0_10InstVectorIfEESaIS5_EE]+0xe36): undefined reference to cv::imdecode(cv::_InputArray const&, int)'`
   
   ## Environment info 
   
   ----------Python Info----------
   ('Version      :', '2.7.5')
   ('Compiler     :', 'GCC 4.8.5 20150623 (Red Hat 4.8.5-28)')
   ('Build        :', ('default', 'Jul 13 2018 13:06:57'))
   ('Arch         :', ('64bit', 'ELF'))
   ------------Pip Info-----------
   ('Version      :', '8.1.2')
   ('Directory    :', '/usr/lib/python2.7/site-packages/pip')
   ----------MXNet Info-----------
   No MXNet installed.
   ----------System Info----------
   ('Platform     :', 'Linux-3.10.0-862.14.4.el7.x86_64-x86_64-with-centos-7.5.1804-Core')
   ('system       :', 'Linux')
   ('node         :', 'spectre11')
   ('release      :', '3.10.0-862.14.4.el7.x86_64')
   ('version      :', '#1 SMP Wed Sep 26 15:12:11 UTC 2018')
   
   
   Package used (Python/R/Scala/Julia):
    1) shared                    2) torque/6.0.3(default)     3) moab/9.0.2(default)       4) intel/license             
    5) gcc/7.2                   6) cuda80/toolkit/8.0.44     7) openblas/dynamic/0.2.18   8) lapack/gcc/3.6.1
   
   opencv version: 2.4.5
   $ pkg-config --cflags opencv
   -I/usr/include/opencv  
   $ pkg-config --libs opencv
   -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab 
   
   
   
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services