Closed shearerpmm closed 5 years ago
The package is on cran, why dont you install it from cran?
The CRAN version contains dlib 19.2, and find_max_global
was introduced in 19.8.
Ah ok, so how can I help on this?
Was just hoping you might have an insight on solving it. I have no idea what to do, I don't do this kind of thing often (build a package with a compiled-from-source C++ dependency from scratch). If not, I'll probably look into alternatives like the Python API.
But where is your code?
I don't have any code except yours. Here's what I've done so far:
~/lib/dlib/
devtools::install_local('~/lib/dlib/')
src/Makevars
to remove -DDLIB_JPEG_SUPPORT
devtools::install_local('~/lib/dlib/')
againsh: line 1: 53608 Segmentation fault: 11
This could be a problem on my end but I have absolutely no idea how to solve it, so I thought I'd ask here before giving up.
Again, the CRAN version contains dlib 19.2, and find_max_global
was introduced in 19.8.
Have you looked up the error message error? Looks like some5hings wrong with you r installation. It says Falling back to library file for linking... dont know what that means, I am using Ubuntu and Windows, no Mac to test this. Have you installed all Mac developer tools as indicated in the r for Mac manual. Also libpng and lz need to be on your system if you want to install from source
Hi! I'm really interested in using dlib's
find_max_global
from R, so I tried to install the package but I ran into errors. Here's mysessionInfo()
and the logs from my second installation attempt. (My first gave me a lot of errors related to JPEG loading, so I removed-DDLIB_JPEG_SUPPORT
in Makevars)