Wednesday May 13, 2009

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

Thursday Nov 06, 2008

1680x1050 video resolution on XVR-100

I recently got a new Sun 22" Widescreen LCD monitor to use on my trusty desktop: a SunBlade 1500 with an XVR-100 graphics card runing Solaris 10u4.

Initially I could not get the system to run at the 1680x1050 native resolution of the monitor due to Solaris bug 6362624. Apparently this is fixed in patch 118717 although I ended up using the work-around from the bug report (add an entry to /etc/openwin/server/etc/OWconfig and run fbconfig). This worked great and I'm now running at 1680x1050.

About

jdipol

Search

Categories
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