[Ves] Problem with 'Point Cloud Streaming' compilation in VES

Aashish Chaudhary aashish.chaudhary at kitware.com
Fri Aug 16 10:16:53 EDT 2013


Please reply to all -:)


On Fri, Aug 16, 2013 at 10:15 AM, Hashim Yaqub <hashimkyaqub at gmail.com>wrote:

> 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.
>
>
> #!/bin/bash
>
> source tools.sh
>
> VTK_DIR=$cmakeexternals/Build/vtk-android
> VES_DIR=$cmakeexternals/Build/ves-android
> TOOLCHAIN=$source_dir/CMake/toolchains/android.toolchain.cmake
>
> mkdir -p $build_dir
> cd $build_dir
> *$CMAKE -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DANDROID_NATIVE_API_LEVEL=9
> -DVTK_DIR=$VTK_DIR -DVES_DIR=$VES_DIR $app_dir*
>
> Yes, you need to modify this script.

- Aashish


>
> On Fri, Aug 16, 2013 at 3:06 PM, Aashish Chaudhary <
> aashish.chaudhary at kitware.com> wrote:
>
>> Hi Hashim,
>>
>> In general you would like to send an email to VES mailing list so that
>> others can respond as well.
>>
>>
>> On Fri, Aug 16, 2013 at 9:59 AM, Hashim Yaqub <hashimkyaqub at gmail.com>wrote:
>>
>>> Hi Aashish, I was not sure how else to contact you but I've run into
>>> some trouble, and I need some help.
>>>
>>> I have been following the tutorial of running the mobile app 'point
>>> cloud streaming'.
>>>
>>> I have successfully compiled VES, vtk etc and it got it running on my
>>> Nexus 7 tablet.
>>>
>>> I'm at the stage where I'm compiling PointCloudStreaming. When I run
>>> 'configure_cmake.sh', I get the following error:
>>>
>>> Run 'git help git' to display the help index.
>>> Run 'git help <command>' to display help for specific commands.
>>> + VTK_DIR=/source/ves/build/CMakeExternals/Build/vtk-android
>>> + VES_DIR=/source/ves/build/CMakeExternals/Build/ves-android
>>> + TOOLCHAIN=/source/ves/ves/CMake/toolchains/android.toolchain.cmake
>>> + mkdir -p /c/VES/Apps/Android/PointCloudStreaming
>>> + cd /c/VES/Apps/Android/PointCloudStreaming
>>> + /c/Program Files '(x86)/CMake' 2.8/bin/cmake
>>> -DCMAKE_TOOLCHAIN_FILE=/source/ve
>>> s/ves/CMake/toolchains/android.toolchain.cmake
>>> -DANDROID_NATIVE_API_LEVEL=9 -DVT
>>> K_DIR=/source/ves/build/CMakeExternals/Build/vtk-android
>>> -DVES_DIR=/source/ves/b
>>> uild/CMakeExternals/Build/ves-android
>>> /c/VES/Apps/Android/PointCloudStreaming
>>> *C:\VES\Apps\Android\PointCloudStreaming\configure_cmake.sh: line 11:
>>> /c/Program:*
>>> * No such file or directory*
>>>
>>
>> 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.
>>
>>>
>>> I took a look at the configure_cmake.bat file, and found that
>>> *$app_dir*
>>>
>>> was resulting in the output:
>>> */c/Program:*
>>> *
>>> *
>>> 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.
>>>
>>> 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
>>>
>>> Regards
>>>
>>> Hashim Yaqub
>>>
>>>
>>
>>
>> --
>> | Aashish Chaudhary
>> | R&D Engineer
>> | Kitware Inc.
>> | www.kitware.com
>>
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130816/b42a576d/attachment-0001.html>


More information about the Ves mailing list