X

Compiling with wxWidgets on OpenSolaris

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).

  1. Install the wxWidgets package:

          
    $ pfexec pkg install SUNWwxwidgets
    $ wx-config --version
    2.8.8
  2. Install the Sun Studio Compiler:

          
    $ pfexec pkg install sunstudioexpress@0.2008.11
    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.


  3. Build your application:

          $ /opt/SunStudioExpress/bin/CC `wx-config --cxxflags --libs` yourapp.cpp -o yourapp

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.