[vtkusers] Re:Error while making VTK-4.2.1

Brian Dotson Brian.Dotson at netl.doe.gov
Wed Mar 12 10:44:51 EST 2003


I figured this out myself.  But, just in case someone else runs in to it i'll respond.

CMake is creating one of the Makefiles wrong.

$(VTK_HOME)/Utilities/tiff/Makefile

look down throught the Makefile for these lines:

/usr/local/VTK-4.2.1/Utilities/tiff/tif_fax3sm.c: /mkg3states
	echo "Building Custom command /usr/local/VTK-4.2.1/Utilities/tiff/tif_fax3sm.c..."
	/mkg3states -c const /usr/local/VTK-4.2.1/Utilities/tiff/tif_fax3sm.c 

remove the / in front of mkg3states on the top and bottom line.  it should look like this now:

/usr/local/VTK-4.2.1/Utilities/tiff/tif_fax3sm.c: mkg3states
	echo "Building Custom command /usr/local/VTK-4.2.1/Utilities/tiff/tif_fax3sm.c..."
	mkg3states -c const /usr/local/VTK-4.2.1/Utilities/tiff/tif_fax3sm.c 

run make again and it should take you past this problem.

I hope this helps.

Brian Dotson





More information about the vtkusers mailing list