You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I upgraded my version of opencv from 2.4 to 3.0, my script failed with the following:
$ myprog.pl
Had problems bootstrapping Inline module 'MyMod::OpenCV_e076'
Can't load '/private/tmp/lib/auto/MyMod/OpenCV_e076/OpenCV_e076.bundle' for module MyMod::OpenCV_e076: dlopen(/private/tmp/lib/auto/MyMod/OpenCV_e076/OpenCV_e076.bundle, 1): Library not loaded: /opt/local/lib/libopencv_core.2.4.dylib
Referenced from: /private/tmp/lib/auto/MyMod/OpenCV_e076/OpenCV_e076.bundle
Reason: image not found at /home/perlbrew/perls/perl-5.22/lib/5.22.0/darwin-2level/DynaLoader.pm line 197.
at /home/perlbrew/perls/perl-5.22/lib/site_perl/5.22.0/Inline.pm line 533.
at /Users/y/perl5/lib/MyMod/OpenCV.pm line 25.
BEGIN failed--compilation aborted at /Users/y/perl5/lib/MyMod/OpenCV.pm line 25.
Compilation failed in require at /home/perlbrew/perls/perl-5.22/lib/site_perl/5.22.0/Module/Runtime.pm line 317.
I'm specifying the library like so: use Inline C => Config => LIBS => '-lopencv_core', so I was hoping that the symlink change for libopencv_core.dylib to libopencv_core.3.0.dylib instead of libopencv_core.2.4.dylib would trigger a recompile. Is it possibly for Inline::C to detect these types of changes and recompile instead of causing a failure and forcing a manual recompile?
The text was updated successfully, but these errors were encountered:
All things are theoretically possible. Many are not remotely practicable. That's even a major version-number change, which is why the symlink points at a different thing. This is deeply unlikely to ever be a feature of Inline::C.
When I upgraded my version of opencv from 2.4 to 3.0, my script failed with the following:
I'm specifying the library like so:
use Inline C => Config => LIBS => '-lopencv_core'
, so I was hoping that the symlink change for libopencv_core.dylib to libopencv_core.3.0.dylib instead of libopencv_core.2.4.dylib would trigger a recompile. Is it possibly for Inline::C to detect these types of changes and recompile instead of causing a failure and forcing a manual recompile?The text was updated successfully, but these errors were encountered: