Re: Ubuntu Edgy vs wxWidgets
- Posted by ChrisBurch2 <crylex at freeuk.co.uk> Mar 22, 2007
- 567 views
Matt Lewis wrote: > > ChrisBurch2 wrote: > > > > > > Adding -m32 to the CXX flags forces 32 bit compilation, and reduces the > > error > > count. It shouldn't make a difference whether this is present or not on > > 32 bit machines, so try it, if it doesn't then perhaps add it (or make an > > option for 64 bit machine detection) > > > > However, it still produces a couple of errors (and I can't copy and paste on > > this machine), namely > > > > /usr/local/include/wx-2.8/wx/string.h > > line 827 : wxChar& wxstring::operator[](unsigned int) cannot be overloaded > > line 824 : wxChar& wxstring::operator[](size_t) > > > > this is c++ stuff, which is hopelessly over my head. Sorry. > > > > That's weird. It's all wxWidgets stuff, which, by the way, will need > to be compiled as 32 bit, as well, which may be the problem. > > I found this link, > <a > href="http://www.wxwidgets.org/wiki/index.php/Compiling_WxWidgets#Linux_building_for_i386_on_an_x86_64_machine">http://www.wxwidgets.org/wiki/index.php/Compiling_WxWidgets#Linux_building_for_i386_on_an_x86_64_machine</a> > > It's semi-helpful. He mentions issues about not having 32-bit gtk. > > Matt Ok, yes it was compiled as 64 bit - will recompile with the 32 bit flags, and get back to you - it may be a day or two now. Chris