Hi Phil,

-----Original Message-----
From: Phil Rosenberg <p.d.rosenb...@gmail.com>
Sent: 11 July 2019 14:12
To: plplot_general <plplot-general@lists.sourceforge.net>
Subject: [Plplot-general] CMake problem with hyphen in path

Hi Alan (I guess this is your expertise) I've just tried to build plplot on a 
new Windows system and I am getting problems.

After some digging I found that the issue is that my home directory (where all 
my libraries are stored and where I am building plplot) contains a hyphen with 
a space either side. Specifically it is C:\Users\<my_username>\Onedrive - 
<my_employer>\Documents\usr\...
I would imagine I'm not the only person who has hit this problem as this is the 
name that seems to be given by default when using Ondedrive for business.

This filename then interacts with the logic in cmake_link_flags - see 
plplot/modules/cmake/pkg-config.cmake line 261, which replaces " -"
with ";-".

This splits all my library paths in two and obviously causes errors.

I'm not really sure what to do about this? Any suggestions?


>>AM:: I have the same pattern in my home directory, but I never build any 
>>software there 😊. We did do a test with directories have spaces and IIRC, we 
>>sorted out the problems this was causing. Just checked: I did that test in 
>>November last year and as I have the examples there, it must not have been a 
>>problem. I do have an odd subdirectory, "d*" (where the asterisk is actually 
>>a centred dot). That is due to trying to install PLplot, not juist build it. 
>>If the pattern you describe causing problems and a simple directory name like 
>>"build with spaces" (the name I used) does not, there are still some issues 
>>to solve.

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.

_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to