[vtkusers] VTK, ICC, OS X Link Errors
imikejackson at gmail.com
Fri Feb 1 11:20:47 EST 2008
Crap.. I was trying to debug this the other day and commented out
some stuff in the Common/CMakeList.txt having to do with the
wrapping. Undoing that seems to be allowing it to build.. 50% so far..
On Feb 1, 2008, at 10:50 AM, David Cole wrote:
> Hrmmmm. This is very strange. ???
> Your linker error now seems to imply that vtkVariant is being
> included in vtkCommonInstantiator.cxx (a file configured into the
> VTK build tree).
> The vtkVariant.cxx file has the WRAP_EXCLUDE property, which should
> prevent it from being generated into the vtkCommonInstantiator.cxx
> file. So do several other files in the Common directory. I don't
> know why vtkVariant would be different from vtkBoundingBox, for
> To get past the error, (temporarily to see what else you run into)
> you could remove all traces of vtkVariant from the
> vtkCommonInstantiator.cxx file, but that does not answer the
> question of how it ended up there in the first place.
> If you have time, perhaps you could add some CMake debug MESSAGE
> statements into the file "VTK/CMake/vtkMakeInstantiator.cmake" in
> the VTK_MAKE_INSTANTIATOR3 macro and see if you can figure out why
> vtkVariant is being included there even though it has the
> WRAP_EXCLUDE property on...
> On 2/1/08, Mike Jackson <imikejackson at gmail.com> wrote:
> I have been trying to build VTK (CVS Head) on OS X 10.4.11 using the
> Intel C++ compiler. I first tried a release build and got lots of
> link errors. After a suggestion from Kitware I backed off to a debug
> build. I now get the single following link error:
> xilibtool: executing 'libtool'
> ld: Undefined symbols:
> libtool: internal link edit command failed
> make: *** [bin/libvtkCommon.5.1.0.dylib] Error 1
> make: *** [Common/CMakeFiles/vtkCommon.dir/all] Error 2
> make: *** [all] Error 2
> Relevant cache entries include:
> CARBON ON
> Cocoa OFF
> INFOVIS OFF
> METAIO ON
> The only C/CXX flags are -gdwarf-2.
> Anyone have any ideas?
> Mike Jackson
> imikejackson & gmail * com
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/
> Follow this link to subscribe/unsubscribe:
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers