<div dir="ltr">Hello,<div><br></div><div>I am trying to install VTK, but when I configure VTK in CMake, I get the following error:</div><div><br></div><div>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Error in cmake code at<br>/Volumes/FAT32G/ITKstuffs/VTK/Remote/._PoissonReconstruction.remote.cmake:1:<br>Parse error. Expected a command name, got unquoted argument with text "".</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at Remote/CMakeLists.txt:6 (include):<br> include could not find load file:<br><br> /Volumes/FAT32G/ITKstuffs/VTK/Remote/._PoissonReconstruction.remote.cmake<br><br></span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Error in cmake code at<br>/Volumes/FAT32G/ITKstuffs/VTK/Remote/._vtkAddon.remote.cmake:1:<br>Parse error. Expected a command name, got unquoted argument with text "".</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at Remote/CMakeLists.txt:6 (include):<br> include could not find load file:<br><br> /Volumes/FAT32G/ITKstuffs/VTK/Remote/._vtkAddon.remote.cmake<br><br></span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Error in cmake code at<br>/Volumes/FAT32G/ITKstuffs/VTK/Remote/._vtkDICOM.remote.cmake:1:<br>Parse error. Expected a command name, got unquoted argument with text "".</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at Remote/CMakeLists.txt:6 (include):<br> include could not find load file:<br><br> /Volumes/FAT32G/ITKstuffs/VTK/Remote/._vtkDICOM.remote.cmake<br></span></p><p style="margin:0px"><span style="color:rgb(255,0,0)"><br></span></p><p style="margin:0px"><font color="#000000">FAT32G is the name of the disk I am trying to install VTK on, and ITKstuffs is the name of the folder I put all my ITK- and VTK-related things in. I am not sure what is wrong with the VTK code that is causing this error. Below is the code in PoissonReconstruction.remote.cmake, vtkAddon.remote.cmake, and vtkDICOM.remote.cmake:</font></p><p style="margin:0px"><font color="#000000"><br></font></p><p style="margin:0px"><font color="#000000">#</font></p><p style="margin:0px"><font color="#000000"># Poisson Reconstruction</font></p><p style="margin:0px"><font color="#000000">#</font></p><p style="margin:0px"><font color="#000000"><br></font></p><p style="margin:0px"><font color="#000000">vtk_fetch_module(PoissonReconstruction</font></p><p style="margin:0px"><font color="#000000"> "Poisson Surface reconstruction from unorganized points"</font></p><p style="margin:0px"><font color="#000000"> GIT_REPOSITORY <a href="https://github.com/lorensen/PoissonReconstruction">https://github.com/lorensen/PoissonReconstruction</a></font></p><p style="margin:0px"><font color="#000000"> # July 5, 2015 - first working as a remote module</font></p><p style="margin:0px"><font color="#000000"> GIT_TAG a3fdb529774d48329a2e807e542f2fe589060ccb</font></p><p style="margin:0px"><font color="#000000"></font></p><p style="margin:0px"><font color="#000000"> )</font></p></div><div>--------------------<br></div><div><div>#</div><div># vtkAddon</div><div>#</div><div><br></div><div>vtk_fetch_module(vtkAddon</div><div> "Slicer additions to vtk"</div><div> GIT_REPOSITORY <a href="https://github.com/lorensen/vtkAddon">https://github.com/lorensen/vtkAddon</a></div><div> GIT_TAG 0d324d0a7afbd2f7ddd79ae52640fddd15091b34</div><div> )</div></div><div>--------------------</div><div><div>#</div><div># Dicom Classes</div><div>#</div><div><br></div><div>vtk_fetch_module(vtkDICOM</div><div> "Dicom classes and utilities"</div><div> GIT_REPOSITORY <a href="https://github.com/dgobbi/vtk-dicom">https://github.com/dgobbi/vtk-dicom</a></div><div> # vtk-dicom tag v0.7.1 (Nov 16, 2015)</div><div> GIT_TAG f51f08a74d82d620850a39be34e11ab1fb009a19</div><div> )</div></div><div><br></div><div><br></div><div>Any suggestions on how to fix this error would be greatly appreciated. Thanks in advance.</div></div>