Survex 1.2.17 fails to compile on Fedora 21

Bill Gee bgee at campercaver.net
Mon Mar 2 12:59:26 GMT 2015


Hi Olly -

I actually have TWO versions of wxGTK installed.  I had only version 2.8 as 
that is required by Therion.  Survex complained about that (and proj as well), 
so I installed wxGTK3.  

Perhaps I need to remove wxGTK2.8??  Will Therion compile with version 3?

I will give a try with your new git patch.

Thanks - Bill Gee

============
[bgee at main2 ~]$ rpm -qa | grep wxGTK
wxGTK-gl-2.8.12-13.fc21.x86_64
wxGTK3-media-3.0.2-2.fc21.x86_64
wxGTK-devel-2.8.12-13.fc21.x86_64
wxGTK3-devel-3.0.2-2.fc21.x86_64
wxGTK-2.8.12-13.fc21.x86_64
wxGTK3-3.0.2-2.fc21.x86_64
wxGTK-media-2.8.12-13.fc21.x86_64
wxGTK3-gl-3.0.2-2.fc21.x86_64
=============


On Monday, March 02, 2015 09:36:14 Olly Betts wrote:
> On Sun, Mar 01, 2015 at 08:30:56AM -0600, Bill Gee wrote:
> > In file included from gfxcore.h:35:0,
> > 
> >                  from mainfrm.h:35,
> > 
> >                  from aven.cc:30:
> > labelinfo.h: In member function ‘const char* LabelInfo::name_or_anon()
> > const’: labelinfo.h:78:39: error: cannot convert ‘const wxChar* {aka
> > const wchar_t*}’ to ‘const char*’ in return
> > 
> >   if (!text.empty()) return text.c_str();
> >   
> >                                        ^
> 
> OK, this change should fix that:
> 
> http://trac.survex.com/changeset/d7ee3286eb62f48f485748b6bbae40a546833637/gi
> t
> 
> I'd recommend using wxWidgets 3.0 if you can though, as wxWidgets 2.8 is
> no longer maintained - the last release (2.8.12) was just under 4 years
> ago now.
> 
> It looks like Fedora 21 has it:
> 
> https://apps.fedoraproject.org/packages/wxGTK3-devel
> 
> Cheers,
>     Olly




More information about the Survex mailing list