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 2020/01/13 14:46:43 UTC

[GitHub] [incubator-mxnet] leezu opened a new issue #17282: R-package requires OpenCV

leezu opened a new issue #17282: R-package requires OpenCV
URL: https://github.com/apache/incubator-mxnet/issues/17282
 
 
   ## Description
   In https://github.com/apache/incubator-mxnet/issues/7273 https://github.com/apache/incubator-mxnet/pull/7389 a mandatory dependency on OpenCV was added to the r package. This breaks the r-package on systems without OpenCV https://github.com/apache/incubator-mxnet/issues/7273#issuecomment-332223197).
   
   Further, the link command is not set up correctly so that the Rcpp `mxnet.so` does not link to opencv, causing undefined symbols.
   
   @thirdwing do you plan to fix this or #7389 be reverted?

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


With regards,
Apache Git Services

[GitHub] [incubator-mxnet] leezu commented on issue #17282: R-package requires OpenCV

Posted by GitBox <gi...@apache.org>.
leezu commented on issue #17282: R-package requires OpenCV
URL: https://github.com/apache/incubator-mxnet/issues/17282#issuecomment-573774208
 
 
   The linking issue will be fixed as part of https://github.com/apache/incubator-mxnet/pull/17228
   
   Makevars was missing the following entries:
   
   ```
   CXX_STD = CXX11
   PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) `pkg-config --libs opencv`
   PKG_CFLAGS = `pkg-config --cflags opencv`
   PKG_CPPFLAGS = -I../inst/include `pkg-config --cflags opencv` `Rscript -e 'Rcpp:::CxxFlags()'`
   ```
   
   The problem of making the OpenCV dependency required instead of optional remains.

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


With regards,
Apache Git Services