Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Tutorial to install CGAL on Windows: Feedback needed

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Tutorial to install CGAL on Windows: Feedback needed


Chronological Thread 
  • From: Philipp Moeller <>
  • To:
  • Subject: Re: [cgal-discuss] Tutorial to install CGAL on Windows: Feedback needed
  • Date: Mon, 11 Jun 2012 11:47:24 +0200
  • Organization: GeometryFactory

"Laurent Rineau (CGAL/GeometryFactory)"
<>
writes:

> Le samedi 09 juin 2012 16:35:18 Philipp Moeller a écrit :
>> Sweety Pie
>> <>
>> writes:
>> > Please note that CMake GUI should be Run as Administrator for Win7
>>
>> No, it shouldn't. This is only the case when file permissions or
>> installation folders have been chosen poorly.
>>
>> Running build systems as root is dangerous.
>
> I think the tutorial should be more precise about that. In my opinion, if
> the
> user account is not an "administrator account", the tutorial should tell
> that
> the CGAL binary directory must be in the user directory.

Isn't that a too strict restriction? Build as user and install as root
should work well, too.

We could also try to implement a check for the validity of the selected
install directories at configuration time and issue a hint that the
install target requires elevated privileges. Although, I see no way to
get permissions of a directory from within CMake. We can always do funny
things, e.g. trying to copy a file and check for the outcome, but I'm
afraid that will lead to strange/scary results with UAC enabled.



Archive powered by MHonArc 2.6.18.

Top of Page