From: Arjen M. <Arj...@de...> - 2016-05-24 10:51:22
|
Hi Alan, > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > Sent: Tuesday, May 24, 2016 12:44 PM > To: Arjen Markus > Cc: Phil Rosenberg; plp...@li... > Subject: NAG whitespace issues > > On 2016-05-24 09:32-0000 Arjen Markus wrote: > > > I should perhaps have added that I had to get around a somewhat > similar problem with a directory containing an installation of GTK - how CMake > determined that it is there, I have no clue, but the directory is > > > d:\nag\efbuilder 6.1\gtk > > > which is nowhere near the directories normally searched by CMake as > far as I know. By renaming that directory I solved the problem that CMake included > directories like "6.1\gtk\include" in the build procedure. > > Hi Arjen: > > I am virtually positive this build system problem is due to the whitespace before the > 6.1 since you report CMake is looking for a directory that starts right after that > whitespace which, of course, is a mistake. Probably the only way out of it for now > is renaming as you have done. But I do plan to make the experiment later in this > release cycle of using source, build, and install tree with whitespace in the names to > see how many of the problems that result from that I can address by judicious use > of quotes. Let me know the exact CMake variable where "d:\nag\efbuilder 6.1\gtk" > is being broken up at the whitespace, and I might be able to fix that issue with > quotes as well. > Yes, I will do that, but the thing that surprised me is that CMake finds this directory at all! It may be something it finds in the registry, but the directory itself has nothing to do with the MS Visual Studio toolchain nor is it a directory that has an obvious connection to GTK (unless you descend deep enough). Of course, the whitespace issue is a more pervasive one - it has given much more grief over the years than any benefits I can think. Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |