-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"library not found for -lippicv" during installation process #4
Comments
@124bit It seems to be a problem with the update to OpenCV 3.1. I'll investigate this as soon as I can. In the meantime, can you try reverting to OpenCV 3.0? |
Any news on this? I have the same issue. I would like to try with OpenCV 3.0, but furthest I've managed to get is: |
@Dvomedo I didn't get a chance to look into this yet. In the meantime you can install openCV 3.0.0 by copying the following line in your terminal:
This points towards the latest version of the formula on Github that was referencing openCV 3.0.0. You will also probably need to pin this formula to prevent it from being upgraded every time you run brew upgrade. You can do this by entering |
@sjmgarnier Thanks a lot Simon! This has worked. |
@Dvomedo No problem. I hope I find the time to solve this compilation problem with newer versions of OpenCV. |
@124bit @Dvomedo FYI, this is the source of the problem: opencv/opencv#6338. Hopefully this will be fixed next time OpenCV is updated on homebrew. |
I may have a continuation problem, or one related to versions of R. However, I downgraded my opencv version to 3.0.0 by downloading the binary, re-running CMake and building and installing the package from scratch. I could find no way to remove opencv 3.1 but assumed the install would overwrite. Once successfully installed I re-ran the installation of the videoplayR module. It got further than last attempt so it would appear that I successfully solved the -lippicv issue of before, however now the installation proceeds until the point where it is testing to see if the installed package can be loaded. It decides no, offering the following error messages:
Oups. I running a iMac (64 bit early) with OS X El Capitan (v 10.11.4), my R version is 3.2.4. |
@ruapekapeka It looks like your OpenCV installation is missing some components or is not properly detected (do you have pkg-config on your system). I don't recommend installing OpenCV from scratch. As explained in the vignette, I recommend for Mac using a package manager like Homebrew (my personal choice) or MacPorts to install OpenCV and pkg-config. |
Thanks Simon, yes, things had got into a bit of a pickle. I have successfully installed videoplayR now however. Steps taken (incase anyone else ends up in this position)
|
@124bit @Dvomedo @ruapekapeka There is a solution to this problem here: http://www.learnopencv.com/install-opencv-3-on-yosemite-osx-10-10-x/ Find ippicv: |
Hi everyone! I have tried what @ruapekapeka has suggested but am running into an error message in step 2. The error is listed as a "SHA256 mismatch," and also lists: I was wondering if anyone had any suggestions on downloading the older OpenCV 3.0.0 version? I think that it may have something to do with homebrew switching things around, such that opencv is listed in homebrew-core rather than homebrew-science, and only includes the latest version of OpenCV. |
IMPORTANT NOTICEI have stopped developing
Besides making sure that OpenCV is installed in a standardized location across platforms, this new organization also allows updating I recommend that you try out the two new packages instead (they should both install fine on Windows), and report bugs, feature requests, and comments on their respective repository. I don't have much time at the moment to push their development, but it'll be helpful to know what people have a need for when I get back to it. |
Hello, Does the 'videoplayR' package works on mac OS or do I use ROpenCVLite and Rvision? Any leads would be very grateful. |
@Sheethalvr |
@sjmgarnier Thank you Simon for the quick help. |
Hello,
The command devtools::install_github("swarm-lab/videoplayR") throws the following:
ld: library not found for -lippicv
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [videoplayR.so] Error 1
ERROR: compilation failed for package ‘videoplayR’
I am running RStudio Version 0.99.491 @ OS X Version 10.11.3. Pls find details of the error in the attachment:
videoplayeR_error_installation.txt
Pls advise. Thanks, Lev
The text was updated successfully, but these errors were encountered: