[vtkusers] Error generating vtkGLSLShaderLibrary.h with vtk-5.3.x after upgrading to CMake-2.6.2

Elvis Dowson elvis.dowson at mac.com
Fri Oct 17 10:20:04 EDT 2008


Hi,
       I just upgraded my CMake installation from 2.6.1 to 2.6.2. When  
I run ccmake ../src/VTK and configure afresh, generate and run make, I  
now get the following error. It used to work fine before. What could  
be causing this error?

Linking C shared library ../../bin/libvtktiff.dylib
[ 13%] Built target vtktiff
[ 13%] Generating vtkGLSLShaderLibrary.h
dyld: Library not loaded: /Users/elvis/Tool/vtk-5.x/build/carbon- 
shared/bin/libvtksys.5.3.dylib
   Referenced from: /Users/elvis/Tool/vtk-5.x/build/carbon-shared/ 
Utilities/MaterialLibrary/../../bin/ProcessShader
   Reason: Incompatible library version: ProcessShader requires  
version 5.3.0 or later, but libvtksys.5.3.dylib provides version 0.0.0
/bin/sh: line 1: 33070 Trace/BPT trap          ../../bin/ 
ProcessShader /Users/elvis/Tool/vtk-5.x/build/carbon-shared/Utilities/ 
MaterialLibrary/vtkGLSLShaderLibrary.h vtkShaderGLSL Code GetCode / 
Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/MaterialLibrary/GLSLShaders/ 
TestAppVarFrag.glsl /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ 
MaterialLibrary/GLSLShaders/TestVertex.glsl /Users/elvis/Tool/vtk-5.x/ 
src/VTK/Utilities/MaterialLibrary/GLSLShaders/ 
TestVtkPropertyFrag.glsl /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ 
MaterialLibrary/GLSLShaders/TestMatrixFrag.glsl /Users/elvis/Tool/ 
vtk-5.x/src/VTK/Utilities/MaterialLibrary/GLSLShaders/ 
TestScalarVectorFrag.glsl /Users/elvis/Tool/vtk-5.x/src/VTK/Utilities/ 
MaterialLibrary/GLSLShaders/Twisted.glsl
make[2]: *** [Utilities/MaterialLibrary/vtkGLSLShaderLibrary.h] Error  
133
make[1]: *** [Utilities/MaterialLibrary/CMakeFiles/ 
vtkMaterialLibraryConfiguredFiles.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkUnsignedLongArray.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkUnsignedShortArray.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/vtkVariant.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkVariantArray.o
[ 14%] [ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkVoidArray.o
Building CXX object Common/CMakeFiles/vtkCommon.dir/vtkVersion.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkWarpTransform.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkWeakPointerBase.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/vtkWindow.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkWindowLevelLookupTable.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkXMLDataElement.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkXMLFileOutputWindow.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkLongLongArray.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkUnsignedLongLongArray.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeInt8Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeInt16Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeInt32Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeInt64Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeUInt8Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeUInt16Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeUInt32Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeUInt64Array.o
[ 14%] [ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeFloat32Array.o
Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkTypeFloat64Array.o
[ 14%] Building CXX object Common/CMakeFiles/vtkCommon.dir/ 
vtkCommonInstantiator.o
Linking CXX shared library ../bin/libvtkCommon.dylib
[ 14%] Built target vtkCommon
make: *** [all] Error 2


Best regards,

Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081017/120dac3a/attachment.htm>


More information about the vtkusers mailing list