Thanks for your help!
I managed to compile Gem 0.92-3 and Gem 0.93-3 using autoconf and I figured I might as well go with 0.93-3.
I'm using PD-extended 0.42.5 and I found GEM 0.92-3 in the Package Contents, where I deleted it. I downloaded a Gem 0.93-3 binary and placed it in /Library/Pd/Gem together with pix_drum pix_fiducial pix_mano
This combination seems to work fine when starting PD extended it loads Gem 0.93.3 compiled Nov 10 2011
Now compilation from the sources, after the following configure line:
./configure --with-pd=/Users/maki/Development/pure-data/src --with-extension=d_fat --enable-fat-binary=i386
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 and I also miss the Gem.pd_Darwin
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
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
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
I also have some class files that I've added to the sources but they seem not to get compiled. (That's the reason why I need to compile Gem) I can't find the corresponding object files.
Any help, i.e do I need on OSX 10.6.8 Gem.pd_Darwin or Gem.d_fat and what would be the correct configure option and how do I include my own class files much appreciated,
Florian
On 1/31/12 3:52 AM, IOhannes m zmoelnig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-01-31 01:28, Hans-Christoph Steiner wrote:
You need to point it to your Pd headers
./configure --with-pd=/path/to/pure-data.git
hmm, but my pure-data.git/ directory usually looks like:
<snip> $ ls branches config description HEAD hooks info objects refs </snip>
i'd use something like $ ./configure --with-pd=/path/to/pure-data :-)
anyhow, it seems that florian is trying to build using the xcode project:
- please be aware that these projects have not been updated for _ages_
- autoconf/configure (as hans pointed out) is the currently used build
environment
- max (or one of his students) claimed that they had updated the xcode
project for the git snapshot, but they never sent me any diffs (or they got lost)
regarding FTGL: $ configure should find automatically, that you don't have FTGL installed and disable it for you.
finally: your subject mentions "Gem-0.93.3" and "OSX-10.6" in one line. the _only_ way to make this work is by forcing the build to be i386 only. look at the configure flags (./configure --help), there should be (oh, 0.92 is a _long_ time ago) a flag that allows you to set the architecture/fatness of the built dll. something like: "--enable-fat-binary=i386" should do the trick. if it does not, you might have to add "-arch i386" to the CXXFLAGS and LDFLAGS manually (and make sure that there are no "-arch x86_64" anywhere.
fgamsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8nq80ACgkQkX2Xpv6ydvTB3QCg6gQ1gcLh3ZoqTejRkwhycK4r REUAoNDzhGCAnICtIfoSuZMM8zIpzOA/ =txkz -----END PGP SIGNATURE-----
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev