CMake doesn't find libxml2

Maarten Th. Mulders maarten.mulders at student.eur.nl
Tue Mar 28 21:54:11 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

maybe my Googling-skills aren't developed good enough yet, but here is
my question.
I checked out KDElibs from CVS, but when running

cmake -G"NMake Makefiles" ..\kdelibs -DGNUWIN32_DIR=D:/source/gnuwin32

I get the following error:

CMake Error: Could NOT find LibXml2
- -- Found LibXslt: D:/source/gnuwin32/lib/libxslt.lib
Could NOT find GIF
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
LIBXML2_LIBRARIES (ADVANCED)

- -- Configuring done

I have, of course, installed libxml2 in d:\source\gnuwin32. Headers are
in d:\source\gnuwin32\include\libxml and the library files are
d:\source\gnuwin32\lib\libxml2.lib and d:\source\gnuwin32\lib\libxml2_a.lib.
I guess there might be an error in FindLibXml2.cmake, but I am not sure.
I would like to track it down but can't find it. Anybody who can help me?

Kind regards,

Maarten Th. Mulders
Rotterdam, the Netherlands
- --
De digitale handtekening voor deze mail is te controleren met
* Thunderbird: de Enigmail-extensie (http://enigmail.mozdev.org/)
* Outlook (Express): de GnuPG-Plugin (http://www3.gdata.de/gpg/index.html).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEKZRjrlDGjB4EDkARAqmEAJ9SZjbsaUM5cXL6bNJcrvycCmCF5wCfY5+2
q6OoTZ6iFPdMG0UUKZUAeDs=
=4BtU
-----END PGP SIGNATURE-----


More information about the Kde-buildsystem mailing list