Cmake Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
m.adoni at gmx.com
Mon Jun 21 19:31:37 CEST 2010
Thank you, Lukáš !
That worked just fine.
There is another message that comes up "Ensure you cppunit installed
version is at least 1.12.0"
I did download the cppunit source and built it in Visual studio.... but
the same message comes up.
This is the status of the Cppunit entries in Cmake:
CppUnit_Found is unchecked
Thank you once again!
On 6/19/2010 3:50 AM, Lukáš Lalinský wrote:
> 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:
> cmake -DZLIB_LIBRARY:FILEPATH="C:/path/to/zlib/zlib.lib"
> -DZLIB_INCLUDE_DIR:PATH="c:/path/to/zlib/include" .
More information about the taglib-devel