Hi Arjen,

> The problem with the additional libraries is that right now we rely on them
> being present at build-time and at run-time - we do not have mechanisms 
> to detect
> whether they are actually available at run-time. Nothing to worry about 
> in the
> current way of working, but a nuisance when we deliver binaries:
> 
> If a program that relies (directly or indirectly) on a DLL (like gd.dll) 
> can not
> find it at start-up, you may get a message about it not being able to 
> find some
> DLL _or_ it just dies. I know of no way to prevent that from happening, 
> unless
> we explicitly load the DLL - in a libtool-like fashion.

I think the way to go is the way Alan and I agreed on. Write batch files 
which you and I use to make these packages "privately". It should work 
like that:

1) Having a working plplot library, with all libraries included, which 
we want to include - in the moment gd, freetype, cd, wxwidgets, agg, 
qhull are external, while only gd and wxwidgets are actually dlls for 
Visual C++ 6.0 (others are statically linked in).

2) Run a batch file, which runs:
   a) make package
   b) untar the package somewhere temporarily (since tar is no good for 
windows)
   c) copy possible dlls into the directory where plplotd.dll resides
   d) zip it

You need only tar and zip from somewhere (e.g. gnuwin32.sf.net), since 
windows doesn't provide it by default

You don't have any more problems regarding the external dlls, since they 
are in the same place as plplotd.dll - and if plplotd.dll can be found, 
all other dlls can be found as well.

I think this is the way to go - this would be no "official" batch file, 
just one for you and me, or others who are interested in providing 
binaries for some configuration we don't have.

Werner

-- 
Dipl. Ing. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to