Code::Blocks Forums

User forums => Help => Topic started by: cecilio on October 14, 2007, 05:06:53 pm

Title: which wxWidgets version is CB using?
Post by: cecilio on October 14, 2007, 05:06:53 pm
Hi, I'm quite new to Linux and CB.

I managed to install CB in Ubuntu. I also compiled and installed wxWidgets from sources. But when compiling my app. I do not know which wxWidgets library version is CB using for linking with my code. Where is CB instructed about libraries to link?

In project options I have 'wx-config  --version=2.8 --static=no --unicode=yes --debug=yes --libs' but I don't know where is this pointing, either to my my wxWidgets libraries or to some wxWidgets libraries installed with CB

Any help for a Linux beginner?
Title: Re: which wxWidgets version is CB using?
Post by: JGM on October 14, 2007, 05:48:39 pm
On the terminal try this command:

which wx-config
Title: Re: which wxWidgets version is CB using?
Post by: cecilio on October 14, 2007, 06:01:07 pm
Thank you.
the command answer is : usr/bin/wx-config

But, where are the wxWidgets libraries CB is using?
Title: Re: which wxWidgets version is CB using?
Post by: Jenna on October 14, 2007, 08:08:08 pm
codeblocks should be build against wxWidgets 2.8.4

I don't know if there is an official repository for Ubuntu,
if not you can take one of these:

Code
http://apt.tt-solutions.com/ubuntu/ dapper main
http://apt.tt-solutions.com/ubuntu/ edgy main
http://apt.tt-solutions.com/ubuntu/ feisty main
key-import to apt's trusted keys:
Code
wget -q http://www.tt-solutions.com/vz/key.asc -O-  | sudo apt-key add -

to see which version wx-config normally uses you can try
Code
wx-config --version
and to see which configuration it selects use
Code
wx-config --selected-config
all options of wx-config with
Code
wx-config --help
Title: Re: which wxWidgets version is CB using?
Post by: cecilio on October 14, 2007, 09:45:50 pm
thank you