[Bf-committers] linking error on OS X

Erwin Coumans erwin at erwincoumans.com
Thu Aug 24 08:59:41 CEST 2006


Hi Randall,

compiling Blender with gcc 4.0.1, including gameengine should work, I did it a few weeks ago.
Unfortunately an Apple 'security update' forced me to re-install OS X (thanks Apple!), so I lost the changes I had to made. I think I used make, instead of scons. Anyway, just wanted to let you know it is possible. Once I get the OS X environment setup again, I will let you know the changes I made.

The link errors you mailed suggest lack of libstd++.a during linking. Perhaps you manage to add -lstd++ in the scons files?

Thanks,
Erwin


  ----- Original Message ----- 
  From: Randall Rickert 
  To: bf-committers at projects.blender.org 
  Sent: Wednesday, August 23, 2006 1:49 AM
  Subject: [Bf-committers] linking error on OS X


  I've been trying to build from CVS for the for the past week, for the first time since the 2.42 release. I had no trouble building just before 2.42. All of the objects seem to compile okay, but linking fails. This is the tail of the output from Scons:
  Linking program ==> 'blender'
  /usr/bin/ld: Undefined symbols:
  std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage
  std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, std::allocator<char> const&)
  __ZNSaIcED4Ev
  __ZNSt15basic_streambufIcSt11char_traitsIcEEC4Ev
  __ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
  std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
  std::__default_alloc_template<true, 0>::_S_force_new
  std::__default_alloc_template<true, 0>::_S_free_list
  std::__default_alloc_template<true, 0>::_S_node_allocator_lock
  __ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
  std::__default_alloc_template<true, 0>::allocate(unsigned long)
  std::__default_alloc_template<true, 0>::_S_refill(unsigned long)
  __ZNSt24__default_alloc_templateILb1ELi0EE5_LockC4Ev
  collect2: ld returned 1 exit status
  scons: *** [/develop/build/darwin/bin/blender] Error 1
  scons: building terminated because of errors.


  Does anyone have some ideas? Maybe it's just a problem on OS X, or maybe my build environment is broken?


  Thanks,

  Randall





------------------------------------------------------------------------------


  _______________________________________________
  Bf-committers mailing list
  Bf-committers at projects.blender.org
  http://projects.blender.org/mailman/listinfo/bf-committers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20060823/08117d21/attachment.htm


More information about the Bf-committers mailing list