Gem window crashes / Install struggles on Ubuntu
Please help! Sooooo many hours trying to figure this out, should be simple I think but I'm not a sophisticated user of Linux.
The Gem objects appear properly when I open the windows, but whenever I try to open/create a gemwindow, it immediately crashes (however, it seems to respond when I change the data - for instance, I can see color changes when i make those changes, but again, the gem window crashes immediately...)
A possible solution lies here but haven't been able to get a response when I attempt to implement this
"
Why does Gem crash when creating the Gem-window? !
When I try to create a Gem-window, my X-server crashes (or worse)? btw, I am using Ubuntu/hoary with fglrx drivers.
quick
try setting the environment variable GEM_SINGLE_CONTEXT to 1
explanation
Gem establishes an (invisible) openGL-context at startup, even if no Gem-window is created yet. When you create the Gem-window, a 2nd openGL-context is used (which shares some properties with the invisible context).
For some reasons this seems to be not possible with some gfx-drivers (e.g. ATI's proprietary fglrx drivers) and some window-managers (i suspect compiz/beryll), leading to crashes of the X-server and/or system freezes.
The current workaround is to set the environment variable GEM_SINGLE_CONTEXT=1, which prevents this dual-context magic.
how?
if you are starting Pd from the bash, you can start Pd/Gem with GEM_SINGLE_CONTEXT=1 pd -lib Gem
on bash, you can also set this permanently by adding a the line export GEM_SINGLE_CONTEXT=1 to either ~/.bashrc (the bash-configuration file in your home-directory) or to /etc/bash.bashrc (to set it for all users)
"
- newer linux user but though I followed compiling instructions for installing Gem, it seems never to create a conf file.. when I open pd-extended in terminal, I get this message:
open: ./gem.conf: No such file or directory
any thoughts or input would be VERY APPRECIATED, thanks!
pd open
Hi David, I am also David.
m0oonlib doesn't come with Pd-vanilla, but I am willing to get Pd-extended working (I'm actually prototyping for a patch that will run on a raspberry pi.) I definitely want to share these patches when I'm done, so I am using relative paths because I want it to run on different environments, with different file structures, with everything relative to the main patch.
If I declare /synths wouldn't that be an absolute location (at the root of my filesystem?)
open messages require 2 params, the second of which is the path. If you leave it off you will get this error:
Bad arguments for message 'open' to object 'pd'
I have tried it several ways, and all do not work:

(I get the Bad Argument error)
With all of these I get Device not configured:




These work, but are not ideal:

I'd prefer not hardcoding an absolute path.
moonlib/absolutepath doesn't seem to work with a directory name, only a file. That means this works:

But not this (the format I actually need for path):

This works, but really I'd just prefer a solution that works in Pd-vanilla:

