Survex 1.2.18 released

Robert Jones rob at robjones.org
Thu Jun 4 05:07:16 BST 2015


Hi Oli,

I’ve attempted to build 1.2.18 on OSX 10.10.4.

This bails with an undefined reference to wxClientDC(WIN).GetClientScaleFactor() in mainfrm.cc.
If I remove the OSX #ifdef then the build completes successfully. 

I can’t find any references to GetClientScaleFactor or an argument for scale in the wxBitmap call in WX.

I did try the workaround in this post, explicitly managing a non-native toolbar:
https://groups.google.com/forum/#!msg/wx-commits-diffs/kkMc1qvLCQ4/b0gwJ4xbWYQJ

This change did work, but I saw some odd corruption that you can see in the screenshot attached. The suggestion seems to be to use OSX-style, larger icons in a native toolbar.

Rob
 
> On 4 Jun 2015, at 11:22, Olly Betts <olly at survex.com> wrote:
> 
> On Wed, Jun 03, 2015 at 01:55:47PM +0100, HughStL wrote:
>> On 03/06/2015 13:49, Olly Betts wrote:
>>> There's no Mac OS X build of this release currently.  You can build
>>> your own from source (see the instructions on the download page).
>>> If someone with a mac is willing to make a build available, let me
>>> know.
>> 
>> What instructions on the download page?....can't see any
>> 'instructions' anywhere. ??
> 
> Start from "If you want to build it yourself" on:
> http://survex.com/download.html?platform=macosx
> 
> These days, I suspect everyone with a Mac has a 64-bit Intel processor,
> so I'd try the default build first.  Apparently 10.6 dropped support for
> PowerPC, and 10.7 dropped support for 32-bit Intel.
> 
> Cheers,
>    Olly
> 
> -- 
> Survex http://lists.survex.com/mailman/listinfo/survex


More information about the Survex mailing list