John Harrison wrote:
I just tried on 32 bit Intrepid and couldn't get this to work. I get
are you using the Pd-extended builds or did you build Gem yourself?
afaik, Pd-extended does not link against libv4l, thus you do not enjoy it's pleasures. simply do % ldd Gem.pd_linux | grep -i v4l
VDIOCGCHAN: Invalid argument
I could not find libv4l in the ubuntu repos but have libv4l-0 installed.
this is the same. it is just a naming issue, which you will find often in Debian/Ubuntu, supposedly to get around the issue of API-changes (and being able to install several different API-versions of a single library at the same time)
if you compile Gem yourself, you will also want to install the development-headers of libv4l (libv4l-dev) before running configure.
finally: afaik, you can force an application built without libv4l to use it by employing some pre-linker magic. ("LD_PRELOAD_LIB=/usr/lib/libv4l.so pd -lib Gem" or the like) - please see the README.txt that comes with libv4l for instructions.
fgmasdr IOhannes
IOhannes m zmoelnig wrote:
are you using the Pd-extended builds or did you build Gem yourself?
afaik, Pd-extended does not link against libv4l, thus you do not enjoy it's pleasures. simply do % ldd Gem.pd_linux | grep -i v4l
yep. I'm using pd-extended and yep. Nothing for grep.
finally: afaik, you can force an application built without libv4l to use it by employing some pre-linker magic. ("LD_PRELOAD_LIB=/usr/lib/libv4l.so pd -lib Gem" or the like) - please see the README.txt that comes with libv4l for instructions.
yep. This works:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/pd
Thanks!
-John
hi,
would it be possible to compile Gem 0.91.3 with font support? i am using the version on sourceforge for Mac OS X.
patrick
yes, I think instead of ftgl you have to install libftgl1 (use fink) and when you do configure put the flag --with-ftgl-libs=/sw/lib.
I had some help from Hans, when I first got this working and in my notes I have a line saying "get files from hans (put them into /sw/.../finkinfo)"... so maybe there is some additional magic to that?
you can still grab gem with font support from pd-extended. grab the latest autobuild from http://autobuild.puredata.info/auto-build/latest/ there is a version for pd 0.40 and pd 0.41.
marius.
patrick wrote:
hi,
would it be possible to compile Gem 0.91.3 with font support? i am using the version on sourceforge for Mac OS X.
patrick
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
libftgl1 is now included in Fink/unstable, so you just need to switch to unstable, then do:
fink install libftgl1
http://pdb.finkproject.org/pdb/package.php/libftgl1
.hc
On Jan 27, 2009, at 1:52 AM, marius schebella wrote:
yes, I think instead of ftgl you have to install libftgl1 (use fink) and when you do configure put the flag --with-ftgl-libs=/sw/lib.
I had some help from Hans, when I first got this working and in my notes I have a line saying "get files from hans (put them into /sw/.../finkinfo)"... so maybe there is some additional magic to that?
you can still grab gem with font support from pd-extended. grab the latest autobuild from http://autobuild.puredata.info/auto-build/ latest/ there is a version for pd 0.40 and pd 0.41.
marius.
patrick wrote:
hi,
would it be possible to compile Gem 0.91.3 with font support? i am using the version on sourceforge for Mac OS X.
patrick
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
----------------------------------------------------------------------------
If you are not part of the solution, you are part of the problem.
Hans-Christoph Steiner wrote:
libftgl1 is now included in Fink/unstable, so you just need to switch to unstable, then do:
fink install libftgl1
that won't help here, as Gem does no weak linking (or however you call it). either it links dynamically to libftgl.so (in which case Gem won't load if the library is not present; upstream this ought to be avoided, as dynamic linkage pulls in dependencies on X11) or we link statically against libftgl.a (which makes bigger binaries, but no added dependencies) or we forget to link against ftgl alltogether (so we don't have font support).
the binaries i posted ought to be #2 but were #3.
fmasdr IOhannes
On Jan 27, 2009, at 11:28 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
libftgl1 is now included in Fink/unstable, so you just need to switch to unstable, then do: fink install libftgl1 http://pdb.finkproject.org/pdb/package.php/libftgl1
that won't help here, as Gem does no weak linking (or however you call it). either it links dynamically to libftgl.so (in which case Gem won't load if the library is not present; upstream this ought to be avoided, as dynamic linkage pulls in dependencies on X11) or we link statically against libftgl.a (which makes bigger binaries, but no added dependencies) or we forget to link against ftgl alltogether (so we don't have font support).
the binaries i posted ought to be #2 but were #3.
fmasdr IOhannes
libftgl.a is included with the libftgl1 fink package, so you could statically link against it.
.hc
----------------------------------------------------------------------------
Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism. - retired U.S. Army general, William Odom
Hans-Christoph Steiner wrote:
libftgl.a is included with the libftgl1 fink package, so you could statically link against it.
good to know.
how about libfreetype2? is this available for static linkeage as well (without pulling X11 in?)
fgmasdr IOhannes
On Jan 28, 2009, at 3:45 AM, IOhannes m zmoelnig wrote:
Hans-Christoph Steiner wrote:
libftgl.a is included with the libftgl1 fink package, so you could statically link against it.
good to know.
how about libfreetype2? is this available for static linkeage as well (without pulling X11 in?)
fgmasdr IOhannes
With the fink version, it is in:
/sw/lib/freetype219/lib/libfreetype.a
The wacky thing about the freetype219 package is that is it actually freetype 2.3.7.
.hc
----------------------------------------------------------------------------
Mistrust authority - promote decentralization. - the hacker ethic