Author Topic: which wxWidgets version is CB using?  (Read 3655 times)

Offline cecilio

  • Multiple posting newcomer
  • *
  • Posts: 17
which wxWidgets version is CB using?
« 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?

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: which wxWidgets version is CB using?
« Reply #1 on: October 14, 2007, 05:48:39 pm »
On the terminal try this command:

which wx-config

Offline cecilio

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: which wxWidgets version is CB using?
« Reply #2 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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: which wxWidgets version is CB using?
« Reply #3 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

Offline cecilio

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: which wxWidgets version is CB using?
« Reply #4 on: October 14, 2007, 09:45:50 pm »
thank you