Text archives Help
- From: Ayla Khan <ayla@sci.utah.edu>
- To: seg3d@sci.utah.edu
- Subject: [Seg3D] Re: Re: Re: Re: Re: Seg3D2 error at exit in linux
- Date: Wed, 10 Oct 2012 21:49:41 -0600
Hi Ramon,
Instead of setting QT_DIR, add the directory containing qmake and moc to your PATH. CMake will pick up the correct Qt directory from their location.
Ayla On Oct 10, 2012, at 4:39 AM, Ramón Casero Cañas wrote:
On 10 October 2012 11:10, Ramón Casero Cañas <rcasero@gmail.com> wrote:
Trying to export large-ish segmentations
makes Seg3D2 crash (538x548x1851), which is incredibly annoying when you
have been doing a hand segmentation for a while, so I'm going to give
Qt 4.7 a try.
(I'm on ubuntu 12.04, with Qt 4.8.1)
This happens both when I try to export from the File menu or with the right-click menu on the layer. I
have downloaded the code and I'm building it, but how can I install it
somewhere Seg3D2 will find it at compilation time, but won't interfere
with the rest of the system?
OK, so I have installed Qt 4.7 to /usr/local/Trolltech/Qt-4.7.4
I have found in
seg3d.2.1/src/CMakeLists.txt
a line that says:
# We need QT - We use a modified version of
# the FindQt4.cmake file that can be set # to search for different versions of QT # just point QT_DIR to the right directory # to skip the use of the default installed # QT distribution.
This looks good, so I have edited the line below as
SET(QT_DIR "/usr/local/Trolltech/Qt-4.7.4" CACHE PATH "Path to QT")
However, it seems that ./build.sh completely ignores src/CMake/FindQt4.cmake
The build doesn't even enter that file, so regardless of what we have in QT_DIR, my Qt 4.8.1 is detected and used instead.
Cheers,
Ramon.
-- Dr. Ramón Casero Cañas
Oxford e-Research Centre (OeRC) University of Oxford 7 Keble Rd Oxford OX1 3QG
tlf +44 (0) 1865 610739 web http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
photos http://www.flickr.com/photos/rcasero/
|
Archive powered by MHonArc 2.6.16.