Survex 1.2.17 fails to compile on Fedora 21

Bill Gee bgee at campercaver.net
Sun Mar 1 14:30:56 GMT 2015


Hello everyone -

I am running 64-bit Fedora 21.  Survex 1.2.17 fails to compile on my system.  
Here is the last bit from make:

=================
/usr/include/wx-2.8/wx/bookctrl.h: In member function ‘void 
wxArrayPages::Remove(_wxArraywxArrayPages)’:
/usr/include/wx-2.8/wx/bookctrl.h:26:1560: warning: typedef ‘wxDummyCheckInt’ 
locally defined but not used [-Wunused-local-typedefs]
 WX_DEFINE_EXPORTED_ARRAY_PTR(wxWindow *, wxArrayPages);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
^
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();
                                       ^
Makefile:942: recipe for target 'aven-aven.o' failed
make[3]: *** [aven-aven.o] Error 1
make[3]: Leaving directory '/home/bgee/Installs/survex-1.2.17/src'
Makefile:520: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/bgee/Installs/survex-1.2.17/src'
Makefile:406: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/bgee/Installs/survex-1.2.17'
Makefile:342: recipe for target 'all' failed
make: *** [all] Error 2

=====================

I tried it on a 32-bit Fedora 21 system and got the same error.

Any ideas?

Thanks - Bill Gee


More information about the Survex mailing list