From: Arjen M. <Arj...@de...> - 2016-05-25 06:25:54
|
Hi Alan, > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > Sent: Tuesday, May 24, 2016 9:24 PM > To: Arjen Markus > Cc: plp...@li... > Subject: RE: NAG whitespace issues > > On 2016-05-24 17:58-0000 Arjen Markus wrote: > > > Having had a closer look at the output I now see what is going on: > Cmake picks up the location of the pkg-config program that comes as part of the > NAG compiler installation. Then several directories are added as arguments to -I > options, only without the quotes to group the various parts. > > > As this means Freetype libraries are found, they become part of the > compiler invocation for plfreetype.c. I have attached the tarball for your reference. > > Hi Arjen: > > Thanks for that tarball, and I exactly agree with your analysis of the situation. And > it should not be too difficult to replicate the issue here. However, CMake blank in > directory issues are tricky to fix correctly so I will do my best before the release, but > I can give no guarantee of success. > > Meanwhile, for your case is there any chance you can simply work around the > problem by using a non-default NAG installation prefix without blanks in that prefix > name? If that alternative solution works, then we could advise our Windows NAG > users (who otherwise are all likely to be caught by this) to avoid blanks in their NAG > installation prefix in case I cannot find a fix. > I already installed it in a non-default location. The "EFBuilder 6.1" part of the path comes from the installation itself. I set the installation directory to "d:\NAG". I just examined the PATH variable: it contains the directory "D:\NAG\EFBuilder 6.1\bin". I suspect that CMake finds pkg-config.exe via this path. So we are pretty much stuck with this behaviour. 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. |