Re: First Compilation

Darren Vincent Hart <[email protected]> 31 Jul 2003 22:45:56 -0600
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <1059713156.18501.160.camel@sway>
Mike,

I have added pkg-config configuration support to configure.in for
freetype2 and libpng.  We still need something for boost though.  Would
you have a look and let me know what you think (at configure.in
libstk/Makefile.am and test/Makefile.am).  Is pkg-config the right
choice, or should we use each libraries' config program
(freetype2-config, libpng-config, etc..).

Thanks,

Darren

On Thu, 2003-07-31 at 21:31, Mike Melanson wrote:
> Hi,
> 	Okay, I installed FreeType2 and have been fighting with the libstk
> build for a little while. It looks like I built the library. 12 megabytes?
> Wow, but it strips to 577 KB which is a bit better. Right now, I am trying
> to compile the samples.
> 
> 	Is this someone's first experience using the autotools? There are
> some telltale signs, such as Makefiles lying around in different
> directories, not to mention libstk_old.tar.gz in the root, the removal of
> which would shrink the archive notably. When the autotools are set up
> properly, all that is required is a 'make dist' command in the main
> directory and the tools actually create the distribution tarball for you
> with all the necessary files (and only the necessary files).
> 
> 	My biggest problem in compiling the library was that FreeType2
> installed itself in /usr/local/include. libstk feels that FT2 should be in
> /usr/include, probably because that's what Debian dictates. libstk's
> configure script should automatically detect the correct include
> directories based on the output of 'freetype-config --cflags'. Eventually,
> I had to create a symbolic link from /usr/include/freetype2 ->
> /usr/local/include/freetype2 because I could not coerce libstk's build
> system to use the correct path.
> 
> 	I will continue to do battle with the demo programs. I want a
> baseline on my Linux machine before moving onto STK on DC.
> 
> --
> 	-Mike Melanson
> 
> 
> _______________________________________________
> Libstk mailing list
> [email protected]
> http://www.dvhart.com/cgi-bin/mailman/listinfo/libstk