Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [Manta] compile error with icc and osx


Chronological Thread 
  • From: James Bigler <bigler@sci.utah.edu>
  • Cc: "manta >> \"'manta@sci.utah.edu'\"" <manta@sci.utah.edu>
  • Subject: Re: [Manta] compile error with icc and osx
  • Date: Tue, 06 Nov 2007 17:07:11 -0700

I bet you this has something to do with the crazy template stuff Steve added for the persistence.

Do a 'man ld' and read the different sections on the dynamic libraries. There may be something in there that could pin point what causes the error.

James

Thiago Ize wrote:
I created a new build directory and tried to build manta with all the defaults using icc on osx (tiger) and get the following error:

Linking CXX shared library ../lib/libManta_Core.dylib
xilibtool: executing 'libtool'
ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option
CMakeFiles/Manta_Core.dir/Color/RGBTraits.o definition of common __ZN5Manta10ClassIndexINS_10ColorSpaceINS_9RGBTraitsEEEE18singleton_instanceE (size 16)
CMakeFiles/Manta_Core.dir/Geometry/Vector.o definition of common __ZN5Manta10ClassIndexINS_6VectorEE18singleton_instanceE (size 16)
libtool: internal link edit command failed
make[2]: *** [lib/libManta_Core.dylib] Error 1
make[1]: *** [Core/CMakeFiles/Manta_Core.dir/all] Error 2
make: *** [all] Error 2

with gcc it builds fine.

Thiago





Archive powered by MHonArc 2.6.16.

Top of page