On Fri, 01 May 2009 17:22:09 +0200 Werner Smekal <sme...@iap.tuwien.ac.at> wrote: > Hi Arjen, > >> > Problem is/was that for the original libltdl >implementation a path to the driver directory was added >in front of the driver name. So the driver wasn't found >if all dlls where located in the dll directory. I made a >small change to test-drv-info.c and plcore.c which >doesn't prepend the path also for cygwin now. Together >with the LIBRARY_OUTPUT_PATH correctly set (what do you >mean that you tried to use that? It's already there isn't >it: > > # in windows all created dlls are gathered in the dll >directory > # if you add this directory to your PATH all shared >libraries are available > if(BUILD_SHARED_LIBS AND WIN32) > SET(LIBRARY_OUTPUT_PATH >${CMAKE_CURRENT_BINARY_DIR}/dll) > endif(BUILD_SHARED_LIBS AND WIN32) > > (line 108-112). This is also in the svn, so you >shouldn't need to change that. ) > > and if you add the dll directory to the PATH environment >variable this should make the dynamic drivers work for >Cygwin. At least it works for me now. > > Could you please test that? >
Hi Werner, ah, that was the reason for libtool to fail. As for CMAKE_OUTPUT_PATH: in my version there was still a condition NOT CYGWIN. When I removed that, libtool failed to load the DLLs. I will try it with this new version. Meanwhile, my tests with MinGW give somewhat mixed results: - Making the pkgIndex.tcl file failed at first on a syntax error, but when I tried to reproduce it (now having winbash in the path for testing), it worked. - Running x16af for either F77 or F95 fails - the message when running x16af manually is: x16af -dev wingcc plparseopts: negative number of arguments So that is the ancient problem again :( - Running them interactively works fine, though. I will let you all know about Cygwin and MSYS - no more time today. Regards, Arjen Delft Hydraulics, GeoDelft, the Subsurface and Groundwater unit of TNO and parts of Rijkswaterstaat have joined forces in a new independent institute for delta technology, Deltares. Deltares combines knowledge and experience in the field of water, soil and the subsurface. We provide innovative solutions to make living in deltas, coastal areas and river basins safe, clean and sustainable. 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. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel