From: PGridDev <pgr...@ya...> - 2010-11-07 12:43:30
|
Hi there I'm not a device context expert, so just 2 general questions : - have you built the wxWidgets libs with '--enable-graphics-ctx' (on my windows build for v2.8.9, it is disabled by default) - are you linking libs in the right order Cheers, Ronan On 06/11/2010 17:19, José Augusto Jr. wrote: > Hi all, > > I configured and made wxFreeChart with the following config: > > Configuration for WXFREECHART 1.4 successfully completed. > Summary of main configuration settings for WXFREECHART: > - DEBUG build > - UNICODE mode > - SHARED mode > > The wxWidgets build which will be used by WXFREECHART 1.4 > has the following settings: > - DEBUG build > - UNICODE mode > - SHARED mode > - VERSION: 2.8.10 > - PORT: gtk2 > > The demo application runs ok, but when I try to use the library within another program, I get an error: > > /usr/local/lib/libwxcode_gtk2ud_freechart-2.8.so <http://libwxcode_gtk2ud_freechart-2.8.so>||undefined reference to `wxGCDC::wxGCDC(wxWindowDC const&)@WXUD_2.8'| > > I know that it is related with a wxUSE_GRAPHICS_CONTEXT define, but I don't know how to solve this issue. > > What I must do? #define this option? Where? > > Thanks in advance. > > -- > sds. > Written by - Escrito por: > José Augusto M. Andrade Jr. - JamaJ |