Subject: CGAL users discussion list
List archive
[cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others)
Chronological Thread
- From: A S <>
- To:
- Subject: [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others)
- Date: Tue, 13 Oct 2009 19:20:09 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=d4meP21paOBlhAs5DisoqvdmCLf0O+WQfXfcB71IHnH2ooSxwAlPXsYumyOWBaeocDFba1rhKINSA3r+PQ3RGTaCXAZo7V+rbj+lel/XR1gfqhOgDrPC7AA4WIS1hU+Lw3rAX1XSprNhqsLexwZJPYkHl/aS0Yc2wy6NnRD3fiQ=;
I'm sorry, I'm a noob and have two questions. I seem to have run into the notorious "Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)" configuration alert. I'm confused as to how to go about setting up ZLIB so that CMake sees it.
What are ZLIB_LIBRARY and ZLIB_INCLUDE_DIR? Are they environment variables? (I'm running Visual C++ 2008 Express edition on Windows 7.) Are they constants inside a CMake file, or inside a CGAL file?
Laurent Rineau,has generously answered a prior poster that...
---
"ZLIB_INCLUDE_DIR must be equal to 'C:\Zlib\include'.
"As for ZLIB_LIBRARY, it must be full path to zlib.lib that corresponds to zlib1.dll, probably "C:\Zlib\zlib.lib". You must also have C:\Zlib on the PATH environment variable, so that zlib1.dll can be found at runtime by the DLL loader." ---
(I do have C:\Zlib on the PATH environment variable. But I have no idea what he means by "ZLIB_INCLUDE_DIR must be equal to 'C:\Zlib\include'." Equal to that string...where? In what file is this written?) My second question, if I want only to build a Demo of "Alpha_shapes_2," which of the following CMake line items need to be checked in their checkboxes? (I'm guessing WITH_examples doesn't need a check. What about the others?)
WITH_CGAL_Core
WITH_CGAL_ImageIO WITH_CGAL_PDB WITH_CGAL_Qt3 WITH_CGAL_Qt4 WITH_CPACK WITH_GMP WITH_LEDA WITH_demos WITH_examples Thanks for any help. |
- [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others), A S, 10/14/2009
- Re: [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others), Laurent Rineau (GeometryFactory), 10/14/2009
- Re: [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others), Laurent Rineau (GeometryFactory), 10/16/2009
- Re: [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others), Zheng,Guang, 10/16/2009
- Re: [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others), Laurent Rineau (GeometryFactory), 10/16/2009
- Re: [cgal-discuss] Configuration of CMake to produce only one particular Demo (I don't care about any others), Zheng,Guang, 10/16/2009
Archive powered by MHonArc 2.6.16.