Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL_LIBRARIES not found on windows 10

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL_LIBRARIES not found on windows 10


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL_LIBRARIES not found on windows 10
  • Date: Thu, 04 Jan 2018 16:21:28 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:VUdmfhUNv8FzA0xRUKnOFWtfsVPV8LGtZVwlr6E/grcLSJyIuqrYbRSCt8tkgFKBZ4jH8fUM07OQ7/i5HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9vIBmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/XlMJ+kaxVrhGmpxN9zY7bb52aOvVlc6zHYN0XX3BMUtpNWyBcBI63cosBD/AGPeZdt4TxqV0AogGjBQm2GuzvzCNIjWLq06071eQuDxvJ3BE9FN4Krnnarcn4OqEJXe600qbIyjDDYO1K2Tfn6InGcgouru2QXbJ3a8rQyUwjGw3YhViXrYzqJS6V1v4TvGid8+psT/ivi28hqw5vuDev29whhZXGho0PzlDI7yJ5wJw6JdChTkNwfNCqEJxVty6ANot2RNsvTH1nuCkgzr0Ko5m7fDIFyJg/yB7QdfuHc42W7RL/TuaQITl4i2h5d7KjgBay60ihxvfgWcmz1VZHqDdOnNrUtn0V2BHe69KLRuZh8kqhwzqC1QLe5vtZLUwpmqfXM5Esz78qmpYOsknOEDX6lUrygaOMa0kp9Oel5uL6abv8vJCcLZV7igTmP6QuhMO/BeM4PxANUmSB/OS807/u8Vf8QLpQj/02lrDVsJfHJcQHvKK5BBFV0oY55xa5ETimzMwUnXgBLF1bZBKKl4fkNlDULPzlEfuyg06gnTVpyvzcI7HtH5rAImDGkLj7fLZ970BcyBA0zdBa/59UDqsOIO/pWkDvstzYEgU1Mxa1w+bhFtpyzJ4eVHmTDa+WKqzStUWE5uU1I+mDfIMVoiryK+A55/7yin80gUMSfaaz0psTcXy3A/VmI16FbnrxmdcBCnwHvhE+TezvkF2NSyRfZ3e0X6Im5zE0EpiqDYnZRtPlvLvU1yiyGthaZ3tNF0uXOXbubYSNHfkWOwyIJco02BgNSKKsTZNp7xCouQbng/pMAcPwvQIVspfuyMJkyeTYiRYo5H0+R5CZ2nyXQmdo2HkJQTI/wYh0rkV5jFCZ3v4r0LRjCdVP6qYRAU8BPpnGwrkiBg==
  • Organization: GeometryFactory

Le Thursday, December 21, 2017 11:10:53 AM CET X a écrit :

> I recently installed CGAL on my windows system and try to make it work.

> Compiled correctly and demo runs correctly.

>

> However, since I'm using a CMakeList to handle everything, I added the

> lines:

>

> find_package(CGAL)

> include( ${CGAL_USE_FILE} )

>

> in my cmakelist.txt file.

> But it always report the binary file (.lib file under my

> CGAL_DIR/build/lib) cannot be opened.

> If I set the libraries dir in the Visual Studio Project Properties,

> everything works fine.

> Just the cmakelist cannot work correctly.

>

> After some research, it seems that the "CGAL_LIBRARIES" was not set

> correctly by the script as I try to get the variable through

> message ("${CGAL_LIBRARIES")

>

> in my cmakelist.txt file.

>

> and If I set it manually (though dirty, but not sure how to do), the VS

> reports something like "target_link_libraries xx is dropping items".

>

> I'm using windows 10 and CGAL 4.11.

 

On Windows, CGAL uses the auto-link feature, similar to what is used by Boost libraries. That explains why CGAL_LIBRARIES is always empty on Windows.

 

Could you report the full error message (the one about .lib file that cannot be open)?

 

--

Laurent Rineau, PhD

R&D Engineer at GeometryFactory http://www.geometryfactory.com/

Release Manager of the CGAL Project http://www.cgal.org/

 



  • Re: [cgal-discuss] CGAL_LIBRARIES not found on windows 10, Laurent Rineau (CGAL/GeometryFactory), 01/04/2018

Archive powered by MHonArc 2.6.18.

Top of Page