ruschelp / cortex-vfx

Automatically exported from code.google.com/p/cortex-vfx
Other
3 stars 1 forks source link

Lack of Freetype causes missing symbols in IECoreGL lib #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. dont tell scons where to find freetype
2. build and install
3. Use the IECoreGL lib in some way :)

What is the expected output? What do you see instead?
/software/cortex/lib/libIECoreGL.so: undefined symbol:
_ZNK8IECoreGL19TypedStateComponentINS_13TextPrimitive10RenderTypeELj105063EE8typ
eNameEv
A c++filt of that gives
IECoreGL::TypedStateComponent<IECoreGL::TextPrimitive::RenderType,
105063u>::typeName() const

The reason is that if Freetype is not found then the 
contrib/IECoreGL/src/TextPrimitive.cpp is removed from the build list.
And something somewhere must be using the TextPrimitive despite the lack of
Freetype.
Pointing scons to the freetype files fixes the symbol issue :)

Original issue reported on code.google.com by JimmiGra...@gmail.com on 8 Dec 2009 at 1:11

GoogleCodeExporter commented 9 years ago
Fixed on the trunk in r2863.

Original comment by john.ima...@gmail.com on 22 Jan 2010 at 2:26