User forums > Using Code::Blocks
ambiguous overload for 'operator[]' during compilation of Code::Blocks
Jenna:
I have to correct me:
wxWidgets is installe below /usr/lib64 in centos and in fedora14.
wx-config is a softlink to /usr/lib64/wx/config/gtk2-unicode-release-2.8 or /usr/lib/wx/config/gtk2-unicode-release-2.8 or any other configuration, so if you change the link, it should work without that hack.
On fedora it's a wrapper-script, that can be called with the --arch argument to force an arch, without the argument the result of uname -m is used.
Maybe update-alternatives exists for centos (as it does for fedora and debian/ubuntu), to configure /usr/bin/wx-config the "right" way (it does not exist or is not installed on my system).
KirkD:
Whew!
That makes more sense now. At least we're seeing the same type of thing.
Yes, the hack was driving me crazy. 8^( I've successfully built Code::Blocks on two CentOS 5.5 systems this afternoon with the modified installation of only x86_64 wx libraries.
Thank you for all your help and the discussion. It seems there is always more to learn in LINUX, eh?
-Kirk
Navigation
[0] Message Index
[*] Previous page
Go to full version