[Bf-committers] scons, Xcode, Make errors

Jasper Mine jaspermine at earthlink.net
Sat Jul 30 18:50:14 CEST 2005


Hello,

I'll add to zippy's confusion.

   I have tried the three ways in which to compile blender on osx.   
Scons, make and Xcode.  Make gets me the furthest with least editing.  
Xcode worked for awhile and is a joy to use, now if barfs.  Scons  
craps out very early with little beneficial output.  My development  
environment consists of one G4 computer running osx 10.4.2 Tiger, and  
Xcode 2 which uses gcc4.

   Using fresh cvs and editing freetype path in nan_definitions.mk to  
export NAN_FREETYPE ?= /usr/X11R6.  All the code compiles fine.   
However linking with ld all parts together at end of make, fails.

   I may be a dummy when it comes to coding so forgive me in not  
fixing this myself, but, reasons for this error are very vague.  
Ranging from non-standard c or c++ library to re-arrangement of  
includes, to makefiles.  In other words the reasons for this ld error  
are all over the place on the chart.  I need the osx platform manager.

   The Xcode project is the most fun way to poke around and compile  
with, it would be nice if lukep could perhaps teach one of us how to  
keep it updated all the time.

   Also Xcode 2.1 is out and I wonder if any osx compilers have  
sucess with this, as I do know many using osx 10.4 and Xcode2/make  
are having these same errors which I will post below, further output  
of these errors can be located here:  http://home.earthlink.net/ 
~jaspermine/

Using gcc4:
     /usr/bin/ld: Undefined symbols:
     std::__default_alloc_template<true, 0>::deallocate(void*,  
unsigned long)
     std::__default_alloc_template<true, 0>::_S_free_list
     __ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev
     __ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
     std::__default_alloc_template<true, 0>::allocate(unsigned long)
     collect2: ld returned 1 exit status
     make[1]: *** [/Volumes/MacFilez/Development/Blender/blender/obj/ 
darwin-8.2.0-powerpc/bin/blender] Error 1
     make: *** [all] Error 1


Using gcc3.3:
     ld: Undefined symbols:
     _printf$LDBLStub
     _fprintf$LDBLStub
     _fscanf$LDBLStub
     _sscanf$LDBLStub
     make[1]: *** [/Volumes/MacFilez/Development/Blender/blender/obj/ 
darwin-8.2.0-powerpc/bin/blender] Error 1
     make: *** [all] Error 1

   If anybody had these errors and overcame them I would sure like to  
know how, also any info is appreciated.  Lukep if you are reading  
this please email me personally to give me a small lesson on how to  
update Xcode, to makefile status.

Thanks guys and Cheers!
jsplifer

On Jul 29, 2005, at 9:03 AM, zippy wrote:

> egh 0_o
> If you want to be like that I just wont try . Naaw I do want to get  
> this built and share it, I have done this so many times before and  
> each time there is a new method in rules that have to be edited. So  
> I can never quite know what is what.
>
> Anyway if someone does want to help, my config is a brand  new CVS  
> ( and it always is when I post error messages) and OSX apple mac  
> computer g5 bla bla :P The OSX universe is like UNix.
>
> Thank you Vio for the support :D
>
> On Jul 28, 2005, at 6:32 PM, Matthew H. Plough wrote:
>
>
>> I hate to be blunt, but you shouldn't expect help.  Your emails  
>> have consisted of a bunch of errors followed by an effusive  
>> statement; you never specifically ask anything, nor do you give us  
>> any information about your configuration, when you updated cvs,  
>> whether you even know what you're doing, etc.
>> Post a message that includes useful information besides an error  
>> message and an exclamation, or discuss rationally in  
>> #blendercoders, and we'll be happy to help you out.
>>
>> Matt
>>
>> zippy wrote:
>>
>>
>>
>>> no help? :( :P
>>>
>>> On Jul 28, 2005, at 8:03 AM, zippy wrote:
>>>
>>>
>>>
>>>> ravens-power-mac-g5:~/bl/blender raven$ /System/Library/ 
>>>> Frameworks/Python.framework/Versions/2.3/bin/scons
>>>> scons: Reading SConscript files ...
>>>> targets =  []
>>>> arguments =  {}
>>>> Using config file: config.opts
>>>> externs...
>>>> bftgl
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> gcc
>>>> ravens-power-mac-g5:~/bl/blender raven$
>>>>
>>>>
>>>>
>>>> I have this file !  RE_renderconverter.h: No such file or directory
>>>>
>>>> Ton how are you building Blender? 
>>>> _______________________________________________
>>>>
>>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> ----
>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at projects.blender.org
>>> http://projects.blender.org/mailman/listinfo/bf-committers
>>>
>>>
>>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>>
>>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>



More information about the Bf-committers mailing list