[Bf-committers] Link error with new SConscript

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


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  

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:
std::basic_string<char, std::char_traits<char>, std::allocator<char>  
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
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?

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