Hello everyone - I have been struggling for two days trying to get Therion 5.2 (stable) to compile on my brand new CentOS 5.3 system. The dependencies are killing me! CentOS repositories do not include any VTK packages, so I had to build VTK 5.4 from source. That brought its own set of dependencies - I had to compile CMake from source before I could compile VTK! Sheesh!!! This is ridiculous ... Anyhow, the message I am stuck on now comes from "make install" of Therion. It appears to be related to some missing piece of VTK. Can anyone shed some light on how I deal with this? ============== c++ -o loch -Wall lxR2P.o lxTR.o lxOGLFT.o lxSetup.o lxRender.o lxWX.o lxImgIO.o lxLRUD.o lxFile.o lxData.o lxMath.o lxSView.o lxSScene.o lxGUI.o lxGLCo.o lxGLCs.o lxOptDlg.o lxAboutDlg.o img.o -lwx_gtk2u_gl-2.8 -pthread -lwx_gtk2u_richtex t-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2. lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 - lwx_baseu-2.8 -L/usr/include/vtk-5.0/lib/vtk -lvtkHybrid -lvtkImaging -lvtkIO - lvtkGraphics -lvtkFiltering -lvtkCommon -lfreetype -lpthread -lz -s /usr/bin/ld: cannot find -lvtkHybrid collect2: ld returned 1 exit status make[1]: *** [loch] Error 1 make[1]: Leaving directory `/Installs/therion/loch' make: *** [loch/loch] Error 2 =============== Searching the system for files like "vtkHybrid*" finds vtkHybrid.CMake in the source directory for VTK. I don't find anything else on the system. At the end Therion is not installed. I don't need Loch. Is there a directive for make to tell it to ignore Loch? Thanks - Bill Gee
Hi, Bill Gee schrieb:
CentOS repositories do not include any VTK packages, so I had to build VTK 5.4 from source.
VTK 5.4 is too new - I got Loch only compiled against VTK 5.0.x. VTK 5.2 didn't work. And I had to compile VTK from source because libvtk / libvtk-dev that comes with Debian / Ubuntu seems to be incomplete. Regards Roger
Roger Schuster wrote, On 05/31/09 22:01:
VTK 5.4 is too new - I got Loch only compiled against VTK 5.0.x. VTK 5.2 didn't work.
I have Loch compiled with vtk-5.2, the VTK version is hard-coded in loch/Makefile. Bill Gee wrote, On 05/31/09 15:26:
Searching the system for files like "vtkHybrid*" finds vtkHybrid.CMake in the source directory for VTK. I don't find anything else on the system.
you need to look for libvtkHybrid.so* I think you can compile without Loch by removing the line LOCHEXE = loch/loch from Makefile. Regards, Thomas
On 1.6.2009, at 9:33, Martin Sluka wrote:
I have Loch compiled with vtk-5.2, the VTK version is hard-coded in loch/Makefile.
vtk-5.4 on MacOSX.
Isn't it the compatibility switch in loch/Makefile? Something as: export MACOSX_DEPLOYMENT_TARGET=10.4
This switch is used by VTK compilation. It means back compatibility with system MacOS X 10.4. The VTK 5.4 was compiled on system 10.5 m.
Thanks, Thomas. Removing that line from Makefile plus a line in makeinstall.tcl did the trick. The system will now start xtherion. The VTK web site does not have any 5.0.x version available for download. All they have is 5.4 and 5.2. libvtkHybrid.so exists in a subdirectory under the source files directory and in /usr/local/lib/vtk-5.4. There is a symbolic link to /usr/local/lib/vtk-5.0. Bill Gee On Sunday 31 May 2009, Thomas Holder wrote:
Roger Schuster wrote, On 05/31/09 22:01:
VTK 5.4 is too new - I got Loch only compiled against VTK 5.0.x. VTK 5.2 didn't work.
I have Loch compiled with vtk-5.2, the VTK version is hard-coded in loch/Makefile.
Bill Gee wrote, On 05/31/09 15:26:
Searching the system for files like "vtkHybrid*" finds vtkHybrid.CMake in the source directory for VTK. I don't find anything else on the system.
you need to look for libvtkHybrid.so*
I think you can compile without Loch by removing the line
LOCHEXE = loch/loch
from Makefile.
Regards, Thomas _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Hi, I`am sure it is possible with Therion to get a plan without any speleothemes. The plan is ready drawn, but I need a plan only with walls and pillars and the centerline but without any other drawings. I have searched in the Wiki but without success. Please give me some help. I cannot believe, that I must delete all previously drawn things in the *.th2-File. regards Markus
Hide all symbols used in your map except walls and centerline in the layout. See for instance the join thconfig file. Xavier Boldt, Markus a écrit :
Hi, I`am sure it is possible with Therion to get a plan without any speleothemes. The plan is ready drawn, but I need a plan only with walls and pillars and the centerline but without any other drawings. I have searched in the Wiki but without success. Please give me some help. I cannot believe, that I must delete all previously drawn things in the *.th2-File. regards Markus
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
encoding utf-8 cs EPSG:27572 ## Lambert II input Layouts/LayoutTopoXav.thconfig source HierleGeneral.th #source Cartes/SaintLaurentGeneral.th ####source Cartes/SaintLaurent_MasDuPre_Carte.th source Cartes/SaintLaurentPousNaduel.th #source Cartes/PousNaduel_PhotoAerienneCadastreHydro.th select Hierle_plan layout map_layout copy LayoutTopoXav #sketches on symbol-hide line survey symbol-hide line section symbol-hide point section symbol-hide point section symbol-hide point altitude symbol-hide line gradient symbol-hide line contour symbol-hide line flowstone symbol-hide line rock-edge symbol-hide line rock-border symbol-hide line border symbol-hide point label symbol-hide point stalactite symbol-hide point soda-straw symbol-hide point stalagmite symbol-hide point air-draught symbol-hide point sand symbol-hide point pebbles symbol-hide point root symbol-hide point clay symbol-hide point archeo-material symbol-hide point debris symbol-hide point breakdown-choke symbol-hide area pebbles symbol-hide area water symbol-hide area sand symbol-show line survey symbol-hide point station cs EPSG:27572 ## Lambert II #rotate 30 # debug on # debug station-names overlap 11 cm #this add the empty border around the map #map-header-bg on #this add the white color under header north true scale 1 5000 base-scale 1 1000 units metric color map-fg altitude #color map-fg 60 #90 is too light #grid bottom #grid-size 100 100 10 m ## putt coords on the border of the grid #grid-coords border # [border/all] transparency on opacity 100 language fr legend off #statistics topo all #statistics explo all #statistics carto all #statistics copyright all map-header 110 50 s #header off # layers off surface bottom #surface-opacity 80 code tex-map \def\maplayout{ \legendbox{78}{31}{NW}{}} endcode endlayout #export map -fmt xvi -o Topos/HierleGeneral.xvi -layout xvi-export #export atlas -o Topos/HierleGeneral.pdf -layout atlas_layout export map -o Topos/HierleGeneral.pdf -layout map_layout -fmt pdf # export map -o Topos/HierleGeneral.svg -layout map_layout -fmt svg export model -o Topos/HierleGeneral.lox export model -fmt survex -o Topos/HierleGeneral.3d export map -o Topos/HierleGeneral.dxf -layout map_layout -fmt dxf export map -o Topos/HierleGeneral.esri -layout map_layout -fmt esri export model -o Topos/HierleGeneral3D.dxf -fmt dxf #!CAVE LIST EXPORT export cave-list -o Topos/Coordonnees.html -location on
On 9.6.2009, at 14:28, Boldt, Markus wrote:
Hi, I`am sure it is possible with Therion to get a plan without any speleothemes. The plan is ready drawn, but I need a plan only with walls and pillars and the centerline but without any other drawings. I have searched in the Wiki but without success. Please give me some help. I cannot believe, that I must delete all previously drawn things in the *.th2-File. regards Markus
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
I cannot believe, that I must delete all previously drawn things in the *.th2-File.
GRRR, :) please read in Thbook the section about select and unselect. In layout: symbol-hide group all symbol-show line wall symbol-show point station symbol-show line survey A bit shorter m.s.
Many Thanks to Xavier and specielly to Martin! Wow, a very fast answer - 15Min. later. Excuse me please, but the term "select" comes not in my mind by searching for that problem. But it is clear now. Markus -----Ursprüngliche Nachricht----- Von: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] Im Auftrag von Martin Sluka Gesendet: Dienstag, 9. Juni 2009 14:44 An: List for Therion users Betreff: Re: [Therion] Plan only walls and centerline On 9.6.2009, at 14:28, Boldt, Markus wrote:
Hi, I`am sure it is possible with Therion to get a plan without any speleothemes. The plan is ready drawn, but I need a plan only with walls and pillars and the centerline but without any other drawings. I have searched in the Wiki but without success. Please give me some help. I cannot believe, that I must delete all previously drawn things in the *.th2-File. regards Markus
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
I cannot believe, that I must delete all previously drawn things in the *.th2-File.
GRRR, :) please read in Thbook the section about select and unselect. In layout: symbol-hide group all symbol-show line wall symbol-show point station symbol-show line survey A bit shorter m.s. _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Hi, so, now I have tried both versions (Martins and Xaviers). It works only by writing the normal pdf-files but the atlas shows furthermore all speleothemes. What is wrong? Yes, I have read (to read, ?, ?) the Thbook, but I have got no Idea to use "select"-command for my problem. More and more often I hope that someone will write a german Version of Thbook :-) regards Markus -----Ursprüngliche Nachricht----- Von: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] Im Auftrag von Martin Sluka Gesendet: Dienstag, 9. Juni 2009 14:44 An: List for Therion users Betreff: Re: [Therion] Plan only walls and centerline On 9.6.2009, at 14:28, Boldt, Markus wrote:
Hi, I`am sure it is possible with Therion to get a plan without any speleothemes. The plan is ready drawn, but I need a plan only with walls and pillars and the centerline but without any other drawings. I have searched in the Wiki but without success. Please give me some help. I cannot believe, that I must delete all previously drawn things in the *.th2-File. regards Markus
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
I cannot believe, that I must delete all previously drawn things in the *.th2-File.
GRRR, :) please read in Thbook the section about select and unselect. In layout: symbol-hide group all symbol-show line wall symbol-show point station symbol-show line survey A bit shorter m.s. _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Hi Markus, Check your thhconfig file, may-be you are not using the same layout when producing maps / atlas, so your modifications are only affecting maps? Boldt, Markus a écrit :
Hi, so, now I have tried both versions (Martins and Xaviers). It works only by writing the normal pdf-files but the atlas shows furthermore all speleothemes. What is wrong? Yes, I have read (to read, ?, ?) the Thbook, but I have got no Idea to use "select"-command for my problem. More and more often I hope that someone will write a german Version of Thbook :-)
regards Markus
-----Ursprüngliche Nachricht----- Von: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] Im Auftrag von Martin Sluka Gesendet: Dienstag, 9. Juni 2009 14:44 An: List for Therion users Betreff: Re: [Therion] Plan only walls and centerline
On 9.6.2009, at 14:28, Boldt, Markus wrote:
Hi, I`am sure it is possible with Therion to get a plan without any speleothemes. The plan is ready drawn, but I need a plan only with walls and pillars and the centerline but without any other drawings. I have searched in the Wiki but without success. Please give me some help. I cannot believe, that I must delete all previously drawn things in the *.th2-File. regards Markus
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
I cannot believe, that I must delete all previously drawn things in the *.th2-File.
GRRR, :)
please read in Thbook the section about select and unselect.
In layout:
symbol-hide group all symbol-show line wall symbol-show point station symbol-show line survey
A bit shorter
m.s. _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
On 10.6.2009, at 17:14, Boldt, Markus wrote:
"select"-command for my problem.
sorry, symbol-hide and symbol-unhide It works - check attachments layout atlas_test symbol-hide group all symbol-show line wall symbol-show point station symbol-show line survey endlayout export atlas -layout atlas_test #this exports cave.pdf
+++ Roger Schuster [2009-05-31 22:01 +0200]:
Hi,
Bill Gee schrieb:
CentOS repositories do not include any VTK packages, so I had to build VTK 5.4 from source.
Really? Pick a better distro :-)
VTK 5.4 is too new - I got Loch only compiled against VTK 5.0.x. VTK 5.2 didn't work. And I had to compile VTK from source because libvtk / libvtk-dev that comes with Debian / Ubuntu seems to be incomplete.
Therion (5.2.8) builds and works fine with both VTK5.2 and VTK 5.4 (the versions provided in debian testing unstable respectively. The version is hard-coded in the loch/Makefile in upstream sources. If you use the Debian packaged version then it will select whichever VTK version is available on the build system (which allows it to build on testing or unstable, and it may wel work on stable to (VTK 5.0) but I haven't tested that). If this doesn't work for you I'd like to know about it. http://packages.debian.org/sid/therion 5.2.8 has not migrated into tested yet because there are build issues on several architectures: mipsel, i386, s390. I will investigate those shortly. Wookey -- Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian http://wookware.org/
participants (8)
-
Bill Gee -
Boldt, Markus -
Eric Madelaine -
Martin Sluka -
Roger Schuster -
Thomas Holder -
Wookey -
Xavier Pennec