Error when building dr.op.mxo

18 views
Skip to first unread message

keithm...@gmail.com

unread,
May 29, 2008, 1:47:31 PM5/29/08
to ObjectiveMax
I built the MaxObject.Framework, and now I'm getting an error when
trying to build dr.op.mxo:

cd /Users/keithmanlove/ObjC/ObjectiveMax-0.1.0/MaxObject-Examples/
dr.op
/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -pipe -
Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -O0 -Wreturn-
type -Wunused-variable -fmessage-length=0 -mfix-and-continue -mtune=G4
-mmacosx-version-min=10.4 -gdwarf-2 -I/Users/keithmanlove/ObjC/
ObjectiveMax-0.1.0/MaxObject-Examples/dr.op/build/DoctorOp.build/
Development/dr.op.build/dr.op.hmap -Wmost -Wno-four-char-constants -
Wno-unknown-pragmas -Wno-conversion -O0 -F/Users/keithmanlove/ObjC/
ObjectiveMax-0.1.0/MaxObject-Examples/dr.op/build/Development -F/
Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks -I/Users/
keithmanlove/ObjC/ObjectiveMax-0.1.0/MaxObject-Examples/dr.op/build/
Development/include -I/Developer/SDKs/MacOSX10.4u.sdk/Library/
Frameworks/MaxAPI.framework/Headers -I/Developer/SDKs/MacOSX10.4u.sdk/
Library/Frameworks/MaxAudioAPI.framework/Headers -I/Developer/SDKs/
MacOSX10.4u.sdk/Library/Frameworks/MaxObject.framework/Headers -I/
Users/keithmanlove/ObjC/ObjectiveMax-0.1.0/MaxObject-Examples/dr.op/
build/DoctorOp.build/Development/dr.op.build/DerivedSources -isysroot /
Developer/SDKs/MacOSX10.4u.sdk -c /Library/Frameworks/MaxAPI.framework/
Headers/macho-prefix.pch -o /Library/Caches/com.apple.Xcode.501/
SharedPrecompiledHeaders/macho-prefix-bapgdhaomupcgndenmywyqudhfjl/
macho-prefix.pch.gch
powerpc-apple-darwin9-gcc-4.0.1: /Library/Frameworks/MaxAPI.framework/
Headers/macho-prefix.pch: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: warning: '-x objective-c-header'
after last input file has no effect
powerpc-apple-darwin9-gcc-4.0.1: no input files
powerpc-apple-darwin9-gcc-4.0.1: no input files
powerpc-apple-darwin9-gcc-4.0.1: no input files
powerpc-apple-darwin9-gcc-4.0.1: no input files
powerpc-apple-darwin9-gcc-4.0.1: no input files

It's probably something obvious. I'm on a powerbook g4, max os
10.5.2, xcode 3.1. Any help would be greatly appreciated. Really
exciting about this.

Thanks,
Keith

Tim Place

unread,
May 29, 2008, 2:31:42 PM5/29/08
to object...@googlegroups.com
On 2008 May 29, at 12:47 PM, keithm...@gmail.com wrote:

> powerpc-apple-darwin9-gcc-4.0.1: /Library/Frameworks/MaxAPI.framework/
> Headers/macho-prefix.pch: No such file or directory

Hi,

This file not being found is a function of having an old version of
the MaxAPI framework in place.

To fix it, you need to open the Max 5 application bundle (right-click
or ctrl-click the app and choose 'show package contents'), and then
find the frameworks folder inside. Copy all of the these frameworks
into the /Library/Frameworks folder and you should be able to get
things building.

A warning, however: this will break Pluggo if you use Pluggo at all.
Not sure if that is an issue for you...

best,
Tim

Reply all
Reply to author
Forward
0 new messages