**** BEGIN LOGGING AT Thu May 14 02:59:57 2009 May 14 09:25:15 Good morning all May 14 09:26:41 I'm trying to build wxWidgets with debug support for the beagleboard, but I can't find the target in the recipes. Anybody has a clue about this? May 14 12:00:26 there is a recipe, but I think it fails due to compiler versions May 14 12:00:37 ls recipes/wx* :) May 14 12:03:49 last I looked at wx* its build system was an underpant stain May 14 12:05:13 think I eventually got it to build so I could build amule May 14 12:07:36 it works on older compilers May 14 12:07:40 I suspect c++ issues May 14 12:08:03 basically find a patch used by a distro useing recent c++ May 14 12:08:21 of course it won;t build for anything in oe anymore since the toolchain upgrade :) May 14 12:08:40 Crofton|work: the main issue is that we have to override its autotools because it is just so broken May 14 12:09:07 xora builds with gcc-4.1.x not with 4.3.x May 14 12:32:06 Hi Crofton May 14 12:34:03 Thanks for help. I searched the wxwidgets directory and found nothing. I also tried with 'grep -r deb recipes/wxwidgets' and found nothing May 14 12:39:11 ls recipes/wxwidgets/ May 14 12:39:11 wxbase_2.6.4.bb wxbase.inc wxwidgets.inc May 14 12:39:11 wxbase-2.8.9 wxwidgets_2.6.4.bb wxwidgets-unicode_2.8.10.bb May 14 12:39:11 wxbase_2.8.9.bb wxwidgets_2.8.10.bb May 14 12:41:15 in that packages there is no debug configuration May 14 12:41:46 I have succesfully built wxbase-2.8.9 (I don't use X in my app), but there is no recipe for debug libraries May 14 12:43:42 the recipes build 'base-*-release-2.8' libraries. I need to build 'base-*-debug-2.8' libraries May 14 12:49:10 doragasu: are you a windows guy? May 14 12:49:18 no May 14 12:49:28 or is this another wxwidgets insanity? May 14 12:49:33 I'm using Angstrom and a beagleboard May 14 12:50:03 maybe another problem with wx :( May 14 12:50:14 linux stuff normally inlines debug info May 14 12:51:52 I guess if they have split builds you'll have to edit the .bb file May 14 12:52:59 I'm noob to openembedded, and I will need a lot of help for that. (BTW, what is a 'split build'?) May 14 12:53:34 doragasu: from what you are saying sounds like wxwidgets is designed windows fashion, where the debug build is totally different build than release build May 14 12:53:55 doragasu: are you just needing the symbol data to debug with gdb May 14 12:54:42 I used wx in the past with Ubuntu, and to debug, you need to link to the debug libraries. If you link using the standar libraries, you get unresolved externals. May 14 12:55:31 doragasu: try looking in local.conf.sample on how to turn on debug build in OE, rebuild wxwidgets then install the -dbg package as well May 14 12:55:43 doragasu: that should hopefully do what you want May 14 12:57:13 Sorry for my noob questions. So if I turn on debug build in OE, it will build a wx*-dbg package with debug information? May 14 12:57:40 yes May 14 12:57:46 I'm not sure if that is what I need, but I'll give it a try May 14 12:58:05 well it will allow you to debug with gdb May 14 12:58:44 Just to clarify, I do *not* want to debug wx internals. I only need to build programs that use wx and debug that programs. May 14 12:59:19 doragasu: will work for that as well, as long as the programs arent calling special debug versions of functions May 14 12:59:27 To debug programs that use wx, you need to add -D__WXDEBUG__ to the compiler flags May 14 12:59:51 that is what causes the unresolved externals unless you link to the debug libraries May 14 13:00:05 so the programs are calling some special magic then May 14 13:00:36 is there any reason you cant write the programs on your desktop then cross compile them? May 14 13:00:43 would make your life easier May 14 13:00:43 If I remove -D__WXDEBUG__ and link to the release libraries, I can debug, but sometimes the debugger hangs. Maybe due to some issue with wx, maybe because of other thing. May 14 13:01:32 Yes, I use special hardware, and need to run the program in the beagleboard May 14 13:02:12 arse :-D May 14 13:03:14 then I think you are in the hassle of making a debug .bb file May 14 13:03:19 Yes, that's too bad May 14 13:03:42 * XorA secretly rm -rf wxwidgets :-) May 14 13:04:10 XD May 14 13:04:50 I'm pretty noob, and wx looked useful at first. Do you know an alternative to wx with better stability and portability? May 14 13:05:47 doragasu: not really there is gtk+ for windows these days May 14 13:06:01 or I guess qt, but that can be a pain in OE as well May 14 13:06:23 QT seems the best bet in general - I've never really noticed succesful WX applications. May 14 13:06:26 I can't use GTK, because I'm building a console application... May 14 13:06:46 I don't know if QT works for console apps May 14 13:06:49 doragasu: gtk has glib underneath it. May 14 13:06:58 XorA, don't do that May 14 13:07:00 doragasu: what services do you need? May 14 13:07:02 You can use QT for console stuff but it doesn't really want to do it. May 14 13:07:12 sadly, I sort of care :( May 14 13:07:33 I use mostly sockets, threads, strings, lists and some more stuff May 14 13:08:14 ah I see May 14 13:09:20 I normally dont do portable development so I use posix for that stuff May 14 13:09:43 I used MFC for Windows in the past, and wx looked similar May 14 13:10:16 I could have used posix, but wanted to make the program object oriented May 14 13:10:21 For that sort of non-GUI stuff there are a bunch of other portability APIs out there, it's the GUI that really limits your options. May 14 13:10:39 * broonie did this in a past life by rolling his own :) May 14 13:12:27 doragasu: well if your using C++ strings and lists and stuff are built into the language May 14 13:13:26 Yes, but not sockets, threads and some more things (I think). And it's pretty useful to have that to create multithreaded servers easily. May 14 13:14:22 * XorA curses his memory May 14 13:14:40 Ive used exactly what you need before, but Im totally stumped as to its name May 14 13:15:40 * XorA doesnt code much these days May 14 13:16:47 Don't worry. Anyway the app is near completion, and maybe it's too late to change to another API. I'll have to build a -deb package or try to figure out how to split the program to test it in my Ubuntu desktop. May 14 13:28:10 fire up ubuntu on the beagle May 14 13:30:38 I'm pretty happy with Angstrom... Maybe Ubuntu will not work very well with 128 MB May 14 13:31:18 should be ok for debugging a console application afterall you dont need to fire up X May 14 13:31:26 Also it would take me more time to guess how to install Ubuntu in the BB, and I'm not sure if the ARM distribution of Ubuntu will have the debug libraries for wx... May 14 13:31:35 or we beat Crofton|work to improve wxwidgets :-) May 14 13:32:24 heh May 14 13:32:33 my todo list is long May 14 13:33:10 that's too bad :D May 14 13:37:00 buy his wife shoes, the best way to optimise his priorities :-D May 14 13:38:33 XD May 14 13:51:36 or actually buy me shoes then I can afford to not work :-) May 14 13:53:47 broonie, hi May 14 13:54:19 broonie, about the wm9712 ... the codec doesn't kick in if I don't warmreset after coldreset May 14 13:55:14 * XorA thinks you probably wanted #alsa-soc channel :-) May 14 13:55:50 XorA, I wanted broonie in the first place ... but he's very likely asleep or something as always ;-) May 14 13:56:31 I'm awake but XorA is right about the channel. May 14 13:57:02 broonie would never sleep at work :-) May 14 13:57:25 mebbe in the gutter outside, but not in work :-) May 14 14:35:00 XorA, well ... I dunno where broonie's from ;-) May 14 14:36:43 marex: Scotland, same as me May 14 14:37:11 XorA, you know each other ? May 14 14:37:21 yeah May 14 14:37:25 I see :-) May 14 14:37:46 XorA, I'm from Czech Republic ... same as Sleep_Walker ... and surprisingly, I know him as well ;-) May 14 14:37:50 broonie was the unlucky one :-) May 14 14:38:07 XorA, huh? why unlucky ? May 14 14:38:16 he knows me :-D May 14 14:38:22 :-D May 14 14:38:53 that's not too indifferent from here ... I'm unlucky too :-T May 14 14:39:31 you know ... Sleep_Walker looks like a monster ;-) May 14 14:45:56 XorA, I said nothing ... :-) May 14 14:46:04 marex: grrrrr May 14 14:46:46 marex: you forgot about the livelogs :-D May 14 16:52:14 XorA, can you poke broonie ? May 14 18:22:15 hi **** ENDING LOGGING AT Fri May 15 02:59:58 2009