[Therion] Therion compiling error (Loch, lxGUI)
Christian Rößler (Roessler)
chr_rossi at kartan.de
Mon May 2 23:10:06 CEST 2016
Good evening,
I am trying to compile Therion on an openSuse 13.2 64bit, and had no
success so far. After some research (including the mailing list, of
course) I noticed it seems to be hanging on Loch compiling, as you maybe
would have guessed:).
I used the patch of detrito (29.12.2015 10:56, many thanks for that, by
the way!) and set C_INCLUDE_PATH=/usr/include/vtk-6.1, and also
CPLUS_INCLUDE_PATH=/usr/include/vtk-6.1 (a link from /usr/include/vtk -->
vtk-6.1 would have also sufficed, perhaps, after I saw
I"/usr/include/vtk/" in the compiling messages.
But now it hangs at:
c++ -c -Wall -D_GNU_SOURCE -DLOCH -DLXLINUX -I/usr/lib64/wx/include/gtk2-
unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0
-DWXUSINGDLL -D__WXGTK__ -pthread -Wno-deprecated -I/usr/include/freetype2
-I"/usr/include/vtk/" -O2 -o lxGUI.o lxGUI.cxx
lxGUI.cxx: In member function ‘int lxFrame::GetFileType(wxString)’:
lxGUI.cxx:517:73: error: invalid cast from type ‘wxString’ to type ‘const
wxChar* {aka const wchar_t*}’
#define matchtype(w,t) if (fName.EndsWith((const wxChar
*)wxString(_T(w)))) return t;
^
lxGUI.cxx:518:3: note: in expansion of macro ‘matchtype’
matchtype(".lox",1);
^
lxGUI.cxx:517:73: error: invalid cast from type ‘wxString’ to type ‘const
wxChar* {aka const wchar_t*}’
#define matchtype(w,t) if (fName.EndsWith((const wxChar
*)wxString(_T(w)))) return t;
^
lxGUI.cxx:519:3: note: in expansion of macro ‘matchtype’
matchtype(".LOX",1);
^
lxGUI.cxx:517:73: error: invalid cast from type ‘wxString’ to type ‘const
wxChar* {aka const wchar_t*}’
#define matchtype(w,t) if (fName.EndsWith((const wxChar
*)wxString(_T(w)))) return t;
^
lxGUI.cxx:520:3: note: in expansion of macro ‘matchtype’
matchtype(".plt",2);
^
lxGUI.cxx:517:73: error: invalid cast from type ‘wxString’ to type ‘const
wxChar* {aka const wchar_t*}’
#define matchtype(w,t) if (fName.EndsWith((const wxChar
*)wxString(_T(w)))) return t;
^
lxGUI.cxx:521:3: note: in expansion of macro ‘matchtype’
matchtype(".PLT",2);
^
lxGUI.cxx:517:73: error: invalid cast from type ‘wxString’ to type ‘const
wxChar* {aka const wchar_t*}’
#define matchtype(w,t) if (fName.EndsWith((const wxChar
*)wxString(_T(w)))) return t;
^
lxGUI.cxx:522:3: note: in expansion of macro ‘matchtype’
matchtype(".3d",3);
^
lxGUI.cxx:517:73: error: invalid cast from type ‘wxString’ to type ‘const
wxChar* {aka const wchar_t*}’
#define matchtype(w,t) if (fName.EndsWith((const wxChar
*)wxString(_T(w)))) return t;
^
lxGUI.cxx:523:3: note: in expansion of macro ‘matchtype’
matchtype(".3D",3);
^
Makefile:129: recipe for target 'lxGUI.o' failed
make[1]: *** [lxGUI.o] Error 1
make[1]: Leaving directory '/home/chr/downloads/frisch/therion/loch'
Makefile:182: recipe for target 'loch/loch' failed
make: *** [loch/loch] Error 2
…and I do not know how to get over this error. I would very much like to
use Therion again. Has anyona a hint for me how to cope with this error,
please?
Best regards,
Christian
More information about the Therion
mailing list