hey nicolas
i reproduced what you did and also ended up with the gem_videoVLC.so plugin, though on x86_64, with "[pix_video]: no video backends found!".
I am also getting: library loading returned: dlerror 'dlopen(./gem_videoVLC.so, 2): Library not loaded: @loader_path/lib/libvlc.5.dylib Referenced from: /Users/megrimm/Library/Pd/Gem/plugins/videoVLC/.libs/gem_videoVLC.so Reason: image not found'
though i differ with you in running otool -l gem_videoVLC.so: Load command 12 cmd LC_LOAD_DYLIB cmdsize 56 name @loader_path/lib/libvlc.5.dylib (offset 24) time stamp 2 Wed Dec 31 19:00:02 1969 current version 9.0.0 compatibility version 9.0.0
maybe we can figure this out today. let me know what you find out. seems to just not be finding libvlc.5.dylib and thats all....
cheers m
On Wed, Apr 4, 2012 at 3:56 AM, Nicolas Montgermont nicolas_montgermont@yahoo.fr wrote:
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
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev