[GEM-dev] Compiling Gem 0.92-3 on OSX 10.6.8

Florian Grond fgrond at techfak.uni-bielefeld.de
Fri Feb 3 16:34:17 CET 2012


Thanks IOhannes for the detailed comments! things start to work piece by 
piece.

Best,

Florian

On 2/2/12 3:59 AM, IOhannes m zmoelnig wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2012-02-01 19:41, Florian Grond wrote:
>>
>> and make
>>
>> I found the following
>>
>> gem_filmDarwin.so
>> gem_filmQT.so
>> gem_imageQT.so
>> gem_imageSGI.so
>> gem_recordQT.so
>> gem_videoDarwin.so
>> Gem.d_fat
>>
>> If I compare it with what I see in /Library/Pd/Gem I figured that I
>> don't have have some of the so files
>
> well, you the Gem binary release has been compiled on machines that have
> more development libraries installed that your machine; therefore there
> is support for some more backends, which results in more plugins (files
> with .so extension)
>
> anyhow, you should even be able to use the plugins from the release with
> your self-compiled Gem!
>
>> and I also miss the
>> Gem.pd_Darwin
>
> well, you specified that you wanted to create a Gem.d_fat, rather than a
> Gem.pd_darwin at the cmdline.
> you get what you ask for.
>
>
>> I thought I could just take Gem.d_fat and the so files and place it in
>> /Library/Pd/Gem
>> which I did, PD-extended starts but shows compiled Nov 10 2011
>
> this seems to be a bug in Pd-extended, which (for reasons of
> incompatibility) prefers to not be able to load .d_fat files on osx and
> instead uses only .pd_darwin (though - for reasons unknown - it allows
> e.g. .l_i386 and .pd_linux on linux/i386; so this seems to solve some
> special osx issue)
>
> i would advise you to file a bug-report against pd-extended.
>
>>
>> Everything seems to work, but I figured it uses the Gem.pd_Darwin
>> universal binary.
>>
>> So I tried this configuer line:
>>
>> ./configure --with-pd=/Users/maki/Development/pure-data/src
>> --enable-fat-binary=i386
>>
>> the output from configure tells me that the target is now Gem.pd_darwin
>
> right; you could have simply renamed all .d_fat files to .pd_darwin
>
>>
>> After make, when I copy the Gem.pd_Darwin into /Library/Pd/Gem
>> PD can't load it and says Symbol not found : _sys_close expected in flat
>> namespace
>
> again, seems to be a problem with Pd version mismatch.
> i suspect that you compiled Gem using Pd-0.43 and are now using Pd-0.42
> (or some other older version).
> it's always best to use the same version for compilation and running!
>
>
>>
>> I also have some class files that I've added to the sources but the
>> seem not to get compiled. (That's the reason why I need to compile Gem)
>> I can't find the corresponding object files.
>
>
> depends on how you added them.
> just putting the .cpp/.h files into src/Pixes/ is no longer enough!
> you have to explicitely add them to src/Pixes/Makefile.am
>
>
>
> fgmasdr
> IOhannes
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk8qUFgACgkQkX2Xpv6ydvTVegCfdHEfK+RyIxdQs3kjz37gE5Hk
> yUkAni4ea07c8h9QDlF70gzzOmrEdyp6
> =PMty
> -----END PGP SIGNATURE-----
>
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev

-- 
--8<-------8<-------- hier abtrennen -----8<--------8<----

F l o r i a n   G R O N D
PhD Student at Ambient Intelligence Group,
CITEC Bielefeld University, Germany
Universitaetsstrasse 21 - 23 33615 Bielefeld
Tel.: 0049 521 106 12163
http://cit-ec.org   http://grond.at

-->8------->8-------- hier abtrennen ------->8------>8----



More information about the GEM-dev mailing list