[vtkusers] Error in building VT 5.10.0-rc2 using cmake 2.8.7

David E DeMarle dave.demarle at kitware.com
Mon Apr 23 06:38:52 EDT 2012


* Looks like REMOVE is a deprecated cmake command, and as such if
you're project that uses vtk has a high enough require cmake version
this error can show up. I am looking at replacing the removes with
REMOVE_ITEM, the modern cmake equivalent now. A workaround is to
either not turn on testing as you have done, or allow your project to
not require the most recent cmake.

* As for ADDVTD, that looks to me like a typo in some higher level
project. The string is nowhere in VTK itself.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Sun, Apr 15, 2012 at 12:40 AM, Humayun Irshad
<humayun.irshad at gmail.com> wrote:
> When i disable Build_Testing, Then the error is removed. Can any one tell me
> the reason? why it happened?
>
> On Sun, Apr 15, 2012 at 11:48 AM, zhixiu li <zhixiuli at gmail.com> wrote:
>>
>> I don't have any problem to build the 5.10.0-rc2. But I have problem to
>> build the python version after compile the vtk.
>> It said that unknown CMake command  “ADDVTD”
>>
>> On Sat, Apr 14, 2012 at 11:43 PM, Humayun Irshad
>> <humayun.irshad at gmail.com> wrote:
>>>
>>>
>>> Dear all,
>>>
>>> I download 5.10.0-rc2 and when i build vtk using cmake 2.8.7, it give
>>> following error.
>>>
>>> CMake Error at Common/Testing/Cxx/CMakeLists.txt:43 (REMOVE):
>>>
>>> Unknown CMake command "REMOVE".
>>>
>>>
>>> Please help me how can i solve this error
>>> --
>>> --
>>> Best Regards,
>>>
>>> HUMAYUN IRSHAD
>>> PhD student, University of Joseph Fourier, Grenoble, France
>>> Research Engineer,
>>> IPAL – Image & Pervasive Access Lab, Singapore
>>> UMI CNRS (I2R/A*STAR, NUS, UJF, UPMC, IT)
>>>
>>> Institute for Infocomm Research (I2R)
>>> 1 Fusionopolis Way
>>> #10-19 Connexis South Tower
>>> Singapore 138632
>>> Tel:+65-65162864
>>> Cell: +65-83851671
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>
>
>
> --
> --
> Best Regards,
>
> HUMAYUN IRSHAD
> PhD student, University of Joseph Fourier, Grenoble, France
> Research Engineer,
> IPAL – Image & Pervasive Access Lab, Singapore
> UMI CNRS (I2R/A*STAR, NUS, UJF, UPMC, IT)
>
> Institute for Infocomm Research (I2R)
> 1 Fusionopolis Way
> #10-19 Connexis South Tower
> Singapore 138632
> Tel:+65-65162864
> Cell: +65-83851671
>
>
>
> _______________________________________________
> 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
>



More information about the vtkusers mailing list