Newb can't use GEM
Hi, thought I'd post here even thought the thread is old before starting a new topic because my problem is exactly that as described here, though none of the suggestions have help and no one seems to have my exact error console output, which is as follows:
WARNING: Font family 'Courier' not found, using default (DejaVu Sans Mono)
tried ./gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem.l_i386 and failed
tried /home/digithree/pd-externals/gem.l_i386 and failed
tried /usr/local/lib/pd-externals/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem.l_i386 and failed
tried /usr/lib/pd/extra/gem.l_i386 and failed
tried ./gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem.pd_linux and failed
tried /home/digithree/pd-externals/gem.pd_linux and failed
tried /usr/local/lib/pd-externals/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem.pd_linux and failed
tried /usr/lib/pd/extra/gem.pd_linux and failed
tried ./gem/gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/gem/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem/gem.l_i386 and failed
tried /home/digithree/pd-externals/gem/gem.l_i386 and failed
tried /usr/local/lib/pd-externals/gem/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem/gem.l_i386 and failed
tried /usr/lib/pd/extra/gem/gem.l_i386 and failed
tried ./gem/gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/gem/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem/gem.pd_linux and failed
tried /home/digithree/pd-externals/gem/gem.pd_linux and failed
tried /usr/local/lib/pd-externals/gem/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem/gem.pd_linux and failed
tried /usr/lib/pd/extra/gem/gem.pd_linux and failed
gem: can't load library
input channels = 2, output channels = 2
audio buffer set to 25
opened input device name hw:0
configuring sound input...
Sample width set to 2 bytes
configuring sound output...
Sample width set to 2 bytes
tried but couldn't sync A/D/A
So I've added the word "gem" (with no quotes) to the Startup list, and the external library locations (whose paths can be seen in the above output) yet it doesn't work.
Any ideas? I've verified that both pd and gem are installed and at the lastest version. I'm using Ubuntu 11.10
Thanks
GEM alternative for Tk GUIs?
GEM interactive GUI, evaluation so far
I tried to translate one of my setups, SliceJockey, to a GEM GUI. But by now, when the work is almost done, the setup is full of not-so-ideal workarounds and I must conclude that it worked just more straightforward with Tk.
I won't completely give up on GEM, because it is fairly well possible that audio and control procedures in SliceJockey are somehow 'tuned' to the Tk GUI because they were developed there, and a setup developed with GEM right from the start may work smooth.
Anyway, I've noticed some characteristics of GEM which are sort of incompatible with the notion of a general GUI framework. GEM is optimally suited for motion graphics and video manipulation. It is efficient where Tk is slow, when it comes to updating the screen. But the other way round is also true. Rendering of static information is in some cases much easier with Pd Tk than GEM. Some GEM bottlenecks:
-
good quality text rendering (crossplatform, with [text2d]): way too expensive
-
plotting of static arrays like sample waveform: cumbersome and expensive
-
separate Pd instances required for GEM and audio patches
GEM aspects which I find *very* attractive for GUI purpose:
-
GEM window with all it's content can be created at any size, and thus accommodated to screen size
-
fairly easy to set up an x-y pad with multiple objects of any shape or size
-
fairly easy to animate objects in response to audio data
-
option to create pictogrammed control objects
Katja
Fedora 10 : Gem: can't load library
hi there,
I've got pd running fine for sounds but I'ld like Gem (for a reactable); but I've got this error at pd startup :
Gem: can't load library
I am with Fedora 10,
kernel :
$ uname -a
Linux hal 2.6.27.37-170.2.104.fc10.i686 #1 SMP Mon Oct 12 22:01:53 EDT 2009 i686 i686 i386 GNU/Linux
pd version :
$ yum info pd
Loaded plugins: refresh-packagekit
Available Packages
Name : pd
Arch : i386
Version : 0.39.3
Release : 1.cvs.07.07.23.fc10.ccrma
Size : 5.9 M
Repo : planetccrma
Summary : Real-time patchable audio and multimedia processor.
URL : http://pure-data.sourceforge.net/
License : GPL
Description: Pd gives you a canvas for patching together modules that analyze,
: process, and synthesize sounds, together with a rich palette of
: real-time control and I/O possibilities. Similar to Max
: (Cycling74) and JMAX (IRCAM). A related software package named Gem
: extends Pd's capabilities to include graphical rendering.
Here is what pd tells when started with "pd" :
[import] $Revision: 1.2 $
[import] is still in development, the interface could change!
compiled against Pd version 0.41.4
couldn't open MIDI input device 0
couldn't open MIDI output device 0
opened 0 MIDI input device(s) and 0 MIDI output device(s).
libdir loader $Revision: 1.8 $
compiled on Oct 27 2009 at 17:32:35
compiled against Pd version 0.41.4.extended
Gem: can't load library
libdir_loader: added 'cyclone' to the global objectclass path
libdir_loader: added 'zexy' to the global objectclass path
libdir_loader: added 'creb' to the global objectclass path
libdir_loader: added 'cxc' to the global objectclass path
libdir_loader: added 'iemlib' to the global objectclass path
libdir_loader: added 'list-abs' to the global objectclass path
libdir_loader: added 'mapping' to the global objectclass path
libdir_loader: added 'markex' to the global objectclass path
libdir_loader: added 'maxlib' to the global objectclass path
libdir_loader: added 'memento' to the global objectclass path
libdir_loader: added 'mjlib' to the global objectclass path
libdir_loader: added 'motex' to the global objectclass path
libdir_loader: added 'oscx' to the global objectclass path
libdir_loader: added 'pddp' to the global objectclass path
libdir_loader: added 'pdogg' to the global objectclass path
libdir_loader: added 'pixeltango' to the global objectclass path
libdir_loader: added 'rradical' to the global objectclass path
libdir_loader: added 'sigpack' to the global objectclass path
libdir_loader: added 'smlib' to the global objectclass path
libdir_loader: added 'toxy' to the global objectclass path
libdir_loader: added 'unauthorized' to the global objectclass path
libdir_loader: added 'pan' to the global objectclass path
libdir_loader: added 'freeverb' to the global objectclass path
libdir_loader: added 'hcs' to the global objectclass path
libdir_loader: added 'jmmmp' to the global objectclass path
libdir_loader: added 'ext13' to the global objectclass path
libdir_loader: added 'ggee' to the global objectclass path
libdir_loader: added 'flib' to the global objectclass path
libdir_loader: added 'ekext' to the global objectclass path
libdir_loader: added 'flatspace' to the global objectclass path
pdp: can't load library
pidip: can't load library
And here is part of what pd tells when started with "pd -verbose" :
libdir loader $Revision: 1.8 $
compiled on Oct 27 2009 at 17:32:35
compiled against Pd version 0.41.4.extended
tried ./Gem.l_i386 and failed
tried /usr/share/fonts/bitstream-vera/Gem.l_i386 and failed
tried /usr/lib/pd/extra/cyclone/Gem.l_i386 and failed
tried /usr/lib/pd/extra/zexy/Gem.l_i386 and failed
tried /usr/lib/pd/extra/creb/Gem.l_i386 and failed
tried /usr/lib/pd/extra/cxc/Gem.l_i386 and failed
tried /usr/lib/pd/extra/iemlib/Gem.l_i386 and failed
tried /usr/lib/pd/extra/list-abs/Gem.l_i386 and failed
tried /usr/lib/pd/extra/mapping/Gem.l_i386 and failed
tried /usr/lib/pd/extra/jmmmp/Gem.l_i386 and failed
tried /usr/lib/pd/extra/maxlib/Gem.l_i386 and failed
tried /usr/lib/pd/extra/memento/Gem.l_i386 and failed
tried /usr/lib/pd/extra/mjlib/Gem.l_i386 and failed
tried /usr/lib/pd/extra/markex/Gem.l_i386 and failed
tried /usr/lib/pd/extra/oscx/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pddp/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pdogg/Gem.l_i386 and failed
tried /usr/lib/pd/extra/motex/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pmpd/Gem.l_i386 and failed
tried /usr/lib/pd/extra/rradical/Gem.l_i386 and failed
tried /usr/lib/pd/extra/sigpack/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pixeltango/Gem.l_i386 and failed
tried /usr/lib/pd/extra/toxy/Gem.l_i386 and failed
tried /usr/lib/pd/extra/unauthorized/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pan/Gem.l_i386 and failed
tried /usr/lib/pd/extra/smlib/Gem.l_i386 and failed
tried /usr/lib/pd/extra/hcs/Gem.l_i386 and failed
tried /usr/lib/pd/extra/freeverb/Gem.l_i386 and failed
tried /usr/lib/pd/extra/ggee/Gem.l_i386 and failed
tried /usr/lib/pd/extra/ext13/Gem.l_i386 and failed
tried /usr/lib/pd/extra/flib/Gem.l_i386 and failed
tried /usr/lib/pd/extra/ekext/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem.l_i386 and failed
tried /usr/lib/pd/extra/flatspace/Gem.l_i386 and failed
tried /home/zbl/pd-externals/Gem.l_i386 and failed
tried /usr/local/lib/pd-externals/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem.l_i386 and failed
tried ./Gem.pd_linux and failed
tried /usr/share/fonts/bitstream-vera/Gem.pd_linux and failed
tried /usr/lib/pd/extra/cyclone/Gem.pd_linux and failed
tried /usr/lib/pd/extra/zexy/Gem.pd_linux and failed
tried /usr/lib/pd/extra/creb/Gem.pd_linux and failed
tried /usr/lib/pd/extra/cxc/Gem.pd_linux and failed
tried /usr/lib/pd/extra/iemlib/Gem.pd_linux and failed
tried /usr/lib/pd/extra/list-abs/Gem.pd_linux and failed
tried /usr/lib/pd/extra/mapping/Gem.pd_linux and failed
tried /usr/lib/pd/extra/jmmmp/Gem.pd_linux and failed
tried /usr/lib/pd/extra/maxlib/Gem.pd_linux and failed
tried /usr/lib/pd/extra/memento/Gem.pd_linux and failed
tried /usr/lib/pd/extra/mjlib/Gem.pd_linux and failed
tried /usr/lib/pd/extra/markex/Gem.pd_linux and failed
tried /usr/lib/pd/extra/oscx/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pddp/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pdogg/Gem.pd_linux and failed
tried /usr/lib/pd/extra/motex/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pmpd/Gem.pd_linux and failed
tried /usr/lib/pd/extra/rradical/Gem.pd_linux and failed
tried /usr/lib/pd/extra/sigpack/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pixeltango/Gem.pd_linux and failed
tried /usr/lib/pd/extra/toxy/Gem.pd_linux and failed
tried /usr/lib/pd/extra/unauthorized/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pan/Gem.pd_linux and failed
tried /usr/lib/pd/extra/smlib/Gem.pd_linux and failed
tried /usr/lib/pd/extra/hcs/Gem.pd_linux and failed
tried /usr/lib/pd/extra/freeverb/Gem.pd_linux and failed
tried /usr/lib/pd/extra/ggee/Gem.pd_linux and failed
tried /usr/lib/pd/extra/ext13/Gem.pd_linux and failed
tried /usr/lib/pd/extra/flib/Gem.pd_linux and failed
tried /usr/lib/pd/extra/ekext/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem.pd_linux and failed
tried /usr/lib/pd/extra/flatspace/Gem.pd_linux and failed
tried /home/zbl/pd-externals/Gem.pd_linux and failed
tried /usr/local/lib/pd-externals/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem.pd_linux and failed
tried ./Gem/Gem.l_i386 and failed
tried /usr/share/fonts/bitstream-vera/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/cyclone/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/zexy/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/creb/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/cxc/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/iemlib/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/list-abs/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/mapping/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/jmmmp/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/maxlib/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/memento/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/mjlib/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/markex/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/oscx/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pddp/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pdogg/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/motex/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pmpd/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/rradical/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/sigpack/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pixeltango/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/toxy/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/unauthorized/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/pan/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/smlib/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/hcs/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/freeverb/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/ggee/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/ext13/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/flib/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/ekext/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/flatspace/Gem/Gem.l_i386 and failed
tried /home/zbl/pd-externals/Gem/Gem.l_i386 and failed
tried /usr/local/lib/pd-externals/Gem/Gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/Gem.l_i386 and failed
tried ./Gem/Gem.pd_linux and failed
tried /usr/share/fonts/bitstream-vera/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/cyclone/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/zexy/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/creb/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/cxc/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/iemlib/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/list-abs/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/mapping/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/jmmmp/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/maxlib/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/memento/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/mjlib/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/markex/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/oscx/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pddp/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pdogg/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/motex/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pmpd/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/rradical/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/sigpack/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pixeltango/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/toxy/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/unauthorized/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/pan/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/smlib/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/hcs/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/freeverb/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/ggee/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/ext13/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/flib/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/ekext/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/flatspace/Gem/Gem.pd_linux and failed
tried /home/zbl/pd-externals/Gem/Gem.pd_linux and failed
tried /usr/local/lib/pd-externals/Gem/Gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/Gem.pd_linux and failed
tried ./Gem/Gem-meta.pd and failed
tried /usr/share/fonts/bitstream-vera/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/cyclone/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/zexy/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/creb/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/cxc/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/iemlib/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/list-abs/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/mapping/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/jmmmp/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/maxlib/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/memento/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/mjlib/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/markex/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/oscx/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/pddp/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/pdogg/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/motex/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/pmpd/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/rradical/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/sigpack/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/pixeltango/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/toxy/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/unauthorized/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/pan/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/smlib/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/hcs/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/freeverb/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/ggee/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/ext13/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/flib/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/ekext/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/flatspace/Gem/Gem-meta.pd and failed
tried /home/zbl/pd-externals/Gem/Gem-meta.pd and failed
tried /usr/local/lib/pd-externals/Gem/Gem-meta.pd and failed
tried /usr/lib/pd/extra/Gem/Gem-meta.pd and failed
Gem: can't load library
I can't locate files like Gem-meta.pd or Gem.pd_linux on the computer;
I keep investigating, but any hint is welcome, thanks
Loading Gem in pd-extended 0.40.3
Thanks nestor, that was the solution. I needed to add:
/Applications/Pd-extended.app/Contents/Resources/extra/Gem/Gem
to the startup options. Gem now loads just fine. As an aside, another way to load gem is to create the object [Gem] in a patch.
I have to say that I was puzzled that I hadn't really found this stuff documented anywhere! In the end, I found it written in Readme.1st of the Gem distribution. I guess I was a fool not to read it first. The relevant lines were:
(quote)
this Gem.d_fat is the Gem-binary for macOS-X (Universal Binary)
in order to use it, put the Gem/-directory into a place where pd can find it:
either put it in pd's extra/ directory, or add the full path of the Gem/
directory to the search-paths of Pd
then start Pd and load Gem:
- either create an object [Gem]
- or add it to the startup-libraries (via the Pd->Settings->Startup menu) and
restart
you should get a splash-screen on the Pd-console telling you that Gem has
successfully been loaded.
then try the help-patches (in the Gem/ folder)
and the example-patches (in this directory)
(end quote)
Compiling new external
i have similar problem, like your suggest i try to compile and the message that return to me is this: (i have ubuntu 7.04)
viniciolindo@ASUSPRO70V:~/pd-wii$ sudo gcc -c wiimote.c -o wiimote.o
wiimote.c:24:19: error: stdio.h: Nessun file o directory
wiimote.c:25:20: error: unistd.h: Nessun file o directory
wiimote.c:26:24: error: sys/select.h: Nessun file o directory
wiimote.c:27:33: error: bluetooth/bluetooth.h: Nessun file o directory
wiimote.c:29:18: error: math.h: Nessun file o directory
wiimote.c:31:21: error: wiimote.h: Nessun file o directory
wiimote.c:47: error: expected specifier-qualifier-list before 'wiimote_t'
wiimote.c: In function 'wiimote_debug':
wiimote.c:89: error: 't_wiimote' has no member named 'connected'
wiimote.c:89: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:90: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:91: error: 't_wiimote' has no member named 'toggle_acc'
wiimote.c:93: error: 't_wiimote' has no member named 'toggle_ir'
wiimote.c:95: error: 't_wiimote' has no member named 'toggle_nc'
wiimote.c:98: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:98: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:98: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:98: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:98: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:98: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:99: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:99: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:99: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:99: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:99: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:99: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c: At top level:
wiimote.c:107: warning: 'struct wiimote_btn_mesg' declared inside parameter list
wiimote.c:107: warning: its scope is only this definition or declaration, which is probably not what you want
wiimote.c: In function 'wiimote_btn':
wiimote.c:110: error: 't_wiimote' has no member named 'btn_atoms'
wiimote.c:110: error: 't_wiimote' has no member named 'btn_atoms'
wiimote.c:110: error: dereferencing pointer to incomplete type
wiimote.c:111: error: 't_wiimote' has no member named 'btn_atoms'
wiimote.c:111: error: 't_wiimote' has no member named 'btn_atoms'
wiimote.c:111: error: dereferencing pointer to incomplete type
wiimote.c:112: error: 't_wiimote' has no member named 'outlet_btn'
wiimote.c:112: error: 't_wiimote' has no member named 'btn_atoms'
wiimote.c: At top level:
wiimote.c:128: warning: 'struct wiimote_acc_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_acc':
wiimote.c:130: error: 't_wiimote' has no member named 'toggle_acc'
wiimote.c:134: error: dereferencing pointer to incomplete type
wiimote.c:134: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:134: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:134: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:135: error: dereferencing pointer to incomplete type
wiimote.c:135: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:135: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:135: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:136: error: dereferencing pointer to incomplete type
wiimote.c:136: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:136: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:136: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:147: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c:147: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c:148: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c:148: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c:149: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c:149: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c:150: error: 't_wiimote' has no member named 'outlet_acc'
wiimote.c:150: error: 't_wiimote' has no member named 'acc_atoms'
wiimote.c: At top level:
wiimote.c:155: warning: 'struct wiimote_ir_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_ir':
wiimote.c:159: error: 't_wiimote' has no member named 'toggle_ir'
wiimote.c:162: error: 'WIIMOTE_IR_SRC_COUNT' undeclared (first use in this function)
wiimote.c:162: error: (Each undeclared identifier is reported only once
wiimote.c:162: error: for each function it appears in.)
wiimote.c:164: error: dereferencing pointer to incomplete type
wiimote.c:166: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:166: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:167: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:167: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:167: error: dereferencing pointer to incomplete type
wiimote.c:168: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:168: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:168: error: dereferencing pointer to incomplete type
wiimote.c:169: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:169: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c:169: error: dereferencing pointer to incomplete type
wiimote.c:170: error: 't_wiimote' has no member named 'outlet_ir'
wiimote.c:170: error: 't_wiimote' has no member named 'ir_atoms'
wiimote.c: At top level:
wiimote.c:177: warning: 'struct wiimote_nunchuk_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_nunchuk':
wiimote.c:181: error: dereferencing pointer to incomplete type
wiimote.c:181: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:181: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:181: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:182: error: dereferencing pointer to incomplete type
wiimote.c:182: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:182: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:182: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:183: error: dereferencing pointer to incomplete type
wiimote.c:183: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:183: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:183: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:194: error: dereferencing pointer to incomplete type
wiimote.c:194: error: 'WIIMOTE_NUNCHUK_BTN_C' undeclared (first use in this function)
wiimote.c:195: error: dereferencing pointer to incomplete type
wiimote.c:195: error: 'WIIMOTE_NUNCHUK_BTN_Z' undeclared (first use in this function)
wiimote.c:196: error: 't_wiimote' has no member named 'outlet_nc_btn'
wiimote.c:196: error: dereferencing pointer to incomplete type
wiimote.c:198: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:198: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:199: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:199: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:200: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:200: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:201: error: 't_wiimote' has no member named 'outlet_nc_acc'
wiimote.c:201: error: 't_wiimote' has no member named 'nc_acc_atoms'
wiimote.c:203: error: 't_wiimote' has no member named 'nc_stick_atoms'
wiimote.c:203: error: 't_wiimote' has no member named 'nc_stick_atoms'
wiimote.c:203: error: dereferencing pointer to incomplete type
wiimote.c:204: error: 't_wiimote' has no member named 'nc_stick_atoms'
wiimote.c:204: error: 't_wiimote' has no member named 'nc_stick_atoms'
wiimote.c:204: error: dereferencing pointer to incomplete type
wiimote.c:205: error: 't_wiimote' has no member named 'outlet_nc_stick'
wiimote.c:205: error: 't_wiimote' has no member named 'nc_stick_atoms'
wiimote.c: At top level:
wiimote.c:219: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback':
wiimote.c:223: error: dereferencing pointer to incomplete type
wiimote.c:224: error: 'WIIMOTE_MESG_STATUS' undeclared (first use in this function)
wiimote.c:225: error: dereferencing pointer to incomplete type
wiimote.c:225: error: 'WIIMOTE_BATTERY_MAX' undeclared (first use in this function)
wiimote.c:226: error: dereferencing pointer to incomplete type
wiimote.c:227: error: 'WIIMOTE_EXT_NONE' undeclared (first use in this function)
wiimote.c:230: error: 'WIIMOTE_EXT_NUNCHUK' undeclared (first use in this function)
wiimote.c:232: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:232: error: 'WIIMOTE_RW_REG' undeclared (first use in this function)
wiimote.c:232: error: 'WIIMOTE_RW_DECODE' undeclared (first use in this function)
wiimote.c:236: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:237: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:238: error: 't_wiimote' has no member named 'nc_acc_zero'
wiimote.c:239: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:240: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:241: error: 't_wiimote' has no member named 'nc_acc_one'
wiimote.c:244: error: 'WIIMOTE_EXT_CLASSIC' undeclared (first use in this function)
wiimote.c:247: error: 'WIIMOTE_EXT_UNKNOWN' undeclared (first use in this function)
wiimote.c:252: error: 'WIIMOTE_MESG_BTN' undeclared (first use in this function)
wiimote.c:253: error: dereferencing pointer to incomplete type
wiimote.c:255: error: 'WIIMOTE_MESG_ACC' undeclared (first use in this function)
wiimote.c:256: error: dereferencing pointer to incomplete type
wiimote.c:258: error: 'WIIMOTE_MESG_IR' undeclared (first use in this function)
wiimote.c:259: error: dereferencing pointer to incomplete type
wiimote.c:261: error: 'WIIMOTE_MESG_NUNCHUK' undeclared (first use in this function)
wiimote.c:262: error: dereferencing pointer to incomplete type
wiimote.c:264: error: 'WIIMOTE_MESG_CLASSIC' undeclared (first use in this function)
wiimote.c: At top level:
wiimote.c:272: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_0':
wiimote.c:272: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:273: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_1':
wiimote.c:273: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:274: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_2':
wiimote.c:274: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:275: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_3':
wiimote.c:275: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:276: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_4':
wiimote.c:276: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:277: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_5':
wiimote.c:277: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:278: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_6':
wiimote.c:278: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: At top level:
wiimote.c:279: warning: 'union wiimote_mesg' declared inside parameter list
wiimote.c: In function 'wiimote_callback_7':
wiimote.c:279: warning: passing argument 2 of 'wiimote_callback' from incompatible pointer type
wiimote.c: In function 'wiimote_setReportMode':
wiimote.c:292: error: 'WIIMOTE_RPT_STATUS' undeclared (first use in this function)
wiimote.c:292: error: 'WIIMOTE_RPT_BTN' undeclared (first use in this function)
wiimote.c:293: error: 't_wiimote' has no member named 'toggle_ir'
wiimote.c:293: error: 'WIIMOTE_RPT_IR' undeclared (first use in this function)
wiimote.c:294: error: 't_wiimote' has no member named 'toggle_acc'
wiimote.c:294: error: 'WIIMOTE_RPT_ACC' undeclared (first use in this function)
wiimote.c:295: error: 't_wiimote' has no member named 'toggle_nc'
wiimote.c:295: error: 'WIIMOTE_RPT_EXT' undeclared (first use in this function)
wiimote.c:298: error: 't_wiimote' has no member named 'connected'
wiimote.c:300: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:300: error: 'WIIMOTE_CMD_RPT_MODE' undeclared (first use in this function)
wiimote.c: In function 'wiimote_reportAcceleration':
wiimote.c:308: error: 't_wiimote' has no member named 'toggle_acc'
wiimote.c: In function 'wiimote_reportIR':
wiimote.c:314: error: 't_wiimote' has no member named 'toggle_ir'
wiimote.c: In function 'wiimote_reportNunchuck':
wiimote.c:320: error: 't_wiimote' has no member named 'toggle_nc'
wiimote.c: In function 'wiimote_setRumble':
wiimote.c:326: error: 't_wiimote' has no member named 'connected'
wiimote.c:328: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:328: error: 'WIIMOTE_CMD_RUMBLE' undeclared (first use in this function)
wiimote.c: In function 'wiimote_setLED':
wiimote.c:339: error: 't_wiimote' has no member named 'connected'
wiimote.c:341: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:341: error: 'WIIMOTE_CMD_LED' undeclared (first use in this function)
wiimote.c: In function 'wiimote_doConnect':
wiimote.c:361: error: 'bdaddr_t' undeclared (first use in this function)
wiimote.c:361: error: expected ';' before 'bdaddr'
wiimote.c:364: error: 'bdaddr' undeclared (first use in this function)
wiimote.c:364: error: 'BDADDR_ANY' undeclared (first use in this function)
wiimote.c:369: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:370: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:374: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:375: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:379: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:380: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:384: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:385: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:389: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:390: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:394: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:395: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:399: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:400: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:404: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:405: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:413: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:417: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:417: error: 'WIIMOTE_RW_EEPROM' undeclared (first use in this function)
wiimote.c:420: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:421: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:422: error: 't_wiimote' has no member named 'acc_zero'
wiimote.c:423: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:424: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:425: error: 't_wiimote' has no member named 'acc_one'
wiimote.c:428: error: 't_wiimote' has no member named 'connected'
wiimote.c: In function 'wiimote_discover':
wiimote.c:441: error: 't_wiimote' has no member named 'connected'
wiimote.c: In function 'wiimote_doDisconnect':
wiimote.c:449: error: 't_wiimote' has no member named 'connected'
wiimote.c:451: error: 't_wiimote' has no member named 'wiimote'
wiimote.c:454: error: 't_wiimote' has no member named 'wiimoteID'
wiimote.c:455: error: 't_wiimote' has no member named 'connected'
wiimote.c: In function 'wiimote_new':
wiimote.c:466: error: 'bdaddr_t' undeclared (first use in this function)
wiimote.c:466: error: expected ';' before 'bdaddr'
wiimote.c:471: error: 't_wiimote' has no member named 'outlet_btn'
wiimote.c:472: error: 't_wiimote' has no member named 'outlet_acc'
wiimote.c:473: error: 't_wiimote' has no member named 'outlet_ir'
wiimote.c:474: error: 't_wiimote' has no member named 'outlet_nc_btn'
wiimote.c:475: error: 't_wiimote' has no member named 'outlet_nc_acc'
wiimote.c:476: error: 't_wiimote' has no member named 'outlet_nc_stick'
wiimote.c:479: error: 't_wiimote' has no member named 'toggle_acc'
wiimote.c:480: error: 't_wiimote' has no member named 'toggle_ir'
wiimote.c:481: error: 't_wiimote' has no member named 'toggle_nc'
wiimote.c:483: error: 't_wiimote' has no member named 'connected'
wiimote.c:484: error: 't_wiimote' has no member named 'wiimoteID'
can you help me? sorry for my english
GEM: trying to install it in G4 with Mac OS 10.3.9\. Im desperate...
Hello,
Firs of all: is there anyone who got install GEM (not extended releseses of pd) in G4 with Mac OS 10.3. How do you made it? Please, explain me.
Now, i will explain my steps (maybe someone can find some error in my installation):
in order to install Gem at a G4 1,5 GHz with 10.3.9, im following the
instructions that come in GEM.README.
- Following the part wich say "do it by hand" i have the next structure:
Applications\pd\extra\Gem.pd_darwin
Applications\pd\extra\help-Gem
Applications\pd\Pd-0.39
- I have found "Gem.pd_darwin" in "gem-0.90.0-OSX-G4-bin.tar.gz"
- "help-Gem" is a copy of "help" folder that comes inside of
"gem-0.90.0-OSX-G4-bin-doc.tar"
Then, I launch Pd from the Terminal with this command:
open Pd-0.39 -lib Gem
which opens pd, but without any message about Gem.
I have tried with -verbose but nothing happens
