From: José A. J. <ja...@gm...> - 2010-11-07 15:35:41
|
Hi, Thanks for the attention, I was using the wxFreeChart library generated by its makefile, and despite I could not identify any strange option, it was giving me this error. Now I created a new code::blocks project to build the library by myself, and after use it. It worked fine. Best Regards, jamaj 2010/11/7 PGridDev <pgr...@ya...> > 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||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 > > > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > wxCode-users mailing list > wxC...@li... > https://lists.sourceforge.net/lists/listinfo/wxcode-users > > -- sds. Written by - Escrito por: José Augusto M. Andrade Jr. - JamaJ |