User forums > Using Code::Blocks

Include Directory

<< < (2/3) > >>

pasgui:

--- Quote from: sipickles on December 06, 2007, 07:19:07 pm ---If I do wx-config in a terminal, I get an error - not found.

If I do wx-config --libs, I get a list of packages which support this command, but they are installed (I think!)

What package installs wx-config?

--- End quote ---

It is provided by the libwxgtk2.8-dev package on Ubuntu.

Best regards, pasgui

mandrav:

--- Quote from: pasgui on December 06, 2007, 07:55:06 pm ---
--- Quote from: sipickles on December 06, 2007, 07:19:07 pm ---If I do wx-config in a terminal, I get an error - not found.

If I do wx-config --libs, I get a list of packages which support this command, but they are installed (I think!)

What package installs wx-config?

--- End quote ---

It is provided by the libwxgtk2.8-dev package on Ubuntu.

Best regards, pasgui

--- End quote ---

Actually, the package is called wx-common.

szurilo:
This is strange. I remove all 'wx' thing from my distribution and CB too. Now i install wx2.8.7 and CB nightly 4699 following these pages:
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
http://jens.lody.name/debian/
When i enter wx-config --cflags the output is:
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread
I also have the gcc error messages like this:
/usr/include/wx-2.8/wx/cursor.h   In constructor 'wxbusyCursorSuspend::wxBusyCursorSuspend()':
/usr/include/wx-2.8/wx/cursor.h   65   error: 'wxIsBusy' was not declared
etc.
My project has to be the right compiler/linker settings bec. it worked yesterday with another wx/CB combo.
What's changed?

Szurilo

szurilo:
Ohh and wx-config --libs gives these:
-pthread   -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8

I think the problem is somewhere in the linking process.

Szurilo

szurilo:
Ok problem solved.
When i uninstalled CB, i use - instead of _ in dselect so the CB configure files remained as i suppose.
I found this http://forums.codeblocks.org/index.php/topic,190.15.html where Yiannis told use the --clear-configuration parameter to start CB and clear the old conf. files. Well --clear-configuration didnt exist anymore but a --help told me to use --clean.
CB started with blank page, crashed, i closed, restarted and voila clean,rebuild,run and my program works again. Unfortunatelly this took me 4 hours ;)

Szurilo

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version