On Sat, May 14, 2016 at 03:14:59AM +0100, Wookey wrote:
+++ Christian Rößler [2016-05-13 23:32 +0200]:
Am Montag, 2. Mai 2016, 23:10:06 schrieb Christian Rößler (Roessler):
I am trying to compile Therion on an openSuse 13.2 64bit, and had no success so far.
But now it hangs at:
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;
well, after reading the hint to that repository, I downloaded it at once, and read in file changes: VTK 6.0 support. So I compiled it anew, as working in a virtual machine is sometimes a bit bothersone. But it hangs at the exactly same point while compiling as mentioned above. So I would like to ask if there is a solution on the horizon, so to say?
You might have more joy with the Debian package which is patched to fix various such build-time issues: http://httpredir.debian.org/debian/pool/main/t/therion/therion_5.3.16-10.dsc and the corresponding .orig.tar.gz and .debian.tar.gz That's built against vtk6.2
This one is built against vtk6.1: http://httpredir.debian.org/debian/pool/main/t/therion/therion_5.3.15-2.dsc
The debian vtk packaging layouts may not exactly match the Suse ones but you will probably find clues. Or you can look online here (although I don't see anything much that looks relevant): https://sources.debian.net/src/therion/5.3.16-10/debian/patches/
The above error sounds like a wx issue not a vtk one, but indeed not one we seem to have hit in the debian package. I don't understand why there's a cast to (const wxChar*) there - I'd try removing that, since that's what's causing the error - i.e. make that line (loch/lxGUI.cxx line 517): #define matchtype(w,t) if (fName.EndsWith(wxString(_T(w)))) return t; Cheers, Olly