[vtkusers] MacOS X, Tcl/Tk, & vtk

Andy Cedilnik andy.cedilnik at kitware.com
Tue Sep 17 13:11:40 EDT 2002


On Tue, 2002-09-17 at 12:36, Lee A. Butler wrote:
> Thanks for the reply.  I'm still running into a couple of problems.  No doubt
> due mostly to the new compiler and differences in Jaguar.  Could you comment?
> 
> Summary:
> 	1 It isn't clear that cmake builds correctly, as "make install" fails
> 	2 cmake -i doesn't generate Makefiles for Wrapping/Tcl dirs
> 	3 make dies compiling vtkAbstractMapper.cxx complaining that:
> 	  cc1plus: unrecognized option `-fno-coalesce-static-vtables'
> 
> Item 1: 	
> 	I think I got cmake to build, though the "make install" fails saying
> that "Source/cmaketest" does not exist.  It installs a "cmake" in
> /usr/local/bin, so I pressed on.
> 
> Item 2:
> 	Running "cmake -i" in the VTK directory I get the prompt from CMAKE:
> 		"Would you like to see advanced options? [No]:"
> typing a single return here never generates a response (nor does typing "No"
> followed by a single return).  It takes a second return to set things going.
> This looks like Jaguar broke something in cmake's tty handling.
> 
> 	At the CMAKE_CXX_FLAGS option I add the includes you specified
> (thanks!).  Everything seems to proceed up to the point where I turn
> VTK_WRAP_TCL on.  At this point CMAKE goes off and creates the Makefiles
> without prompting for any information about Tcl and Tk that I was asked about
> under Linux.  Suspicious, especially since it does NOT indicate that it is
> building the Wrapping/Tcl/...Makefiles.
> 
> Item 3:
> 
> 	Just for grins, I ran the "make" to see what I'd get.  The compilation
> stops with the attempt to compile vtkAbstractMapper.cxx complaining that:
> 
> 	  cc1plus: unrecognized option `-fno-coalesce-static-vtables'
> 
> OK, this is just an out-of-date compiler flag.  I delete that from
> vtkCMakeOptions.cmake, re-run cmake -i, and try to compile.  It fails trying
> to build bin/ObjectFactory complaining that there are Undefined symbols:
> 
> 	c++  -fno-coalesce-templates ObjectFactory.o  -L/Users/butler/src/VTK/vtk40/VTK/bin -lpthread -lm -lvtkCommon -lvtkCommon -lpthread -lm  -o /Users/butler/src/VTK/vtk40/VTK/bin/ObjectFactory
> 	ld: Undefined symbols:
> 	vtkOutputWindowDisplayDebugText(char const*)
> 	vtkOutputWindowDisplayGenericWarningText(char const*)
> 	vtkCollection::GetNumberOfItems()
> 	vtkDebugLeaks::PromptUserOff()
> 	vtkObjectFactory::HasOverride(char const*)
> 	...
> 
> There were also some warnings when trying to compile:
> 	Rendering/vtkQuartzGLView.mm
> 
> At this point it would be nice to have a little guidance on how to proceed.





More information about the vtkusers mailing list