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" <>
  • To:,Ramón Casero Cañas <>
  • 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.


On Thu, 11 Oct 2012 18:53:32 +0100
 Ramón Casero Cañas <> wrote:
On 11 October 2012 04:49, Ayla Khan <> 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

(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
adler32.c.o): In function `adler32_combine':
adler32.c:(.text+0x3a0): multiple definition of `adler32_combine'
first defined here
../Externals/zlib/libzlib.a(crc32.c.o): In function `crc32_combine':
crc32.c:(.text+0x2e0): multiple definition of `crc32_combine'
first defined here
../Externals/zlib/libzlib.a(deflate.c.o): In function `deflateSetHeader':
deflate.c:(.text+0x1430): multiple definition of `deflateSetHeader'
first defined here
../Externals/zlib/libzlib.a(deflate.c.o): In function `deflateTune':
deflate.c:(.text+0x1f00): multiple definition of `deflateTune'
first defined here
../Externals/zlib/libzlib.a(deflate.c.o):(.rodata+0x0): multiple definition
of `deflate_copyright'
first defined here
../Externals/zlib/libzlib.a(inflate.c.o): In function `inflatePrime':
inflate.c:(.text+0x230): multiple definition of `inflatePrime'
first defined here
../Externals/zlib/libzlib.a(inflate.c.o): In function `inflateGetHeader':
inflate.c:(.text+0x2570): multiple definition of `inflateGetHeader'
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.



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

Archive powered by MHonArc 2.6.16.

Top of page