Maps compile fine on my 600 mhz P3 and my x86 notebook. They fail to compile on my AMD64 box. therion 0.3.9 configuration file: thconfig reading ... done reading source files ... done preprocessing database ... done scanning centreline tree ... done searching for centerline loops ... done calculating station coordinates ... done calculating basic statistics ... done processing extended elevation ... done processing references ... done selecting export objects ... done processing projection plan ... done average distortion: 2.14% writing walters_fold_cave_plan.pdf ... therion: error -- unknown exception Using: xtherion 0.3.9 Linux adrastea 2.6.13-gentoo-r3 #1 SMP Tue Nov 15 11:15:32 EST 2005 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux Any ideas? Philip Schuchardt
On Monday 12 December 2005 9:18 pm, you wrote:
Maps compile fine on my 600 mhz P3 and my x86 notebook. They fail to compile on my AMD64 box.
therion 0.3.9 configuration file: thconfig reading ... done reading source files ... done preprocessing database ... done scanning centreline tree ... done searching for centerline loops ... done calculating station coordinates ... done calculating basic statistics ... done processing extended elevation ... done processing references ... done selecting export objects ... done processing projection plan ... done average distortion: 2.14% writing walters_fold_cave_plan.pdf ... therion: error -- unknown exception
Using: xtherion 0.3.9 Linux adrastea 2.6.13-gentoo-r3 #1 SMP Tue Nov 15 11:15:32 EST 2005 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
Any ideas?
Philip Schuchardt
Does anyone know how get therion to work with a debugger? Currently, I have tried changing the Makefile to: CXXPFLAGS = -O0 -g CCPFLAGS = -O0 -g And recompiling it. ddd(GUI gdb) still complains about (no debugging symbols found) and I can't look at the source or step through it. Any ideas about getting a debugger to work with the source? Philip Schuchardt
On Tuesday 13 December 2005 5:17 pm, you wrote:
On Monday 12 December 2005 9:18 pm, you wrote:
Maps compile fine on my 600 mhz P3 and my x86 notebook. They fail to compile on my AMD64 box.
therion 0.3.9 configuration file: thconfig reading ... done reading source files ... done preprocessing database ... done scanning centreline tree ... done searching for centerline loops ... done calculating station coordinates ... done calculating basic statistics ... done processing extended elevation ... done processing references ... done selecting export objects ... done processing projection plan ... done average distortion: 2.14% writing walters_fold_cave_plan.pdf ... therion: error -- unknown exception
Using: xtherion 0.3.9 Linux adrastea 2.6.13-gentoo-r3 #1 SMP Tue Nov 15 11:15:32 EST 2005 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
Any ideas?
Philip Schuchardt
Does anyone know how get therion to work with a debugger? Currently, I have tried changing the Makefile to:
CXXPFLAGS = -O0 -g CCPFLAGS = -O0 -g
And recompiling it. ddd(GUI gdb) still complains about (no debugging symbols found) and I can't look at the source or step through it. Any ideas about getting a debugger to work with the source?
Philip Schuchardt
Sweet! I fixed it. And it is fairly simple. This fix should fix the therion: error -- unknown exception, which I was reporting earlier. In the Makefile: Just add -m32 option to the compiler and linker flags. This will force gcc and g++ to compile the under 32 bit. In my case it was compiling 64bit code due to my 64bit linux installation. I guess therion doesn't run under 64bit at the moment. This fix shouldn't effect x86 users (I haven't test it though). The fix works with 0.3.10 and it will probably work with 0.3.9 (I havent tested it). Hopefully, this fix will be in the next version of therion. ;) My modified makefile(Part): # PLATFORM LINUX CXX = g++ CC = gcc POBJECTS = #-DTHLINUX CXXPFLAGS = -m32 #Change this line CCPFLAGS = -m32 #Change this line LDPFLAGS = -s -m32 #Change this line THPLATFORM = LINUX THXTHMKCMD = ./therion Happy mapping! Philip Schuchardt
You should spend some time and figure out why it doesn't work for 64 bits. At least until you can go caving again :) Philip Philip Schuchardt wrote:
On Tuesday 13 December 2005 5:17 pm, you wrote:
On Monday 12 December 2005 9:18 pm, you wrote:
Maps compile fine on my 600 mhz P3 and my x86 notebook. They fail to compile on my AMD64 box.
therion 0.3.9 configuration file: thconfig reading ... done reading source files ... done preprocessing database ... done scanning centreline tree ... done searching for centerline loops ... done calculating station coordinates ... done calculating basic statistics ... done processing extended elevation ... done processing references ... done selecting export objects ... done processing projection plan ... done average distortion: 2.14% writing walters_fold_cave_plan.pdf ... therion: error -- unknown exception
Using: xtherion 0.3.9 Linux adrastea 2.6.13-gentoo-r3 #1 SMP Tue Nov 15 11:15:32 EST 2005 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
Any ideas?
Philip Schuchardt
Does anyone know how get therion to work with a debugger? Currently, I have tried changing the Makefile to:
CXXPFLAGS = -O0 -g CCPFLAGS = -O0 -g
And recompiling it. ddd(GUI gdb) still complains about (no debugging symbols found) and I can't look at the source or step through it. Any ideas about getting a debugger to work with the source?
Philip Schuchardt
Sweet! I fixed it. And it is fairly simple. This fix should fix the therion: error -- unknown exception, which I was reporting earlier.
In the Makefile: Just add -m32 option to the compiler and linker flags. This will force gcc and g++ to compile the under 32 bit. In my case it was compiling 64bit code due to my 64bit linux installation. I guess therion doesn't run under 64bit at the moment. This fix shouldn't effect x86 users (I haven't test it though). The fix works with 0.3.10 and it will probably work with 0.3.9 (I havent tested it). Hopefully, this fix will be in the next version of therion. ;)
My modified makefile(Part): # PLATFORM LINUX CXX = g++ CC = gcc POBJECTS = #-DTHLINUX CXXPFLAGS = -m32 #Change this line CCPFLAGS = -m32 #Change this line LDPFLAGS = -s -m32 #Change this line THPLATFORM = LINUX THXTHMKCMD = ./therion
Happy mapping! Philip Schuchardt _______________________________________________ Therion mailing list Therion@speleo.cz http://www.speleo.cz/mailman/listinfo/therion
+++ Philip Balister [05-12-13 16:53 -0500]:
You should spend some time and figure out why it doesn't work for 64 bits.
Seconded. What we have so far is a workaround, not a fix. Few of us currently have access to 64bit machines, but they are rapidly becoming more common. Finding out what problem therion has is well worth spending some time on. There are 64bit binaries built for debian, and developer accessible machines, so I could help with debugging there if necessary (but I am really overloaded with things to do already so I will struggle to allocate much time to this, but the facility is there, and I do want to know if the 64 bit debian Therion [packages are actually broken). Can you (philip S) post the offending dataset, (or will any dataset do?) Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
On Wed, Dec 14, 2005 at 10:10:58AM +0000, Wookey wrote:
+++ Philip Balister [05-12-13 16:53 -0500]:
You should spend some time and figure out why it doesn't work for 64 bits.
Seconded. What we have so far is a workaround, not a fix. Few of us currently have access to 64bit machines, but they are rapidly becoming more common. Finding out what problem therion has is well worth spending some time on.
A couple of hours ago I sent a patch which improves matters, and may even fix them. But the list seems to have eaten it. Perhaps it's set to reject attachements, or a spam filter doesn't like them or something. Anyway, it's here: http://www.survex.com/~olly/therion-0.3.9-64bit.patch If that doesn't fully fix it, I have an x86_64 linux machine, so can dig further when I have a spare moment. Cheers, Olly
Quoting Olly Betts <olly@survex.com>:
A couple of hours ago I sent a patch which improves matters, and may even fix them. But the list seems to have eaten it.
I received all the mails now - even the first one with attachement. Thanks. I will aply it and we will see, whether it helps.
If that doesn't fully fix it, I have an x86_64 linux machine, so can dig further when I have a spare moment.
Thanks again, S.
On Wed, Dec 14, 2005 at 07:47:42AM +0100, Stacho Mudrak wrote:
Quoting Philip Schuchardt <ohc@vt.edu>:
Just add -m32 option to the compiler and linker flags.
Great, thanks a lot. We will add it soon.
This is really a workaround rather than a fix - it assumes you've got a multilibbed compiler and all the required libraries compiled as 32 bit. So it won't even work for all x86_64 Linux users, let alone other 64 bit platforms which don't have a 32 bit mode. Really, the underlying bug (presumably an assumption that sizeof(long) == 4 or sizeof(void*) == sizeof(int) or similar) needs fixing. Here's a patch which at least gets us some way along that road. It may even be a complete fix - the therion project I had to hand goes from dying with the error Philip reported to complaining that it doesn't know about "left" which could just be because it's too old. I don't really have time to dig deeper right now. Cheers, Olly
+++ Olly Betts [05-12-14 09:08 +0000]:
Really, the underlying bug (presumably an assumption that sizeof(long) == 4 or sizeof(void*) == sizeof(int) or similar) needs fixing.
Here's a patch which at least gets us some way along that road. It may even be a complete fix - the therion project I had to hand goes from dying with the error Philip reported to complaining that it doesn't know about "left" which could just be because it's too old. I don't really have time to dig deeper right now.
I've just uploaded a new version to debian with this patch included, which should help Debian users on 64-bit arches (although maybe we don't actually have any apart from Olly as no-one has complained about this yet) It will filter through to the testing distribution in about 2 weeks time. Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/
On Tue, Dec 20, 2005 at 05:28:01PM +0000, Wookey wrote:
I've just uploaded a new version to debian with this patch included, which should help Debian users on 64-bit arches (although maybe we don't actually have any apart from Olly as no-one has complained about this yet)
I'm actually running Ubuntu on the 64-bit box, but that's mostly Debian underneath of course. I just tried hacking all the "-extend" stuff out of the example I found before and with the patch I can produce a pdf file. So that's a good start, though there must be code paths I didn't exercise so it's possible there are other 64 bit issues. Cheers, Olly
Hello I have two scraps that are in the same th2 file and in the map editor the walls end at the same point, however one of the walls is -subtype invisible. Using the join command it seems to ignore the invisible wall and join to the next closest visible wall. This is very annoying. Is it deliberate? Andrew
-----Original Message----- From: therion-bounces@speleo.cz [mailto:therion-bounces@speleo.cz] On Behalf Of Olly Betts Sent: 20 December 2005 19:13 To: therion@speleo.sk; Stacho Mudrak Subject: Re: [Therion] Weird Error
On Tue, Dec 20, 2005 at 05:28:01PM +0000, Wookey wrote:
I've just uploaded a new version to debian with this patch included, which should help Debian users on 64-bit arches (although maybe we don't actually have any apart from Olly as no-one has complained about this yet)
I'm actually running Ubuntu on the 64-bit box, but that's mostly Debian underneath of course.
I just tried hacking all the "-extend" stuff out of the example I found before and with the patch I can produce a pdf file. So that's a good start, though there must be code paths I didn't exercise so it's possible there are other 64 bit issues.
Cheers, Olly _______________________________________________ Therion mailing list Therion@speleo.cz http://www.speleo.cz/mailman/listinfo/therion
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 19/12/2005
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 19/12/2005
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.1/207 - Release Date: 19/12/2005
Hello
I have two scraps that are in the same th2 file and in the map editor the walls end at the same point, however one of the walls is -subtype invisible. Using the join command it seems to ignore the invisible wall and join to the next closest visible wall. This is very annoying. Is it deliberate?
Invisible walls are usually used to define outline of the scrap correctly. If you join two scraps, invisible walls are ignored. You should join at the level of line points. But if two scraps have common end wall points in one .th2 file, they should be joined automatically correctly. Did you tried to comment out this join command? It should help, if I understand your situation correctly. If removing this join does not help, are you able to isolate this error and send the source, that we can try? Or a simple image could help too. Thanks, S.
Quoting Philip Schuchardt <ohc@vt.edu>:
Does anyone know how get therion to work with a debugger? Currently, I have tried changing the Makefile to:
Just type: make config-debug and it should work. I replied you yesterday, no idea why the message did not arrieved :( S.
participants (6)
-
Andrew Atkinson -
Olly Betts -
Philip Balister -
Philip Schuchardt -
Stacho Mudrak -
Wookey