User forums > Using Code::Blocks
Missing files to compile with Autotools
mandrav:
--- Quote ---I think I should be changing the default release Code::Blocks uses to the ansi version, but I'm not sure how to do it. I'll have a look in the wxWidgets docs.
I don't know if the prefix is all right either.
--- End quote ---
See the options you can give to configure: "./configure --help"
Especially, check --with-wxdir, --with-wx-config, --with-wx-prefix and --with-wx-exec-prefix
grv575:
also if you do:
wx-config --unicode=no
wx-config --libs
maybe this will switch to the ansi version?
fiammy:
No change. Could it be that the configure needs a static library build? When I check the libs with wx-config --libs I get
-L/usr/lib64 -pthread -L/usr/X11R6/lib64 -lwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 -lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5
However, when I do the wx-config --static --libs, I get an error message I have been seeing a lot ;
ls: wx*-2.4-config: No such file or directory
ls: wx*-2.4-config: No such file or directory
Warning: No config found to match: /usr/bin/wx-config --static --libs
in /usr/lib64/wx/config
If you require this configuration, please install the desired library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it. You may use wx-config --list to see all configs available in
the default prefix.
wx-config --list gives me :
Default config is gtk2-unicode-release-2.5
Default config will be used for output
Alternate matches:
gtk2-ansi-release-2.5
ls: wx*-2.4-config: No such file or directory
ls: wx*-2.4-config: No such file or directory
Any further ideas would be welcome :-)
mandrav:
--- Quote ---Could it be that the configure needs a static library build?
--- End quote ---
On the contrary. Once, I had problems because it would use the static lib while codeblocks needs a shared library to link...
mandrav:
I 'm now trying to build C::B in Ubuntu Hoary using the distro-supplied wxGTK-2.5.3.
I 'll keep you posted.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version