Previous Thread  Next Thread

chat icon ICU undefined references when compiling final executable.


Posted: Mon Dec 03, 2012 12:00 am
Joined: 02 Dec 2012
Posts: 2
When compiling lates svn version i got a bunch of errors about undefined references to ICU library in boost_locale.
Trying to disable i ICU by rebuilding boost with --disable-icu but it does not seams to work for me.
I am using boost 1.51.
Reply with quote


Posted: Mon Dec 03, 2012 3:02 pm
Joined: 02 Dec 2012
Posts: 2
Ok, i worked it throught.
First i take a look into ./build_files/cmake and find there is Module/FindIcuLinux.cmake script.
Then locate where this script is invoced form within ./CMakeList.txt and find this line:

line670: if(Boost_USE_STATIC_LIBS AND Boost_USE_ICU)
line671:        find_package(IcuLinux)

Finally add Boost_USE_ICU:BOOL=ON to CMakeCache.txt amd generate new MakeFile.

Its a quick dirty workaround.

Wheter 'boost search' should not have done it by it selfe?
Im on debian testing and libboost1.50-dev depends on libicu48 so FindBoost.cmake should automatically set Boost_USE_ICU=ON !
Reply with quote


Posted: Sat Feb 23, 2013 9:31 am
Joined: 07 Nov 2010
Posts: 544
Maybe that version of Boost is too new for Blender. I am using 1.49, which seems to make no use of ICU, and Blender builds fine.
Reply with quote

Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group