ICU undefined references when compiling final executable.

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

bartus
Posts: 2
Joined: Sun Dec 02, 2012 11:46 pm

ICU undefined references when compiling final executable.

Postby bartus » Mon Dec 03, 2012 12:00 am

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.

http://pastebin.com/G9Qu8gaD

bartus
Posts: 2
Joined: Sun Dec 02, 2012 11:46 pm

Postby bartus » Mon Dec 03, 2012 3:02 pm

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 !

ldo
Posts: 544
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Postby ldo » Sat Feb 23, 2013 9:31 am

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.


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 2 guests