where is wx-config on Ubuntu

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
wwuster
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Oct 31, 2005 7:23 am

where is wx-config on Ubuntu

Post by wwuster »

I'm running ubuntu 5.1 and have installed wx2.6* using synaptic. But I cannot find wx-config. Where is that?

William
Jorg
Moderator
Moderator
Posts: 3971
Joined: Fri Aug 27, 2004 9:38 pm
Location: Delft, Netherlands
Contact:

Post by Jorg »

jorg@burgess:~> whereis wx-config
wx-config: /usr/local/bin/wx-config

This is on Suse10 after a make && make install. I think you are better off making the binaries yourself. Much more you can specify.

Regards,
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
wwuster
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Oct 31, 2005 7:23 am

Post by wwuster »

my /usr/local/bin is empty.

I must not have wxWidgets installed correctly or fully. I just used synaptic (apt) to install wx2.6*
I have also installed libgtk2.0-0

Perhaps there's something else I need to do but I don't know what. How do you configure wxWidgets after you "install" it (in Ubuntu)? Eg, I'd like to enable opengl, mediactrl etc.

William
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

Try to use gtk-confing if any.

I tried to install wxWidgets manually

wx2.6-headers_2.6.1.1ubuntu3_i386.deb
libwxgtk2.6-0_2.6.1.1ubuntu3_i386.deb

and wx-config worked fine for me.
wwuster
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Oct 31, 2005 7:23 am

Post by wwuster »

I'm not sure how to do it in synaptic. I had to manually build it from source and install it with 'make install'. It works fine, but I'd like to know how to do it the 'official' way in Ubuntu.

William
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

You can always download pre-built packages from Ubuntu's web-site and install them manually. I downloaded wxWidgest packages from http://www.packages.ubuntu.com/hoary
chris
I live to help wx-kind
I live to help wx-kind
Posts: 150
Joined: Fri Oct 08, 2004 2:05 pm
Location: Europe

Post by chris »

Try to install libwxgtk2.6-dev. That should get you going.
this->signature=NULL;
Takeshi Miya
Earned a small fee
Earned a small fee
Posts: 12
Joined: Sun Jan 22, 2006 11:43 pm

Post by Takeshi Miya »

I don't understand why the wxWidgets team hasn't included a pkg-config file.
That would help a lot to not requiere to use wx-config, which in most cases are in a separate package.

As you see, in Ubuntu for example, "wx-config" its included in the package "wx-common". It's simply not intuitive, as this thread demonstrates. :(
Post Reply