[Debian-med-packaging] Bug#618183: vtkedge: FTBFS: /bin/sh: /usr/bin/vtkEncodeString: not found

Mehdi Dogguy mehdi at dogguy.org
Tue Mar 15 21:14:01 UTC 2011


clone 618183 -1
reassign -1 vtk
retitle -1 vtkEncodeString is in bin/ according to VTKConfig.cmake
thanks

On 03/13/2011 06:47 PM, Lucas Nussbaum wrote:
> 
>> [ 19%] Generating vtkKWEWireframePainter_vs.cxx /bin/sh: 
>> /usr/bin/vtkEncodeString: not found make[3]: *** 
>> [Rendering/vtkKWEWireframePainter_vs.cxx] Error 127
> 

Looks like this failure is due to a typo in
/usr/lib/vtk-5.6/VTKConfig.cmake which tells cmake to use
/usr/bin/vtkEncodeString when it should be /usr/lib/vtk-5.6/vtkEncodeString.

The attached patch fixes the issue. Please let me know if you intend to
upload a fix or if you prefer an NMU.

This fix is not enough to get vtkedge building fine though. It fails with:

make[3]: Entering directory `/tmp/vtkedge-0.1.0/obj-x86_64-linux-gnu'
[ 60%] Building CXX object
VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWEGPUVolumeRayCastMapper.o
[ 61%] Building CXX object
VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWERepresentativeVolumeImageCreator.o
[ 62%] Building CXX object
VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWEVolumeMapper.o
/tmp/vtkedge-0.1.0/VolumeRendering/vtkKWEVolumeMapper.cxx: In member
function 'void vtkKWEVolumeMapper::Initialize(vtkRenderWindow*,
vtkVolume*)':
/tmp/vtkedge-0.1.0/VolumeRendering/vtkKWEVolumeMapper.cxx:264:87: error:
no matching function for call to
'vtkVolumeTextureMapper3D::IsRenderSupported(vtkVolumeProperty*)'
/usr/include/vtk-5.6/vtkVolumeTextureMapper3D.h:112:15: note: candidate
is: virtual int
vtkVolumeTextureMapper3D::IsRenderSupported(vtkVolumeProperty*,
vtkRenderer*)
make[3]: ***
[VolumeRendering/CMakeFiles/vtkKWEVolumeRendering.dir/vtkKWEVolumeMapper.o]
Error 1

… which looks like #614433.

So, some work has to be done in vtkedge too…

Regards,

-- 
Mehdi Dogguy مهدي الدڤي
http://dogguy.org/


More information about the Debian-med-packaging mailing list