From: Arjen M. <Arj...@de...> - 2016-02-11 13:51:28
|
Hi Alan, > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > Sent: Thursday, February 11, 2016 10:39 AM > To: PLplot development list > Subject: [Plplot-devel] CMake-3.5.x works flawlessly on Linux so far > > A bad efficiency regression in CMake-3.5.0-rc1 and a whole host of other 3.5 issues > got fixed for CMake-3.5.0-rc2 so I decided to test that CMake version by doing a > complete comprehensive PLplot test (except the interactive part was dropped so I > wouldn't have to babysit the test). > > That noninteractive comprehensive PLplot test of CMake-3.5.0-rc2 worked > flawlessly on Linux just like CMake versions 3.3.2 and 3.4.3 did before this test. So > I urge you all to try 3.4.3 now (especially on non-Linux platforms since as noted > yesterday a bump to that minimum version for those platforms is imminent [i.e., > soon after both Cygwin and MinGW-w64/MSYS2 provide that version of cmake]) > and also try 3.5.0 as soon as that finalized version is released. And please share > those good or bad results for your various platforms with this list to give us all a > better idea of the reliability of the various CMake versions on various platforms. > I have now Cmake 3.4.3 for Windows (should be useable under MingW as well as bare Windows), but after correcting the plplotf95_ifort.def file I ran into a problem with Tcl: tclAPI.c D:\plplot-svn\plplot-git\bindings\tcl\tclAPI.c(792) : warning C4996: '_getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details. C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\direct.h(59) : see declaration of '_getcwd' D:\plplot-svn\plplot-git\bindings\tcl\tclAPI.c(3783) : warning C4101: 'argc' : unreferenced local variable [ 13%] Linking C shared library ..\..\dll\plplottcltk.dll Creating library ..\..\dll\plplottcltk.lib and object ..\..\dll\plplottcltk.exp tclAPI.c.obj : error LNK2001: unresolved external symbol plplotLibDir ..\..\dll\plplottcltk.dll : fatal error LNK1120: 1 unresolved externals LINK Pass 1 failed. with 1120 NMAKE : fatal error U1077: 'D:\cmake3.4.3\bin\cmake.exe' : return code '0xffffffff' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop. The problem is not the message about _getcwd(), but the linkage of plplotLibDir. I haven't analysed the problem in sufficient detail to really understand what is going and why it worked before, but my current guess - and that is a guess, no more - is that the macros that are defined cause the relevant macro PLDLLIMPEXP_TCLTK_DATA( type ) to be defined as "export" instead of "import". More to follow. 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. |