Cmake Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
lalinsky at gmail.com
Sat Jun 19 09:50:53 CEST 2010
On Fri, Jun 18, 2010 at 11:05 PM, Meghashyam Adoni <m.adoni at gmx.com> wrote:
> Hello all,
> I am fairly new to this and am looking to use the taglib library in some
> However, I have some difficulty building the source.
> When I run cmake, I get this error "Could NOT find ZLIB (missing:
> ZLIB_LIBRARY ZLIB_INCLUDE_DIR)"
> I have downloaded and built the zlib source.
> How do I point to the location where the lib file for zlib is while
> configuring the build for taglib?
The easiest way is probably to use a tool called CMakeSetup. You will
see all the configuration options there, and you can point it to the
right location. ZLIB_LIBRARY should point to the library file and
ZLIB_INCLUDE_DIR to the directory where the zlib.h include file is.
Alternatively you can run use command line parameters:
More information about the taglib-devel