SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: Re: Re: Re: Re: Re: Re: Seg3D2 error at exit in linux


Chronological Thread 
  • From: "Ayla Khan" <ayla@sci.utah.edu>
  • To: seg3d@sci.utah.edu,Ramón Casero Cañas <rcasero@gmail.com>
  • Subject: [Seg3D] Re: Re: Re: Re: Re: Re: Re: Seg3D2 error at exit in linux
  • Date: Thu, 11 Oct 2012 18:23:19 -0600

Hi Ramon,

I'm on vacation until Oct. 16, but I'll have a look at this when I get back.

Ayla

On Thu, 11 Oct 2012 18:53:32 +0100
 Ramón Casero Cañas <rcasero@gmail.com> wrote:
On 11 October 2012 04:49, Ayla Khan <ayla@sci.utah.edu> wrote:

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.



Hi Ayla,

That's what the wiki says, but I wanted to avoid having to make changes in
the path, that could impact other applications.

Anyway, I changed my path to

$ echo $PATH
/usr/local/Trolltech/Qt-4.7.4/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

(the Qt directory has to be at the beginning, otherwise the Qt installed in
the system will be picked up instead).

Compilation is fine, but linking throws an error

Linking CXX executable ../Seg3D2
../Externals/zlib/libzlib.a(
adler32.c.o): In function `adler32_combine':
adler32.c:(.text+0x3a0): multiple definition of `adler32_combine'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(adler32.o):adler32.c:(.text+0x3a0):
first defined here
../Externals/zlib/libzlib.a(crc32.c.o): In function `crc32_combine':
crc32.c:(.text+0x2e0): multiple definition of `crc32_combine'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(crc32.o):crc32.c:(.text+0x340):
first defined here
../Externals/zlib/libzlib.a(deflate.c.o): In function `deflateSetHeader':
deflate.c:(.text+0x1430): multiple definition of `deflateSetHeader'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(deflate.o):deflate.c:(.text+0x13f0):
first defined here
../Externals/zlib/libzlib.a(deflate.c.o): In function `deflateTune':
deflate.c:(.text+0x1f00): multiple definition of `deflateTune'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(deflate.o):deflate.c:(.text+0x1460):
first defined here
../Externals/zlib/libzlib.a(deflate.c.o):(.rodata+0x0): multiple definition
of `deflate_copyright'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(deflate.o):(.rodata+0x0):
first defined here
../Externals/zlib/libzlib.a(inflate.c.o): In function `inflatePrime':
inflate.c:(.text+0x230): multiple definition of `inflatePrime'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(inflate.o):inflate.c:(.text+0x230):
first defined here
../Externals/zlib/libzlib.a(inflate.c.o): In function `inflateGetHeader':
inflate.c:(.text+0x2570): multiple definition of `inflateGetHeader'
/usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.a(inflate.o):inflate.c:(.text+0x2300):
first defined here
collect2: ld returned 1 exit status
make[2]: *** [Seg3D2] Error 1
make[1]: *** [Main/CMakeFiles/Seg3D2.dir/all] Error 2
make: *** [all] Error 2
Building Seg3D returned an error

Either the code failed to build properly or

the testing programs failed to complete without

every single test program passing the test.

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.

Top of page