beew edited a comment on issue #18985:
URL: 
https://github.com/apache/incubator-mxnet/issues/18985#issuecomment-683368886


   It took a while, the R-package not found issue is solved but I got another 
error
   ```
   g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I../inst/include 
-I'/usr/lib/R/site-library/Rcpp/include'    -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-5iUtQS/r-base-4.0.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
export.cc -o export.o
   g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I../inst/include 
-I'/usr/lib/R/site-library/Rcpp/include'    -fpic  -g -O2 
-fdebug-prefix-map=/build/r-base-5iUtQS/r-base-4.0.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c 
im2rec.cc -o im2rec.o
   im2rec.cc:39:10: fatal error: opencv2/opencv.hpp: No such file or directory
      39 | #include <opencv2/opencv.hpp>
   ```
   but I have already installed libopencv-dev and opencv2/opencv.hpp is in 
   /usr/include/opencv4/opencv2/opencv.hpp
   
   Should I just make a symlink  of /usr/include/opencv4/opencv2/ to 
/usr/local/include/opencv2?


----------------------------------------------------------------
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