Purr Data Linux-64 and GEM?
Welcome to Purr Data
warning: your system's font stack is not optimal
Pd has started the GUI
canvasinfo: v0.1
stable canvasinfo methods: args dir dirty editmode vis
pdinfo: v.0.1
stable pdinfo methods: dir dsp version
classinfo: v.0.1
stable classinfo methods: size
objectinfo: v.0.1
stable objectinfo methods: class
[import] $Revision: 1.2 $
[import] is still in development, the interface could change!
compiled against Pd-l2ork version 2.4.6 (20171213-rev.46ffba3)
input channels = 2, output channels = 2
working directory is /usr/lib/pd-l2ork/extra/Gem
input channels = 2, output channels = 2
audio buffer set to 50
opened input device name hw:0
configuring sound input...
Sample width set to 4 bytes
configuring sound output...
Sample width set to 4 bytes
error: audio I/O dropout
tried but couldn't sync A/D/A
tried /usr/lib/pd-l2ork/extra/Gem/Gem.l_ia64 and failed
tried /usr/lib/pd-l2ork/extra/Gem/Gem.pd_linux and succeeded
verbose( 1):/usr/lib/pd-l2ork/extra/Gem/Gem.pd_linux: libftgl.so.2: cannot open shared object file: No such file or directory
tried /usr/lib/pd-l2ork/extra/Gem/Gem.pd and failed
tried /usr/lib/pd-l2ork/extra/Gem/Gem.pat and failed
tried /usr/lib/pd-l2ork/extra/Gem/Gem/Gem.pd and failed
Gem
... couldn't create
libftgl is missing?
Purr Data Linux-64 and GEM?
@jancsika said:
ls /usr/lib/pd-l2ork/extra/Gem/Gem*
ls /usr/lib/pd-l2ork/extra/Gem/Gem*
/usr/lib/pd-l2ork/extra/Gem/Gem.la
/usr/lib/pd-l2ork/extra/Gem/Gem-meta.pd
/usr/lib/pd-l2ork/extra/Gem/Gem.pd_linux
/usr/lib/pd-l2ork/extra/Gem/GemPrimer.pdf
du -h /usr/lib/pd-l2ork/extra/Gem/Gem*
du -h /usr/lib/pd-l2ork/extra/Gem/Gem*
4.0K /usr/lib/pd-l2ork/extra/Gem/Gem.la
4.0K /usr/lib/pd-l2ork/extra/Gem/Gem-meta.pd
5.6M /usr/lib/pd-l2ork/extra/Gem/Gem.pd_linux
568K /usr/lib/pd-l2ork/extra/Gem/GemPrimer.pdf
PD-Vanilla will not load PD-Externals--Mint Linux
Hello, I am able to load a couple of PD externals. I am using Pd 0.46.7 on Linux Mint 18.2 Cinnamon 64-bit. I am using the find externals command under the help menu. I see the directories in my ~pd-externals folder. But when I try and use objects like [counter] that are supposed to be in these externals I get a can"t create error?
I get this message when I start PD
sys_midiapi 1
input channels = 2, output channels = 2
priority 6 scheduling failed; running at normal priority
tried /home/lulujoe13/pd-externals/zexy.l_ia64 and failed
tried /home/lulujoe13/pd-externals/zexy.pd_linux and failed
tried /home/lulujoe13/pd-externals/zexy/zexy.l_ia64 and failed
tried /home/lulujoe13/pd-externals/zexy/zexy.pd_linux and failed
/home/lulujoe13/pd-externals/zexy: can't load library
tried /home/lulujoe13/pd-externals/cyclone.l_ia64 and failed
tried /home/lulujoe13/pd-externals/cyclone.pd_linux and failed
tried /home/lulujoe13/pd-externals/cyclone/cyclone.l_ia64 and failed
tried /home/lulujoe13/pd-externals/cyclone/cyclone.pd_linux and succeeded
Cyclone 0.3 beta 2; Released: June 19th, 2017
This is a sub library containing the objects:
[!-], [!-~], [!/], [!/~], [!=~], [%~], [+=~], [<=~], [<~], [==~], [>=~] and [>~]
tried /home/lulujoe13/pd-externals/upp.l_ia64 and failed
tried /home/lulujoe13/pd-externals/upp.pd_linux and failed
tried /home/lulujoe13/pd-externals/upp/upp.l_ia64 and failed
tried /home/lulujoe13/pd-externals/upp/upp.pd_linux and failed
/home/lulujoe13/pd-externals/upp: can't load library
tried /home/lulujoe13/pd-externals/Gem.l_ia64 and failed
tried /home/lulujoe13/pd-externals/Gem.pd_linux and failed
tried /home/lulujoe13/pd-externals/Gem/Gem.l_ia64 and failed
tried /home/lulujoe13/pd-externals/Gem/Gem.pd_linux and succeeded
/home/lulujoe13/pd-externals/Gem/Gem.pd_linux: libftgl.so.2: cannot open shared object file: No such file or directory
/home/lulujoe13/pd-externals/Gem: can't load library
deken-plugin.tcl (Pd externals search) in /home/lulujoe13/pd-externals/deken-plugin loaded.
Platform detected: Linux-x86_64-64bit
'deken-plugin.tcl' already loaded, ignoring: '/home/lulujoe13/pd-externals/deken-plugin/deken-plugin.tcl'
Opened Alsa Client 128 in:0 out:2
counter 1
... couldn't create
Can anyone offer suggestions and help? Thanks. JoeF.
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
Gem for 64-bit OSX
Coincidentally, I've been working on the same thing myself for the past several days. I succeeded in compiling Gem on OSX 10.12 with Pd 0.47.1 (64 bit), using an amalgam of these instructions:
As seb noted, no quicktime film/video support, and I also get the extra dock icon & Pd crashing sometimes when I close my patch.
Having noticed this conversation the other day, I tried compiling Gem against Purr Data 2.3.1 using the same general method, but didn't get far at all. I didn't save the errors, but got a sense that it'd be much more involved than just adjusting paths to Pd-l2ork/Contents/Resources...
I haven't tried to compile the gmerlin plugin, but I have the imageJPEG plugin working, and I've spent many hours trying to get videoVLC working. There are several mailing list discussions which suggest that the problem might be with gem_videoVLC.so (perhaps not pointing to libvlc.5.dylib correctly, either needing editing or symlinking?).
I'm reaching the limits of my meager hacking abilities, but nonetheless it's pretty exciting to have Gem back up & running on 64 bit! I'm happy to join the cause if others are also interested in trying to work out the kinks in enabling the rest of the workaround plugins (gmerlin, videoVLC), and hopefully also find a way to get Gem working on Purr Data.
A few questions about Pd-L2ork/Purr Data on osX
I don't know if it helps but there are a lot of useful instructions on how to built gem in umläute's ghithub wiki page:
https://github.com/umlaeute/Gem/wiki/Getting-Started:-Working-on-native-64-bit-OSX-Plugins#
I took a shot at this on OSX VM. It compiled ok. It installed in /Gem for some reason but I could at least get Purr Data to load the Gem lib.
Unfortunately I couldn't create a gem window in any of the help patches:
error: [gemcocoawindow]: failed to init GLEW: your system only supports openGL-1.0
I don't have time to debug or develop Gem. But if someone can successfully get it to compile, install, successfully create a Gem window, and write clear unambiguous instructions on how to achieve all of that then I'll take it from there. (And again, the discipline is only to use brew install
and the build instructions at the link above.)
how to install gem library in pd
@maddynakedymaddy A bit hard to work out like this at a distance....
If you have put the "contents" of the 0.94-test3 folder in a folder called Gem inside the extra folder then you will need to put....... exactly....
C:/Program_Files_(x86)/Pd/extra/Gem/Gem
If you have put the 0.94-test3 folder in a folder called Gem inside the extra folder then you will need to put........ exactly.......
C:/Program_Files_(x86)/Pd/extra/Gem/0.94-test3/Gem
In both cases the last "Gem"..... /Gem loads the Gem.dll (the library) in the folder that contains it...... it is a bit confusing... and "abnormal"....
Spaces in names are not tolerated in Pd, and spaces are not tolerated in paths in Windows7 or previous versions....... Windows 10? I don't know?
Backslashes...... \ .... are dropped (ignored) in Pd..... they need to be forwards....... /
David.
how to install gem library in pd
@maddynakedymaddy Do you get these lines in terminal? or others? (obviously not the same paths though)
tried C:/Users/David/Desktop/dot/0.94-test3/Gem.dll and succeeded
GEM: Graphics Environment for Multimedia
GEM: ver: 0.93.CVS
GEM: compiled: Sep 22 2014
GEM: compiled for MMX/SSE2 architecture
GEM: using SSE2 optimization
GEM: detected 8 CPUs
GEM: image loading support: QT SGI
GEM: image saving support: QT SGI
Probably you get others...... as it is not working.
What do you get?
You might simply need to to set startup preferences like this (again...... not "desktop/david"...put whatever your path is.....)
You need the complete path to the "Gem" within 0.94-test3. It is documented somewhere. "Gem" is the library, not the folder that contains Gem.dll ..... It must be Gem with a capital, and without the extension.
You don't need -noautopatch........ it is just one of my preferences.
David.
Load Libraries, plug-ins
@Balwyn I've follow your steps but still nothing this is what i got in the console:
'pd-gui' connecting to 'pd' on localhost 5400 ...
------------------ done with main ----------------------
Default font: DejaVu Sans Mono
tried ./Gem.m_i386 and failed
tried ./Gem.dll and failed
tried ./Gem/Gem.m_i386 and failed
tried ./Gem/Gem.dll and failed
tried ./Gem.pd and failed
tried ./Gem.pat and failed
tried ./Gem/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem.m_i386 and failed
tried C:/Users/Jose/pd-externals/Gem.dll and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.m_i386 and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.dll and succeeded
C:\Users\Jose\pd-externals\Gem\Gem.dll: couldn't load
tried C:/Users/Jose/pd-externals/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem.pat and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.m_i386 and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.dll and succeeded
C:\Users\Jose\pd-externals\Gem\Gem.dll: couldn't load
tried C:/Users/Jose/pd-externals/Gem/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.pat and failed
tried C:/Users/Jose/pd-externals/Gem/Gem/Gem.pd and failed
Gem: can't load library
Loading plugin: C:/Program Files (x86)/Pd/tcl/pd_deken.tcl
The Pd window filtered 26 lines
The Pd window filtered 27 lines
Gem - trouble loading (or compiling?) Gem
Getting closer I hope - thanks EEight. Now pd_darwin has succeeded (yay! according to the Gem ReadMe that is good right?) but I have not managed to load the whole library.
I followed the Deken instructions at http://puredatajapan.info/?p=2073
And this is where I got to:
Wondered if my problem was specific to what I had tried with Gem.
E.g. in trying various paths and locations for Gem, maybe I messed up something ? (for instance upon starting up PD still seems to try and load now deleted and now absent paths for that I had earlier tried for Gem)
So I followed the same procedure (via Deken) for pix. And no success with Pix either. So I seem to have a general problem with understanding to load libraries.
'Very grateful for any further suggestions, cheers.