From: Francesco M. <f18...@ya...> - 2008-12-15 15:31:47
|
Hi, Michal Bližňák ha scritto: > thank you very much for your quick response when it's possible I reply immediately; sorry instead for the delay with this response :/ >- your advices helped me a > lot! But there is an another problem... Now I'm able to create both > makefile and configure file, but I have problems with undefined > references. I use wxXml??? classes in my projects so I'have added > <wx-lib>xml</wx-lib> into my *.bkl file. In previous bakefiles version > it worked fine but now I have got those errors: > ... > > I checked the linker output and it is as follows: > > g++ -o samples/wxSFDemo/sfdemo sfdemo_FrameCanvas.o sfdemo_GUI.o > sfdemo_MainApp.o sfdemo_MainFrame.o sfdemo_wx_pch.o -L./lib -L./lib > -Wl,-rpath,../../lib -lwxcode_gtk2u_wxsf-2.8 -pthread > -Wl,-Bsymbolic-functions -lwx_gtk2u_core-2.8 -lwx_baseu-2.8 > > You can see that only "base" and "core" wx libs are used (there should > be the library file called "wx_baseu_xml-2.8 included as well"). I tried > to add also references to another wx libs (like "adv") to my project, > but the linker still uses only the "core" and "base" libs... > > Is it a bug or am I ommiting something important? You need to add the libraries you need to link to, also to the configure.ac file. E.g. WXCODE_CHECKS([2.8.0], [core,base]) => WXCODE_CHECKS([2.8.0], [xml,core,base]) I probably should better describe this detail in the maintainer's guide. I'll add it asap. Bye, Francesco |