I have the same empty variable for my visual studio 64 bit plplot build. Looking at https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx
" If you include one of the C++ Standard Library Header Files in your code, a Standard C++ Library will be linked in automatically by Visual C++ at compile time." So as Arjen suggested. Visual Studio is clever enough to detect whether or not to link in the C++ runtime library. Note however, if you have not selected the static runtime option in cmake then to deploy your plplot application you must also install the (freely available) version of the c/c++ runtime for the visual studio version you compiled on. Not that this makes any difference for building and running on the same machine. On 1 June 2015 at 08:09, Arjen Markus <arjen.mar...@deltares.nl> wrote: > Hi Alan, > > > >> -----Original Message----- >> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] >> Meanwhile, would both of you guys please let me know the exact results for >> CMAKE_CXX_IMPLICIT_LINK_LIBRARIES and >> CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES from >> CMakeFiles/<VERSION>/CMakeCXXCompiler.cmake in your build trees for both >> the Cygwin and MSVC platforms? >> > For the Cygwin 64bits build I see the following (CMake 3.1.2): > > set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES > "stdc++;cygwin;advapi32;shell32;user32;kernel32") > > set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES > "/usr/lib/gcc/x86_64-pc-cygwin/4.9.2;/usr/x86_64-pc-cygwin/lib;/usr/lib;/lib") > > set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") > > > > For MinGW/MSYS I get this (CMake 3.2.1, no typo): > > set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES > "stdc++;mingw32;moldname;mingwex;msvcrt;advapi32;shell32;user32;kernel32;mingw32;moldname;mingwex;msvcrt") > > set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES > "d:/mingwnew/lib/gcc/mingw32/4.8.1;d:/mingwnew/lib/gcc;d:/mingwnew/mingw32/lib;d:/mingwnew/lib") > > > > And for MSVC (32 bits, CMake 2.8.12.2): > > set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") > > set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") > > I have no idea why these are empty – maybe the linker itself takes care of > all of the required libraries? > > > > 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-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel