<div dir="ltr"><div><div>Was able to find a workaround.<br><br></div>Thanks,<br></div>Agam<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 10:14 AM, Agam Sarup <span dir="ltr"><<a href="mailto:agamsarup@gmail.com" target="_blank">agamsarup@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><br></div>I am trying to compile vtk with an example(ReadPLY) program and following the instructions from the link <a href="http://www.vtk.org/Wiki/VTK/Examples/IO/ReadPLY" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/IO/ReadPLY</a><br>


<br></div>Since i am doing this on windows, i had to do some things differently.<br></div>I ran the following instructions from ReadPLY folder in Visual Studio Command Prompt (2010).<br><br><b>cd build<br><br>cmake -DVTK_DIR:PATH=C:\git\VES\Apps\Android\CMakeBuild\build\CMakeExternals\Build\vtk-host -G "NMake Makefiles" ..<br>


<br>nmake<br><br>(WINDOWS USERS PLEASE NOTE:</b> Be sure to add the VTK bin directory to your path. This will resolve the VTK dll's at run time.)<br></div>I have also made sure that the above requirement is fulfilled.<br>


<div><br></div><div>After running <b>cmake</b> the Makefile gets generated but when i run <b>nmake</b> i get the following output:<br><br>C:\Users\user\workspace\vtkExamples\ReadPLY\build>nmake<br><br>Microsoft (R) Program Maintenance Utility Version 10.00.30319.01<br>


Copyright (C) Microsoft Corporation.  All rights reserved.<br><br>Scanning dependencies of target ReadPLY<br>[100%] Building CXX object CMakeFiles/ReadPLY.dir/ReadPLY.cxx.obj<br>ReadPLY.cxx<br>NMAKE : fatal error U1073: don't know how to make 'C:\git\VES\Apps\Android\CMake<br>


Build\build\CMakeExternals\Build\vtk-host\lib\vtkalglib-6.0.lib'<br>Stop.<br>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0<br>\VC\BIN\nmake.exe"' : return code '0x2'<br>


Stop.<br>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0<br>\VC\BIN\nmake.exe"' : return code '0x2'<br>Stop.<br><br></div><div>There is no library named <b>vtkalglib-6.0.lib </b>in directory C:\git\VES\Apps\Android\CMakeBuild\build\CMakeExternals\Build\vtk-host\lib\<br>


<br></div><div>I don't understand what to do next. Any help will be appreciated.<br><br></div><div>Thanks,<br></div><div>Agam<br></div></div>
</blockquote></div><br></div>