Hi Thorsten, no, the modules for D do not seem to be the culprits. My hunch is that the problem lies in FindwxWidgets.cmake, as that is where the relevant libraries are added.
What you should do is add some print-statements in that file to see at what moment the -L+ appears: MESSAGE( STATUS "1 -- wxWidgets_LIBRARIES: ${ wxWidgets_LIBRARIES}" ) (incrementing "1" with each occurrence of setting this wxWidgets_LIBRARIES variable for easy identification). Somewhere along the line the problem must occur. Regards, Arjen > -----Original Message----- > From: Thorsten Behrens [mailto:thorsten.behr...@dorunth.de] > Sent: Friday, April 04, 2014 10:51 AM > To: PLplot development discussion > Subject: Re: [Plplot-devel] Wrong linker directives for Visual Studio 2010 > > Hi Arjen! > > > I can find only one occurrence of -L+ in the CMake module files: > > CmakeDInformation.cmake > > That is exactly the file I also found. > > > For the case that CMake finds a D compiler on Windows, various link > > and library flags are set: > > > > IF(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") > > SET(CMAKE_INCLUDE_FLAG_D "-I") # -I > > SET(CMAKE_INCLUDE_FLAG_D_SEP "") # , or empty > > SET(CMAKE_LINK_LIBRARY_FLAG "-L+") > > SET(CMAKE_LIBRARY_PATH_FLAG "-L+") > > SET(CMAKE_LIBRARY_PATH_TERMINATOR "\\") > > FIND_PROGRAM(DMD_LIBRARIAN "lib.exe") > > > > This looks suspicious to me (this variables are global as far as I > > understand), but I never ran into that, because I do not have a D > > compiler. > > I also do not have a D compiler installed - and CMake does not find any when > configuring the build. So, this CMake module shouldn't have been visited > during the > build. According to the CMakeCache.txt (find this attached in my reply to > Alan) this > indeed hasn't been the case, because none of the above mentioned flags can be > found in the CMakeChache.txt file. > > -- > Best regards, > Thorsten > > ------------------------------------------------------------------------------ > _______________________________________________ > Plplot-devel mailing list > Plplot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/plplot-devel 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-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel