Hi all, I am building a new external in /extra. I am calling it pix_example.
I am running OS X 10.7, using Pd-0.43-2 and latest GEM from git. I am: 1) running autogen.sh 2) ./configure 3) running make inside the /extra/pix_example folder - the pix_example external builds fine. - I load Pd with a path to the /extra/pix_example folder, load the external and get: /Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin: dlopen(/Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin, 10): no suitable image found. Did find: /Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin: mach-o, but wrong architecture pix_example ... couldn't create Hoping to correct the architecture problem i ran 2) ./configure --enable-fat-binary=i386 Again it built ok, but now I got: /Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin: dlopen(/Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin, 10): Symbol not found: __ZN9CPPExternaSERKS_ Referenced from: /Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin Expected in: flat namespace in /Users/joliver/Gem/extra/pix_example/pix_example.pd_darwin pix_example ... couldn't create Any Suggestions on how to solve this? best, J *************** Jaime Oliver www.jaimeoliver.pe jo2...@columbia.edu Columbia University On Dec 16, 2011, at 11:37 AM, IOhannes zmölnig wrote: > On 12/16/2011 12:57 PM, Jaime Oliver wrote: >>> maybe they are simply using the binaries provided? >> >> Of course... >> >>> they are compiled on a 10.5 machine, but they should run on 10.7 >> >> I also have a 10.6 version I could use, but have this laptop right now... >> >>> do you have any special reason to compile it yourself? >> >> well, I haven't gotten around making a system to compile just one >> pix_external, so I just recompile gem over and over again, and because >> that is the only recent change in the code it compiles only that one >> object very fast. >> >> It'd be great to have an example in the extra folder just like there >> is in pd in doc/6.externs/... that is, a piece of example code and a >> multi-platform makefile. >> or is there...? > > you could have a look at extra/pix_drum/ :-) > > it's not a simple "multi-platform makefile", since i don't believe in > such a thing, but instead you should be able to easily add your own > Gem/externals in the same fashion (e.g. using autotools). > > after running configure, you don't need to recompile the entire Gem, > just run make in extra/pix_head/ > > gfamsdr > IOhannes > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list