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.
First off, are you sure you want to recompile wxWidgets ? Ubuntu has the packages you need to develop wxWidgets in the synapic repository, which also makes it easier to distribute your binaries. The whole idea of packages is that if wxWidgets gets updated by the devs your application automatically benefits from the updates. Linking statically is usually not a good idea.
The hardy gtk package is libgtk2.0-0, which (unless you've done something unusual to your system) is 2.12. That will probably already be installed; however you'll need the corresponding devel package, libgtk2.0-dev.
You'll need build-essential too, unless you've installed its components separately.
Jorg wrote:First off, are you sure you want to recompile wxWidgets ? Ubuntu has the packages you need to develop wxWidgets in the synapic repository, which also makes it easier to distribute your binaries. The whole idea of packages is that if wxWidgets gets updated by the devs your application automatically benefits from the updates. Linking statically is usually not a good idea.
- Jorgen
Ah!
That seems a lot easier!
Which package should I get from Synaptic? My guess is libwxgtk2.8-dev but I'm not confident enough!