trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] CMake - how to add library to build?

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 08 Mar 2012 19:05:03 -0600
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 find 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.