On 2014-04-04 17:27+0200 Thorsten Behrens wrote:

> Hi Phil!
>
>> I remember finding some similar linker issue on my Windows system. My
>> memory is telling me it was a lower case l that was prepended, but it
>> might have been the same thing as you. I just tried to find my posts to
>> the list to confirm either way, but I can't find them. From memory it
>> seemed almost like a buffer overrun thing. I spent some time adding
>> debug output to try to find where it got appended and it was related to
>> checking for D, but I like you haven't got a D compiler. Explicitly
>> adding -DENABLE_d=OFF to my command line fixed the problem for me.
>
> Astonishment!!!
>
> I ran CMake again building PLplot, but this time with -DENABLE_d=OFF added
> to the command line. Now, all the linker input directives are given
> correctly, i.e. without this strange "-L+" prefix. They are built without
> the complete path - as before, when I tried several things together with
> Arjen - but this is no wonder and does not have any negative effect on the
> final compilation.
>
> @Arjen:
> It seems to me, as if the D-branch of the CMake modules has some strange
> side effects. Is there anything I should try?

I don't think we should fiddle with the D language support for now.
The reason is language support under CMake is badly documented so it
takes quite an effort to get it right, and in any case that D
support code was imported from another group's efforts so nobody
here understands it.

Instead, what I have decided to do (revision 13095) is to
set -DENABLE_d=OFF as the default on Windows.  Furthermore,
if a Windows users goes out of their way to specify -DENABLE_d=ON
they will be warned of the conflict with wxwidgets.

I hope everyone is satisified with that semi-permanent workaround to
the interference on Windows between D language support and wxwidgets
linking.

Thanks, Thorsten, for reminding us of this issue which we had not paid
enough attention to until now.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

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

Reply via email to