Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] which lib does a CGAL example actually link to?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] which lib does a CGAL example actually link to?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] which lib does a CGAL example actually link to?
  • Date: Mon, 21 Feb 2011 14:56:50 +0100

yanyajie wrote:
> Hi all,
>
> I am playing with CGAL example "Voronoi_daigram_2" to see if CGAL is
> correctly installed and configured.
>
> By default, in the "additional dependencies" item of "linker" option,
> there is no gmp or CGAL related libs specified. Since this project is
> configured using cmake previously, I thought the configuration was
> correct and shouldn't be tamed. However, building it gives me the
> following symbols not found: gmpq_clear, gmpq_mul, gmpq_add, gmpq_sub,
> etc.. Then I added gmp.lib to the dependencies, the errors gone.
>
You should not have such problems. Did you use cmake to configure these
examples? if so, are you a CMakeLists.txt generated by CGAL's script
cgal_create_cmake_script or you wrote it by hand?

S.

> I want to know what libs does a CGAL example actually link to. I use
> VS2010. I tried to set "MSBuild project log" in "project and solution ->
> generate and run" to "diagnostic", but the log generated still doesn't
> list any lib the project links to. So, does any one know how to enable
> this detailed info in VS2010??
>
> Besides, is it the case that this example does not need any CGAL lib
> since there is none specified in "additional dependencies"? If it does
> need and automatically link to the lib it wants, then what makes this
> possible? Is it the cmake configuration process, or something else? Need
> some light shed on this question, too!
>
> THX in advance!
>
>
> Yajie Yan.




Archive powered by MHonArc 2.6.16.

Top of Page