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
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

jdipol

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today