Hi David,

> No, I used the .dsw project files supplied with wxWidgets. These  
> build static libs, not dlls. In fact I want to work with static libs  
> so that I don't have to distribute many dlls.
>
> Can I configure PLplot to use, and build, static libraries?

That is not possible for wxWidgets. Reason is, that if wxWidgets is  
static, it gets compiled into the plplot driver and in your  
application. There are some symbols in wxWidgets (e.g. wxApp) which  
*must* be unique. If you use the static wxWidgets library, such  
symbols will be created twice (in your app and in plplot library) - it  
may link, but the application crashes then.

This is by design, since the wxWidgets driver works also standalone  
(so there is a wxApp included), it should be possible to configure the  
driver during the cmake configure stage to not work standalone and get  
rid of the wxApp dependency. I'll put that on my todo list and will  
see if I can make that work (but likely not anytime soon).

Best regards,
Werner
>
> Best regards
>
> David

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

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


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to