Re: Compiler Errors



On Tue, 2012-07-17 at 15:04 +0200, Hugo van den Brand wrote:
> 
> The best way would be to have a configure script searching for
> pkg_config and make it
> come up with a similar statement.
> This is probably something you should to if you plan to make your
> software working in different environments.
> Googling on Makefile, autoconf and automake should get you started
> with this I would guess.

The documentation mentions how to do that:
http://developer.gnome.org/libxml++/stable/

[snip]


> This suggests that your static library does not have the libxml++
> functions in it.
> It should have been built with a static version of libxml++, but
> because these
> functions were not added you are now required to link against the
> libraries to provide the functionality.
> Perhaps at look at
> http://www.network-theory.co.uk/docs/gccintro/gccintro_25.html might
> help.

Of course, the LGPL license does not allow for static linking by
proprietary projects (which I guess this is). But I doubt that the
poster's library needs to be static anyway.


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]