User forums > Help

CB keeps crashing (my fault)

<< < (2/3) > >>

_teo_:

--- Quote from: mandrav on October 21, 2006, 03:52:21 pm ---sudo apt-get install wx-common

--- End quote ---
I compiled wxGTK from source. wx-config is available when I type in the terminal. Should I install wx-common anyway or should I update CB settings?

Here is the output:
> which wx-config
> /opt/wx/2.6/bin/wx-config

and
> wx-config --prefix
> /opt/wx/2.6

mandrav:
This:

--- Code: ---/ bin / sh: wx-config: command not found

--- End code ---

and this:


--- Code: ---> wx-config --prefix
> /opt/wx/2.6

--- End code ---

are not saying the same thing...
IOW, one of them is wrong. Which is?

_teo_:

--- Quote from: mandrav on October 21, 2006, 11:32:06 pm ---IOW, one of them is wrong. Which is?

--- End quote ---
I wish I know. Look as I said before I am on Ubuntu 6.06. I checked the "Run command as login shell" in terminal's profile. Otherwise wx-config isn't found there.

As opposite to above in C::B when I try to build a GUI test application (generated with wizards) I can see in "Build Log" that wx-config isn't found.

mandrav, I really appreciate your help. Thank you.
btw, I just updated to latest revision - 3124

mandrav:
OK, I somehow doubt that "/opt/wx/2.6/bin" is in your path.
Either add it to your path, or edit the build options of the generated project and adjust all "wx-config" occurrences with "/opt/wx/2.6/bin/wx-config".

Why did you build wx from source? Is something missing from the version in the repositories?

_teo_:

--- Quote from: mandrav on October 22, 2006, 12:46:35 am ---Why did you build wx from source? Is something missing from the version in the repositories?

--- End quote ---
Well, this is my fault. I didn't know that wxWidgets library is available there. That's why I downloaded latest version, which is 2.7 and built it. Then I wasn't able to build C::B. Later I searched C::B web-site and found the wiki page with explanation on how to build C::B. I tried to uninstall version 2.7 and install 2.6 from repositories. But 2.7 wasn't uninstalled and I had troubles with C::B.

Finally guys in this forum pointed to me that the actual problem is the newer wxWidgets version. They told me to use version 2.6.3 with patch 2. That's why I built 2.6 from source.

Right now, C::B is recompiled and running. I followed your advice to install 2.6 from repositories and rebuilt C::B against it. It compiles my test application. If I notice any further problems I will first ask here for advice before doing something in the wrong way.

Thank you for the nice IDE. I am impressed. Since I use MS Developer Studio on daily basis I can compare.
Teo

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version