[GEM-dev] vlc plugin under OSX
Nicolas Montgermont
nicolas_montgermont at yahoo.fr
Wed Apr 4 09:56:21 CEST 2012
Le 03/04/12 22:45, IOhannes m zmölnig a écrit :
>
> $ cd /path/to/Gem
> $ LD_LIBRARY_PATH=/Applications/VLC.app/Contents/MacOS/lib pd -lib Gem
>
The log is the same with or without the LD_LIBRARY_PATH, it is:
Machiavel:Gem nix$
LD_LIBRARY_PATH=/Applications/VLC.app/Contents/MacOS/lib
/Applications/Pd-extended.app/Contents/MacOS/Pd-extended
[...]
load plugins 'video' in './'
pattern : ./gem_video*.so
dylib loading file './gem_videoDarwin.so'!
dylib loading file './gem_videoVLC.so'!
library loading returned: dlerror 'dlopen(./gem_videoVLC.so, 2): Symbol
not found: _libvlc_media_add_option
Referenced from:
/Users/nix/github/Gem/plugins/videoVLC/.libs/gem_videoVLC.so
Expected in: flat namespace
in /Users/nix/github/Gem/plugins/videoVLC/.libs/gem_videoVLC.so'
I'm not sure what it means,...
what I don't understand is it doesn't seen to be linked at all to libvlc:
Machiavel:Gem nix$ otool -L gem_videoVLC.so
gem_videoVLC.so:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
(compatibility version 1.0.0, current version 1789.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
(compatibility version 2.0.0, current version 152.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 15.0.0)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.11)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
1.2.3)
libvlc is only appearing in the search path of the library loading:
Machiavel:Gem nix$ otool -l gem_videoVLC.so
[...]
Load command 14
cmd LC_RPATH
cmdsize 68
path /Applications/VLC.app/Contents/MacOS/lib/libvlc.dylib (offset 12)
any idea? I'm copying the plugins and the Gem.pd_darwin inside
Pd-extended extra/Gem path if that matters.
thx,
n
--
http://nim.on.free.fr
More information about the GEM-dev
mailing list