Patch: Re: [Bf-committers] SCons on OS X
Christian Plessl
bf-committers@blender.org
Tue, 9 Mar 2004 22:27:12 +0100
On 09.03.2004, at 22:13 Uhr, Douglas Bischoff wrote:
> On Mar 09, 2004, at 15:32, Christian Plessl wrote:
>
>>> 2) Linking seems to be broken on OS X. The final linking pass calls:
>>>
>>> gcc " -framework Carbon" " -framework AGL" " -framework QuickTime"
>>> etc. etc. etc.
>>>
>>> The linker doesn't like the quotes around these calls, and errors
>>> out. I tried several permutations of the SConstruct file trying to
>>> eliminate this, but none seemed to work.
>>
>> I have submitted a patch to this mailing list that should fix these
>> issues back in january, but the patch has not been commited to cvs
>> unfortunately.
>
> The patch submitted doesn't seem to get around the issue of missing
> files. One oddity that I noticed is that the system library root was
> specified to be INSIDE the OpenGL library... this seemed odd.
What files are missing? I don't have missing files.
> Unfortunately, without getting past THIS issue, the issues of the objc
> library (which shouldn't be required as far as I know) and linking
> Python via -framework Python vs. linking via -lpython didn't come up
> yet.
Something I forgot to mention, scons tries to link python with
-lpython2.3. This fails and is not needed if Python is linked as a
Framework. My ugly workaround to solve this problem is to set:
PYTHON_LIBRARY = []
in config.opts.
> Anyone have ideas? Was there a successful MacOS X compile on this yet?
Yes, with the patch provided blender compiles successfully with SCons
on OS X 10.3.2.
Best regards,
Christian
--
Christian Plessl <plessl@tik.ee.ethz.ch>