Hi,
hrmm. It seems the xcode 4.2 installer moved some stuff into "/Developer-old" folder and the ppc compilers are still in there. So maybe that will work. I'll give it a go later.
Also, this is the guide I plan to use for ppc support on Lion.
http://stackoverflow.com/questions/5333490/how-can-we-restore-ppc-ppc64-as-well-as-full-10-4-10-5-sdk-support-to-xcode-4
cu.On Fri, Oct 28, 2011 at 11:56 AM, René Dudfield <renesd@xxxxxxxxx> wrote:
Hey,
I'll try and make a "32-bit intel+PPC static portmidi library, compatible with 10.4 and later" this weekend.
It's a bit hard for me, since I'm on OSX Lion and xcode 4.2 now. Apple removed PPC support in their compiler here. Which means PPC support is impossible without installing xcode 3 too. So I need to install xcode 3 first to a separate directory, then install xcode 4.2 again, then do some symlinking in order to get them both working.
Note, to see the architectures in a dylib
lipo -info /usr/local/lib/libportmidi.dylib
To remove the x64 architecture, and create a new version in /tmp/:
lipo /usr/local/lib/libportmidi.dylib -remove x86_64 -output /tmp/libportmidi.dylib
Then to see what it is linked against...
otool -L /usr/local/lib/libportmidi.dylib
cheers,On Tue, Oct 25, 2011 at 12:37 AM, Russell Owen <rowen@xxxxxx> wrote:
So far I've had no luck building portmidi--either the current release or the trunk you provided. I get tons of errors that suggest fundamental .h files aren't being found. (And yes, I do have CMake installed and running). I suspect this is because the xcode project file was saved with too recent a version of xcode (as it reports when I open it in XCode).
Also, it has no PPC target (based on opening the project on my main 10.6.8 machine). That will cause trouble with python.org's 32-bit python. I don't use xcode so I'm not sure how easy it would be to add a PPC target. Another option is to try an older version of portmidi, though I doubt users who rely on portmidi would want to go too far back.
If somebody wants to provide me a 32-bit intel+PPC static portmidi library, compatible with 10.4 and later, I'll use it. Or you can try more complete instructions (including minimum version of XCode and MacOS X on which to attempt the build) and I'll see if I can find time to go that route.
-- Russell
> <rowen-lfcS8c3Mqgg@xxxxxxxxxxxxxxxx> wrote:
On Oct 24, 2011, at 2:31 PM, René Dudfield (by way of "Russell E. Owen" <rowen@xxxxxx>) wrote:
> Hi,
>
> here are the port midi compilation instructions:
> c. OS X: - change to PortMidi subdirectory pm_mac
> - compile. Type: xcodebuild -project pm_mac.pbproj
> - copy newly created libportmidi.a to a lib path
>
> cheers,
>
>
>
> On Tue, Oct 18, 2011 at 11:58 PM, Russell E. Owen
>
>> In article
>> <CAFZXy=esDhtJOE7ygUS9r31KvS6tDs6p0ucNjjG3qJR3GvUO6g-JsoAwUIsXosN+BqQ9rBEUg@xxxxxxxxxxxxxxxx>,
>> Anthony Palomba <apalomba-bs+DcK7cjk954TAoqtyWWQ@xxxxxxxxxxxxxxxx>
>> wrote:
>>
>>> I installed it from the installer I downloaded from the gygame website.
>>> *pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg<
>> http://pygame.org/f
>>> tp/pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg>
>>
>> I built that binary installer. Unfortunately it does not include midi
>> support because I've not figured out how to build portmidi on MacOS X
>> 10.4 (the platform I use to build 32-bit python binary installers). I've
>> not tried on more recent MacOS X.
>>
>> -- Russell
>>
>>