On 03/08/2012 06:56 PM, Darrell Anderson wrote:
I can't answer your question to add a library. But
check your build log output and cmake cache:
-- Looking for X11/extensions/shape.h
-- Looking for X11/extensions/shape.h - found
//Have include X11/extensions/shape.h
HAVE_X11_EXTENSIONS_SHAPE_H:INTERNAL=1
Darrell
Yep, -- it finds the header fine, but with gcc >=4.6.2 you must explicitly pass
the library to the linker or it will refuse to use it...
I'm using gcc 4.6.3-1 :(
--
David C. Rankin, J.D.,P.E.