I compiled Gem for 64-bit OSX and wasn't sure if anyone would be interested/where to put it..
Video doesn't work still because it relies on quicktime...
I also couldn't get gmerlin to compile reliably unfortunately
but the rest of the dependencies are bundled in
Gem.zip
there is also a weird bug where another icon is opened in dock, and the entire program closes if gemwin is deleted before creating a window..
-
Gem for 64-bit OSX
-
@jancsika yes I did everything from homebrew, other than gmerlin which ultimately failed.. I did
./configure --with-libvlc-CFLAGS=-I/Applications/VLC.app/Contents/MacOS/include --with-libvlc-LIBS="-L/Applications/VLC.app/Contents/MacOS/lib -lvlc" --with-pd=/Applications/Pd.app/Contents/Resources --without-QuickTime-framework --without-Carbon-framework --with-defaultwindow=gemcocoawindow
and
make install DEST=~/Library/Pd libdir=~/Library/Pd prefix=~/Library/Pd/stuff/lib
then I install_name_tool'ed the .so files in the main directory for the following libs from Homebrew, and put them in stuff/lib (and install_name_tooled them also where necessary):
libltdl.7.dylib
libMagickCore-7.Q16HDRI.4.dylib
liblzma.5.dylib
libfreetype.6.dylib
libpng16.16.dylib
libftgl.2.dylib
libtiff.5.dylib
libjpeg.9.dylib:I also changed all the help files & examples to include
[declare -stdlib Gem]
I used these 2 pages:
https://github.com/umlaeute/Gem/wiki/Getting-Started:-Working-on-native-64-bit-OSX-Plugins
https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-MacOSX-Mavericks@beep.beep I think I got the VLC lib compiled on my first try (though I had some trouble afterwards for some reason). However, I'm not sure how to test it because the help file is just some send objects??
Anyway, the Gem I posted has the .so file correctly linked (I believe) with the assumption that VLC is in Applications
-
I tried dropping your posted version of Gem into my Library/pd directory (without modifications) and got "Gem: can't load library".
But I was able to see that your gem_videoVLC.so is indeed linked to the VLC.app dylib (I think I'm not using install_name_tool correctly in my attempts). I tried copying your .so file to my Gem compilation, and got as far as this:
[pix_video]: backend #0='vlc' <--- DISABLED [pix_video]: no video backends found!
Incidentally, that vlc-videoplugin.pd looks more like an abstraction than a help file... I'm using pix_video-help.pd for testing. From what I've read, sounds like the message [device screen://( to pix_video should start the webcam if the backend is working.
-
Ohhh I get it now.. I get the same error, seems like a runtime issue with opening the plugin but I'm not sure why since the .so file is there..
I'm not sure why my GEM wouldn't load for you either.. odd
-
I confirm the same error "Gem: can't load library" on pd 0.47.1 64bit OSX 10.9
-
@seb-harmonik.ar.....
Anyone seen or tried this....... http://puredatajapan.info/?p=2073
It looks too simple.... but.... and is for a later Osx than yours @60htz.
David. -
@whale-av Gem in Deken is not for 64-bit Pd
I did compile against pd 48.0 but I'm not sure why that would make a difference.. also on OS X 10.10 -
seems like VLC works if you do in terminal
export VLC_PLUGIN_PATH=/Applications/VLC.app/Contents/MacOS/plugins
and then run Pd
/Applications/Pd.app/Contents/Resources/bin/pd
so now to figure out how to set it from within Gem...
And I also get a TCL error when sending the ddevice message, but it works -
OK I have set it from within the .so here it is updated
gem_videoVLC.so -
Finally got a chance to try your newest .so file in my Gem folder. It works! Many thanks for uploading it. I get that tcl error too, but it doesn't seem to cause problems.