<div dir="ltr">Please reply to all -:) <div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 16, 2013 at 10:15 AM, Hashim Yaqub <span dir="ltr"><<a href="mailto:hashimkyaqub@gmail.com" target="_blank">hashimkyaqub@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">This is the script as it is written. The part in red is the bit I think is causing the error. Do you know what it is trying to find? If I know which dir or file it is looking for I can hard code it. <div>
<br>
</div><div><br><div><div>#!/bin/bash</div><div><br></div><div>source tools.sh</div><div><br></div><div>VTK_DIR=$cmakeexternals/Build/vtk-android</div><div>VES_DIR=$cmakeexternals/Build/ves-android</div><div>TOOLCHAIN=$source_dir/CMake/toolchains/android.toolchain.cmake</div>

<div><br></div><div>mkdir -p $build_dir</div><div>cd $build_dir</div><div><b>$CMAKE -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DANDROID_NATIVE_API_LEVEL=9 -DVTK_DIR=$VTK_DIR -DVES_DIR=$VES_DIR <font color="#ff0000">$app_dir</font></b></div>

</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br></div></div></div></blockquote><div style>Yes, you need to modify this script. </div><div style><br></div><div style>- Aashish</div><div style>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 16, 2013 at 3:06 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.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">Hi Hashim, <div class="gmail_extra"><br></div><div class="gmail_extra">In general you would like to send an email to VES mailing list so that others can respond as well. </div>

<div class="gmail_extra"><br><br>
<div class="gmail_quote"><div>On Fri, Aug 16, 2013 at 9:59 AM, Hashim Yaqub <span dir="ltr"><<a href="mailto:hashimkyaqub@gmail.com" target="_blank">hashimkyaqub@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">Hi Aashish, I was not sure how else to contact you but I've run into some trouble, and I need some help.<div><br></div><div>I have been following the tutorial of running the mobile app 'point cloud streaming'. <br>



<br>I have successfully compiled VES, vtk etc and it got it running on my Nexus 7 tablet. </div><div><br></div><div>I'm at the stage where I'm compiling PointCloudStreaming. When I run 'configure_cmake.sh', I get the following error:</div>



<div><br></div><div><div>Run 'git help git' to display the help index.</div><div>Run 'git help <command>' to display help for specific commands.</div><div>+ VTK_DIR=/source/ves/build/CMakeExternals/Build/vtk-android</div>



<div>+ VES_DIR=/source/ves/build/CMakeExternals/Build/ves-android</div><div>+ TOOLCHAIN=/source/ves/ves/CMake/toolchains/android.toolchain.cmake</div><div>+ mkdir -p /c/VES/Apps/Android/PointCloudStreaming</div><div>+ cd /c/VES/Apps/Android/PointCloudStreaming</div>



<div>+ /c/Program Files '(x86)/CMake' 2.8/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/source/ve</div><div>s/ves/CMake/toolchains/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=9 -DVT</div><div>K_DIR=/source/ves/build/CMakeExternals/Build/vtk-android -DVES_DIR=/source/ves/b</div>



<div>uild/CMakeExternals/Build/ves-android /c/VES/Apps/Android/PointCloudStreaming</div><div><b>C:\VES\Apps\Android\PointCloudStreaming\configure_cmake.sh: line 11: /c/Program:</b></div><div><b> No such file or directory</b></div>


</div></div></blockquote><div><br></div></div><div>Is this windows? Looks like spaces between Program and Files is causing the configure_cmake.sh to fail. Make sure that paths within this script are surrounded by double quotes. You may have to deal with this problem in some other way as well. </div>

<div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
</div><div><br></div><div>I took a look at the configure_cmake.bat file, and found that </div><div><b>$app_dir</b><br></div><div><br></div><div>was resulting in the output:<br><b>/c/Program:</b><br></div><div><b><br></b></div>



<div>At least I think that is what's doing it. I'm not quite sure how to fix it, or in fact how to hard code the directory as I'm not sure which dir it's trying to look for. </div><div><br></div><div>Any help would be great. If I find the problem I'll let you know, I don't want to take up your time unnecessarily </div>



<div><br></div><div>Regards</div><span><font color="#888888"><div><br></div><div>Hashim Yaqub</div><div><br></div></font></span></div>
</blockquote></div></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>    
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    
</div></div>