[vtkusers] Problem compiling VTK on Vista with VC++ 2008
capagira87
nacci.gaetano at alice.it
Wed Mar 7 04:18:19 EST 2012
Bill Lorensen wrote
>
> Please post your CMakeLists.txt file.
>
> On Tue, Mar 6, 2012 at 5:50 PM, capagira87 <nacci.gaetano@> wrote:
>> yes that lines are present in my CMakeLists.
>>
>> John Drescher-2 wrote
>>>
>>>> I'm trying to compile my first project on VTK with Visual c++ 2008 on
>>>> Windows Vista-32 bit and I'm having this error message:
>>>>
>>>> Fatal error C1083: Impossible open include file 'vtkActor.h': No such
>>>> file
>>>> or directory.
>>>>
>>>> How can I solve it?
>>>>
>
> This is my CMakeLists:
>
> cmake_minimum_required(VERSION 2.6)
>
> PROJECT(ProvaReadPly)
>
> find_package(VTK REQUIRED)
> include(${VTK_USE_FILE})
>
>
> add_executable(ProvaReadPly ProvaReadPly.cxx)
>
> if (VTK_LIBRARIES)
> target_link_libraries (ProvaReadPly ${VTK_LIBRARIES})
> else ()
> target_link_libraries(ProvaReadPlY ITKBasicFilters ITKCommon ITKIO
> vtkRendering vtkGraphics vtkHybrid vtkImaging vtkIO vtkFiltering
> vtkCommon)
> endif ()
>>>> The version of VTK installed is the latest vtk-5.8.
>>>>
>>>
>>> Make sure you have the following lines
>>> FIND_PACKAGE(VTK REQUIRED)
>>> INCLUDE(${VTK_USE_FILE})
>>>
>>> in your CMakeLists.txt file that you used to generate your application.
>>>
>>> John
>>> _______________________________________________
>>> 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
>>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/Problem-compiling-VTK-on-Vista-with-VC-2008-tp5542532p5542573.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> 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
> _______________________________________________
> 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
>
--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-compiling-VTK-on-Vista-with-VC-2008-tp5542532p5543558.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list