Hi Phil,

 

I use CMake 2.8.10.2 for Windows (both bare and MinGW), for Cygwin builds I use the CMake version that comes with Cygwin:

2.8.11.2 (hm, newer than the Windows one).

 

You remark about there being different generators for 32- and 64-bits builds is something I still must look into. Using the 64-bits set of build tools and using the 32-bits generator may have confused CMake, so that the generated Visual Studio solution plus projects was compromised.

 

Regards,

 

Arjen

 

From: phil rosenberg [mailto:philip_rosenberg@yahoo.com]
Sent: Friday, December 13, 2013 4:56 PM
To: Arjen Markus; P Lplot development list
Subject: Re: [Plplot-devel] Sorry - another build issue

 

Cheers Arjen

I've worked through the CMAKE files outputting CMAKE_LIBRARY_PATH_FLAG as I go to narrow down the point at which it changes. Rather oddly it occurs at the line:

enable_language(D OPTIONAL)

in d.cmake. What's most odd is that I don't and never have used or had anything to do with D. Is this maybe a bug in CMake? note that it gets changed from "-Libpath:" to "-L+" which also doesn't correspond to the "-L" flag that might be a gcc thing.

As I don't use D I can just -DENABLE_d=OFF and this fixes the problem. Which version of CMake are you using Arjen?

 

Phil

 

On Friday, 13 December 2013, 12:57, Arjen Markus <Arjen.Markus@deltares.nl> wrote:

Hi Phil,

 

no, it is part of the compiler information, that is why I thought of gcc and friends.

 

Regards,

 

Arjen

 

From: phil rosenberg [mailto:philip_rosenberg@yahoo.com]
Sent: Friday, December 13, 2013 1:56 PM
To: Arjen Markus; P Lplot development list
Subject: Re: [Plplot-devel] Sorry - another build issue

 

No, don't have gcc or any gnu stuff on this system. Is this variable set by CMAKE based on the generator then?

 

On Friday, 13 December 2013, 12:20, Arjen Markus <Arjen.Markus@deltares.nl> wrote:

HI Phil,

 

I see this ā€œ-Lā€ prefix in a couple of CMake modules, but for the relevant compilers the value is always ā€œ-LIBPATH:ā€.

 

Do you have a GNU compiler somewhere in the path? My wild guess is that is what is causing the trouble.

 

Regards,

 

Arjen

 

From: phil rosenberg [mailto:philip_rosenberg@yahoo.com]
Sent: Friday, December 13, 2013 1:15 PM
To: P Lplot development list
Subject: [Plplot-devel] Sorry - another build issue

 

Hi again

I think this is the last build issue I've got. When I try to add wxWidgets to my build CMAKE seems to be adding the prefix -L+ to the following libraries: winmm comctl32 rpcrt4 wsock32. These are system libraries returned in wxwidgets_LINK_FLAGS by findwxWidgets. Outputting wxwidgets_LINK_FLAGS right at the end of CMakeList.txt indicates that this prefix is not there, however trying a few other things I found that CMAKE_LIBRARY_PATH_FLAG is "-L+"

 

Does anyone know what can be done about this? The other libraries do not get this prepended, however, they are full paths so perhaps that is why.

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.

 

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.

 

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.