← Back to team overview

yade-dev team mailing list archive

Re: [Bug 431834] Re: VTK feature problem to compile

 

Anton Gladky пишет:
> scons CPPPATH='/usr/include/vtk-5.0/'
> seems starts to compile, but then:
>
> In file included from
> /home/gladk/dem/yade/testBuild/build-testBuild/packages.cpp:201:
> /home/gladk/dem/yade/testBuild/yade/pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp:10:39:
> error: vtkXMLMultiBlockDataWriter.h: No such file or directory
> /home/gladk/dem/yade/testBuild/yade/pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp:11:33:
> error: vtkMultiBlockDataSet.h: No such file or directory
>   
Strange... I have this file in /usr/include/vtk/vtkMultiBlockDataSet.h
with vtk-5.4.
But this file is not used now, so it is been commented in last rev.
>
>   
>> It should be autodetected, or you should include the headers the <vtk/
>> portion included (the second being prefereable). Is that possible?
>>
>>
>>     
Seems no. vtk headers themself included files from vtk/vtkstd as
<vtkstd/...>. So, may be add variables VTKINCPATH to config?

-- 
VTK feature problem to compile
https://bugs.launchpad.net/bugs/431834
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
I tried to install VTK feature, but can compile with vtk feature enabled:

I get:

Checking for vtkInstantiator::New() in C++ library vtkHybrid... no
ERROR: Unable to compile with optional feature `vtk'.

I installed all packages with "vtk" name in my Ubuntu 9.04



Follow ups

References