[vtkusers] Example compilation error

Bill Lorensen bill.lorensen at gmail.com
Thu Jun 28 10:07:04 EDT 2012


Can you try the following?

In VTK/Common/CMakeLists.txt,
near line 627, add
vtkSparseArray.txx
to the list of .txx files.

Then, rebuild and install VTK.

Thanks,

Bill

On Thu, Jun 28, 2012 at 8:58 AM, ratnesh kumar <ratneshkumar21 at gmail.com> wrote:
> Yes. I bullt and installed VTK.. I can build this example
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/VolumeRendering/SmartVolumeMapper
> (standalone with the cmake script) and it works ..
>
> Ratnesh
>
>
> On Thu, Jun 28, 2012 at 2:50 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> It appears that there is a bug in the VTK install scripts. Did you
>> build and install VTK?
>>
>> Bill
>>
>> On Wed, Jun 27, 2012 at 9:13 AM, ratnesh kumar <ratneshkumar21 at gmail.com>
>> wrote:
>> > Hi All,
>> >
>> > I downloaded VTK examples from
>> > http://www.vtk.org/Wiki/VTK/Examples/Instructions/ForUsers and I am
>> > using
>> > VTK-5.10 on linux.
>> > When I build the examples I get the following error
>> >
>> > Scanning dependencies of target SparseArray
>> > [ 71%] Building CXX object
>> > Cxx/Utilities/CMakeFiles/SparseArray.dir/SparseArray.cxx.o
>> > In file included from
>> > /local/Vanaheim/WikiExamples/Cxx/Utilities/SparseArray.cxx:2:0:
>> > /usr/local/include/vtk-5.10/vtkSparseArray.h:232:30: fatal error:
>> > vtkSparseArray.txx: No such file or directory
>> > compilation terminated.
>> > make[2]: ***
>> > [Cxx/Utilities/CMakeFiles/SparseArray.dir/SparseArray.cxx.o]
>> > Error 1
>> > make[1]: *** [Cxx/Utilities/CMakeFiles/SparseArray.dir/all] Error 2
>> >
>> > Any suggestions or help.
>> >
>> > Thanks
>> > Ratnesh
>> >
>> >
>> > _______________________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the VTK FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list