From: Werner S. <sm...@ia...> - 2006-09-14 10:05:18
|
Hi, I'm not sure, but I think Joe uses the plplot library and the wxwidgets driver within his wxWidgets application. If you want to distribute this application on Linux (and it should run on many different Linux distributions), you have to compile wxWidgets as a static library - this is what wxWidgets developers recommend. Than you also have to configure and compile plplot as static and mix c and c++ in the library - but this should be no problem for you, since your wxWidgets application is c++ anyway. It's possible to configure everything so that it uses e.g. the wxWidgets library provided by the distribution, but than it will only run on this distribution, since the wxWidgets library on Linux has many dependencies and you'll run into trouble very soon, i.e. on any other distribution. So, if you have a wxWidgets application - compile the libraries as static libraries and everything should be ok. This is far from perfect (shared would be better), but in the moment this is the way I would recommend (because of the many different Linux distributions). Werner Btw: Compile everything on a rather old Linux distribution (redhat 8.0 or 9.0) - than you'll maximize the number of Linux distribution your app will run on. >> That conclusion is incorrect. If you link your app correctly, and supply >> all the required bits and pieces of PLplot, there should be no problems. >> >> The whole point of shared libraries and plug-ins is to keep logically >> distinct things separate rather than putting all code into one giant >> library. This approach actually minimizes the size of what you have to >> distribute since you only have to include the bits and pieces of PLplot that >> you need rather than everything. However, the trick is figuring out the >> exact bits and pieces that you need (see below). >> > You should regard the wxwidgets driver like any driver: most require > support from > external software. The exceptions are the PostScript driver and several > others, but > you can not usefully do anything with the output unless you have > software and > hardware to display PostScript files on the screen or print them on paper. > > In a very similar way any driver that displays the plot in a window on > screen relies > on system software that is already present, be that X Window or > MicroSoft's Windows > or whatever. You do not deliver that as part of your application. And > you do not need > to use wxwidgets, as there are plently of other device drivers available. > > Regards, > > Arjen > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... 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 |