[Bf-committers] Link error with new SConscript

Randall Rickert randall at rickert-digital.com
Sun Feb 5 05:51:25 CET 2006


Hi,

After updating CVS with new SConscript and running scons under OS X,  
the linker failed because it couldn't find the OpenEXR libs. I had to  
copy the libs from /sw/ (where fink puts them) to /usr/local/,  
because simply setting BF_OPENEXR = '/sw' in darwin-config.py doesn't  
work. It would find the include files, but not the libs. There is no  
BF_OPENEXR_LIBPATH to set.

But here's the strange part: In darwin-config.py I set  
WITH_BF_OPENEXR = 'false', so I don't understand why it is trying to  
link OpenEXR libs into blender in the first place.

After fixing the OpenEXR libs I get this:

Linking program ==> 'blender'
/usr/bin/ld: warning can't open dynamic library: /opt/local/lib/ 
libjpeg.9.dylib (checking for undefined symbols may be affected) (No  
such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
__ZNSaIcED4Ev
std::basic_string<char, std::char_traits<char>, std::allocator<char>  
 >::_S_empty_rep_storage
__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)
std::basic_string<char, std::char_traits<char>, std::allocator<char>  
 >::_Rep::_S_create(unsigned long, std::allocator<char> const&)
collect2: ld returned 1 exit status
scons: *** [/develop/build/darwin/bin/blender] Error 1
scons: building terminated because of errors.

I've been able to build with Scons up through the release of 2.41.  
Maybe Nathan or Luke have some ideas?

Regards,
Randall Rickert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20060204/8171f837/attachment.htm


More information about the Bf-committers mailing list