Hi Arjen,

Arjen Markus wrote:
> On 2009-04-29 13:34, Arjen Markus wrote:
>
>   
>> There is a problem with the shared l'ibraries that are produced during
>> the build: you need to set the path right. Unfortunately this includes
>> _all_ paths: lib/csa, lib/nistcd, lib/qsastime, src, drivers, 
>> bindings/c++, etc.
>>
>> I tried to use the LIBRARY_OUTPUT_PATH variable in the toplevel
>> CMakeLists.txt file, but that failed: libtool can not find the driver
>> DLLs then.
>>
>> (We need to sort this one out!)
>>
>>     
>
> Does anyone have an idea on how to solve this issue? I could revert
> to Werner's Windows-specific libtool look-a-like for all Windows
> builds, but that may be a rather big step just before a release.
>   
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?

Thanks,
Werner
> 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
>   


-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
DVR-Nr: 0005886

email: sme...@iap.tuwien.ac.at
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
       +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499


------------------------------------------------------------------------------
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

Reply via email to