wxWidgets has been integrated into OpenSolaris. Here are a couple tips for building against these libraries that worked for me (I am running on OpenSolaris 2008.11).
-
Install the wxWidgets package:
$ pfexec pkg install SUNWwxwidgets
$ wx-config --version
2.8.8
-
Install the Sun Studio Compiler:
Note that the 2009.3 version of the compiler is also available in the repository, but I had better luck with the 2008.11 version.
$ pfexec pkg install sunstudioexpress@0.2008.11
-
Build your application:
$ /opt/SunStudioExpress/bin/CC `wx-config --cxxflags --libs` yourapp.cpp -o yourapp