Subject: CGAL users discussion list
List archive
- From: Francesc Vila Garcia <>
- To:
- Subject: Re: [cgal-discuss] which lib does a CGAL example actually link to?
- Date: Tue, 22 Feb 2011 10:20:33 +0100
If the exe is compiled, you can see which DLLs will be loaded with the
tool Dependency Walker.
On the linker options of VS, there is the complete list of libraries
that your executable will link to.
Best regards,
Francesc
On 02/22/2011 03:23 AM, yanyajie wrote:
>> 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.
>
> Dear S.,
>
> Thanks to respond!
>
> Yes, I used cmake to configure this example, and the CMakeLists.txt
> was generated
> by CGAL's script rather than my hand.
>
> So, are you implying that if GMP lib is a must to build the example,
> then the
> project configured by cmake should have specified GMP in its
> "dependencies" right?
>
> What's more, as asked in the last mail, how can I set VS2010 to see
> exactly what libs
> are linked to a .exe?
>
> THX!
>
> Yan.
>>
>>> 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.
>>
>>
>> --
>> You are currently subscribed to cgal-discuss.
>> To unsubscribe or access the archives, go to
>> https://lists-sop.inria.fr/wws/info/cgal-discuss
>>
>>
>
- [cgal-discuss] which lib does a CGAL example actually link to?, yanyajie, 02/19/2011
- Re: [cgal-discuss] which lib does a CGAL example actually link to?, Sebastien Loriot (GeometryFactory), 02/21/2011
- Re: [cgal-discuss] which lib does a CGAL example actually link to?, yanyajie, 02/22/2011
- Re: [cgal-discuss] which lib does a CGAL example actually link to?, Francesc Vila Garcia, 02/22/2011
- Re: [cgal-discuss] which lib does a CGAL example actually link to?, yanyajie, 02/22/2011
- Re: [cgal-discuss] which lib does a CGAL example actually link to?, Sebastien Loriot (GeometryFactory), 02/21/2011
Archive powered by MHonArc 2.6.16.