Hi Thiago,<br><br>VES uses a "superbuild", which means several projects in addition to VES are configured and compiled and placed in the build directory.  The workspace for the superbuild is in a directory called "CMakeExternals".  After you have run the superbuild, you will find CMakeExternals in your build directory, and you will find the VES build directory in CMakeExternals/Build/ves.<br>

<br>Ariel-<br><br>You can move projects in the App/ directory to any location and build them, but you will need to fix paths.  Were you trying to relocate an Android project or iOS file?  For the iOS project, you will find a .xcconfig file that you must modify to define the path to the VES source and build dirs.  For Android, you should modify the tools.sh file to update the paths of source_dir and cmakeexternals_dir.<br>

<br><br><br>Here's more general instructions:<br><br><br>To configure and build VES (using /workspace as a root dir):<br><br>cd /workspace<br>git clone git://<a href="http://vtk.org/VES.git">vtk.org/VES.git</a><br>mkdir ves-build<br>

cd ves-build<br>cmake -DVES_IOS_SUPERBUILD:BOOL=ON -DVES_ANDROID_SUPERBUILD:BOOL=ON ../VES<br>make -j4<br><br><br>To write a CMakeLists.txt in a new project that uses VES:<br><br># CMakeLists.txt<br>find_package(VTK REQUIRED)<br>

include(${VTK_USE_FILE})<br><br>find_package(VES REQUIRED)<br>include_directories(${VES_INCLUDE_DIRS})<br><br># now you can link with ${VES_LIBRARIES} and ${VTK_LIBRARIES}<br><br><br><br>To configure your project:<br><br>

<br>VTK_DIR=/workspace/ves-build/CMakeExternals/Build/vtk-android<br>VES_DIR=/workspace/ves-build/CMakeExternals/Build/ves-android<br>TOOLCHAIN=/workspace/ves/CMake/toolchains/android.toolchain.cmake<br><br>cmake -DCMAKE_TOOLCHAIN_FILE=$TOOLCHAIN -DVTK_DIR=$VTK_DIR -DVES_DIR=$VES_DIR /path/to/myproject<br>

<br><br>Pat<br><br><br><div class="gmail_quote">On Sat, Nov 10, 2012 at 8:04 AM, 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="auto"><div>I will sen something tomorrow. </div><div><br></div><div>Thanks <br><br>Sent from my iPhone</div>
<div>
<div class="h5"><div><br>On Nov 9, 2012, at 3:32 PM, Ariel Hernán Curiale <<a href="mailto:curiale@gmail.com" target="_blank">curiale@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>Hi Thiago,<div><br>

</div><div>I tried to move one example from the root of the ves/../App (the kiwi app) and I've had too many problems to configure in a proper way the CMakeList.txt.<div><br></div><div>I'm in the same situation like you. If anyone could give us a little example and explain how we have to config. the CMakeList.txt to use the VES library outside the main folder It would be really grate to me :)</div>

<div><br></div><div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<span style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">

<div><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">Thanks</div><div style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">

__________________________________<br><font color="#b7bfc5">|</font> Ariel Hernán Curiale Ph.D Student<br><font color="#b7bfc5">|</font> ETSI Telecomunicación<br><font color="#b7bfc5">|</font> Universidad de Valladolid<br>

<font color="#b7bfc5">|</font> Campus Miguel Delibes<br><font color="#b7bfc5">|</font> 47011 Valladolid, Spain<br><font color="#b7bfc5">|</font> Phone: 983-423000 ext. 5590</div><div><font style="font-family:Helvetica;font-size:medium;font-weight:normal;font-style:normal" color="#b7b7b7">|</font> Web: <a href="http://www.curiale.com.ar/" target="_blank"><font color="#084ebe">www.curiale.com.ar</font></a><br>

<font style="font-family:Helvetica;font-size:medium;font-weight:normal;font-style:normal" color="#b7b7b7">|</font><span style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal">_________________________________</span></div>

</div></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br><div><div>El 09/11/2012, a las 19:53, Thiago Tavares Magalhães escribió:</div><br><blockquote type="cite">Hallo<br><br><span lang="en"><span>First</span> <span>sorry</span> <span>for my</span> <span>bad English</span><span>.</span><br>

<br><span>I started studying</span> <span>the</span> <span>VES</span> <span>recently,</span> <span>but I have done</span> <span>some examples</span> <span>with</span> <span>VTK</span><span>.</span><br>


<span>For this,</span> <span>I use</span> <span>CMake</span><span>.</span> <span>With</span> <span>VTK</span> <span>codes</span> <span>I set</span> <span>the</span> <span>CMakeList</span> <span>normally and</span> <span>run the command</span> <span>ccmake</span> <span>to specify</span><span>,</span> <span>among other</span> <span>things</span><span>,</span> <span>the directory</span> <span>that is</span> <span>the</span> <span>vtk_build</span><span>.</span><br>




<br><span>For</span> <span>VES</span> <span>I do not know</span> <span>which file</span> <span>I must inform</span> <span>the directory within</span> <span>the configuration of</span> <span>cmake</span><span>.</span> <span>In other words</span><span>, I do not</span> <span>know what the</span> <span>file or</span> <span>directory</span> <span>VES</span> <span>equivalent to</span> <span>VTK_build</span> <span>of</span> <span>VTK</span><span>.</span><br>




<br><span>I need to know</span> <span>that.</span> <span>If possible</span><span>,</span> <span>please</span> <span>also</span> <span>a basic example</span> <span>of a</span> <span>valid</span> <span>CMakeList</span> <span>VTK</span> <span>and</span> <span>VES</span> <span>and</span> <span>manages</span> <span>the application to</span> <span>be opened in</span> <span>IPadSimulator</span> <span>(or similar</span><span>)</span><span>.</span><br>




<br><span>Many thanks</span> <span>to all</span><span>!</span></span><br clear="all"><br>-- <br><div style="text-align:left"><div><span style="color:rgb(102,102,102)"><span style><a href="http://lattes.cnpq.br/1989532473555107" target="_blank">Thiago Tavares Magalhães</a><br>



</span></span></div><span style="color:rgb(102,102,102)"><span style></span></span></div><div style="text-align:left"><span style="color:rgb(102,102,102)"><span style>Instituto Superior de Tecnologia em Ciências da Computação de Petrópolis - <b>FAETERJ</b><br>



Laboratório Nacional de Computação Científica -<b> LNCC</b></span></span><br></div><br>
_______________________________________________<br>Ves mailing list<br><a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>

</blockquote></div><br></div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Ves mailing list</span><br><span><a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a></span><br>

<span><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<br>


Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br>