-
Notifications
You must be signed in to change notification settings - Fork 42
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
Problems with Install (Mac Mojave 10.14.6) #26
Comments
I had the same error.. |
@klhilde @crazyhottommy
Indicates that parts of opencv could not be linked. You dont need to compile opencv on your own rather I would from R verify that you have it installed:
If not:
|
If you have multiple different versions of opencv that it migt try to link to at the same time I would advice to let it link to ROpenCVLite and probably remove version linked through brew.
restart computer. |
thanks! I had this step passed. only the last step when installing the R package gives me
|
@crazyhottommy dont think the step passed. The error is still:
which should be linked through opencv. |
okay thanks for replying. I will look into it.. |
if it helps the getRotationMatrix2D is in the imgproc module of opencv: So from R you should be able to run the following command:
As you see I here find |
then I reinstalled
|
@crazyhottommy let me double check with what they have changed in recent opencv version because it looks like the file has gone through some serious iterations with switching of data types with Matx23d instead of Mat. On your end if you check that you dont have multiple conflicting opencv versions in path. Here are some info on how to check what ROpenCVLite should link against:
Sorry for any issues your facing currently. |
thanks! No need to sorry for this. installing is hard for software is a known problem everywhere :)
Trying to dockerize wholebrain and I will update here. Thanks for making this package! |
@crazyhottommy Hi I just checked on a completely clean macOS Mojave where I installed via ROpenCVLite which compiled OpenCV 4.1.2. No issues. One thing that could be going on is multiple versions of opencv getting linked on your system. |
many thanks! I managed to dockerize it with the help of my colleague. https://github.com/crazyhottommy/wholebrain_docker Thanks for making this package, I will ask other questions when I am using it :) |
Hello @tractatus,
I am installing whole brain on Mac Mojave 10.14.6 with the following versions of each component:
Xcode 11.2.1
Xquartz 2.7.11
fftw 3.3.8_1
OpenCV 4.1.2
Everything went as instructed until the final step of the installation (if (!require(devtools)) {
install.packages("devtools")
}
devtools::install_github("tractatus/wholebrain", args='--no-multiarch')
after which I receive the following error:
Error: package or namespace load failed for ‘wholebrain’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-wholebrain/00new/wholebrain/libs/wholebrain.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-wholebrain/00new/wholebrain/libs/wholebrain.so, 6): Symbol not found: __ZN2cv19getRotationMatrix2DENS_6Point_IfEEdd
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-wholebrain/00new/wholebrain/libs/wholebrain.so
Expected in: flat namespace
in /Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-wholebrain/00new/wholebrain/libs/wholebrain.so
Error: loading failed
Execution halted
ERROR: loading failed
Error: Failed to install 'wholebrain' from GitHub:
(converted from warning) installation of package ‘/var/folders/hb/njx9dl2951s03hfxcr_r_xtr0000gn/T//RtmpKkeYLV/file45924ec64f8b/wholebrain_0.1.1.tar.gz’ had non-zero exit status
Any advice would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: