Page 1 of 1

ICU undefined references when compiling final executable.

Posted: Mon Dec 03, 2012 12:00 am
by bartus
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.

Posted: Mon Dec 03, 2012 3:02 pm
by bartus
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:

Code: Select all

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 !

Posted: Sat Feb 23, 2013 9:31 am
by ldo
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.