Ok, just to close (?) this topic. > > Werner, does that change solve the issue? If not, then perhaps > libwxwidgets > and libgd as currently installed on your system are linked to > different jpeg > and png libraries, and you may have to reinstall one or both of them > to > use consistent jpeg and png libraries if the Mac OS X linker and run- > time > loader is not smart enough to handle that situation.
this partly solves my issues. CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH are the first in the search paths for the cmake modules and if I set them to /opt/local/lib and /opt/local/include respectively cmake happily find all macports libraries. If I don't do that cmake gets confused: It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker. Directories and libraries involved are: Directory: /opt/local/lib contains: Library: /usr/lib/libltdl.dylib Directory: /usr/X11/lib contains: Library: /opt/local/lib/libXrender.dylib Library: /opt/local/lib/libfontconfig.dylib Library: /opt/local/lib/libfreetype.dylib Library: /opt/local/lib/libpng12.dylib Directory: /usr/X11R6/lib contains: Library: /opt/local/lib/libXrender.dylib Library: /opt/local/lib/libfontconfig.dylib Library: /opt/local/lib/libfreetype.dylib Library: /opt/local/lib/libpng12.dylib Directory: /usr/lib contains: Library: /opt/local/lib/libexpat.dylib Library: /opt/local/lib/libiconv.dylib Library: /opt/local/lib/libz.dylib After I set the CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH enviroment variables it compiles. If I compile the static library I get link errors regarding the wxwidgets.o object file: Undefined symbols: "___cxa_guard_release", referenced from: wxPLplotWindow::OnIdle(wxIdleEvent&) in libplplotd.a(wxwidgets.o) "operator delete[](void*)", referenced from: fill_polygon(PLStream*) in libplplotd.a(wxwidgets.o) agg::pod_allocator<unsigned char>::deallocate(unsigned char*, unsigned int)in libplplotd.a(wxwidgets.o) agg ::pod_allocator <agg::scanline_u8::span>::deallocate(agg::scanline_u8::span*, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<agg::cell_aa>::deallocate(agg::cell_aa*, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<agg::cell_aa*>::deallocate(agg::cell_aa**, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<agg::vertex_dist>::deallocate(agg::vertex_dist*, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<agg::vertex_dist*>::deallocate(agg::vertex_dist**, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<agg::point_base<double> >::deallocate(agg::point_base<double>*, unsigned int)in libplplotd.a(wxwidgets.o) agg ::pod_allocator <agg::point_base<double>*>::deallocate(agg::point_base<double>**, unsigned int)in libplplotd.a(wxwidgets.o) agg ::pod_allocator < agg ::rasterizer_cells_aa < agg ::cell_aa > ::sorted_y >::deallocate(agg::rasterizer_cells_aa<agg::cell_aa>::sorted_y*, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<double>::deallocate(double*, unsigned int)in libplplotd.a(wxwidgets.o) agg::pod_allocator<double*>::deallocate(double**, unsigned int)in libplplotd.a(wxwidgets.o) "___cxa_end_catch", referenced from: wxRunApp(PLStream*, bool)in libplplotd.a(wxwidgets.o) install_buffer(PLStream*) in libplplotd.a(wxwidgets.o) "operator delete(void*)", referenced from: wxPLCreateApp() in libplplotd.a(wxwidgets.o) plD_tidy_wxwidgets(PLStream*) in libplplotd.a(wxwidgets.o) plD_tidy_wxwidgets(PLStream*) in libplplotd.a(wxwidgets.o) wxPLplotFrame::wxPLplotFrame(wxString const&, PLStream*)in libplplotd.a(wxwidgets.o) wxPLplotFrame::wxPLplotFrame(wxString const&, PLStream*)in libplplotd.a(wxwidgets.o) It complains about symbols normally provided by the standard c++ library? So either this library is not linked in (why?) or C/C++ mixup or ... no idea. Disabling the wxwidgets driver let plplot compile and also there are no(t many) problems executing the examples, that is, aqt/xwin/xcairo have actually problems, but png and others work. Regards, Werner > > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation > for stellar interiors (freeeos.sf.net); PLplot scientific plotting > software > package (plplot.org); the libLASi project (unifont.org/lasi); the > Loads of > Linux Links project (loll.sf.net); and the Linux Brochure Project > (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ -- Dr. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general