Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL_LIBRARIES not found on windows 10


Chronological Thread 
  • From: X <>
  • To:
  • Subject: [cgal-discuss] CGAL_LIBRARIES not found on windows 10
  • Date: Thu, 21 Dec 2017 11:10:53 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:vDfT7xS2G5WKkSmsmC7HVKk5f9psv+yvbD5Q0YIujvd0So/mwa68YBaN2/xhgRfzUJnB7Loc0qyK6/mmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfa5+IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/mHZhMJzkaxVvg6uqgdlzILIeoyYLuZycr/fcN4cWGFPXtxRVytEAo6kboQEEu0MPOlcr4n8oFsOsRS/CBKjBOPq0DBIh3v20bcm3OQmFAHLxQotFM8NvnTMtNj4NqgfXfqowKXWzTjPdfBb1Snn5IXIbBwsp+yHU6hqfsrL00YvEhvIjlWOpozhODOYzuENvHKa7+pkTO6uhWsnpx1orjihxsoglJPFho0SylDD+iV5xJg6KcekR058ZN6oCJpQtyeEOItqWs4vQW5ltDwnxrEYuZO3ZisHxIo9yxPfdfCLa42I7QjiVOaVLzd4nnVleLenihe99Uigy+r8VtW70VtRoSpFl8PDtnEJ1xDJ9seHTf598l+72TmTzwDT9v1EIUcsmKXHJJ4u2LowmoMOvkTCBS/5hFj2jLSNdkg/4eip6+HnYq38qZOGNo90jBv+MqU0lcClD+Q4KFtGY2/O8uu10Pjv/FbyXa5RpvwwiKjQ9p7AduoBoavsM0cBwoIi7AqvJzij2dUc23IAKQQWK1q8k4H1NgSWc7jDBvCljgH0nQ==

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.

Any help is appreciated.

Thanks

--
MA Zhao

"SAVE PAPER - PLEASE THINK BEFORE YOU PRINT!"


  • [cgal-discuss] CGAL_LIBRARIES not found on windows 10, X, 12/21/2017

Archive powered by MHonArc 2.6.18.

Top of Page