<span tabindex="-1" id="result_box" class="" lang="en"><span class="hps">Hello all</span><span>,</span><br><br><span class="hps">A short time</span> <span class="hps">since</span> <span class="hps">I sent</span> <span class="hps">my last</span> <span class="hps">question</span><span>, sorry</span> <span class="hps">for my</span> <span class="hps">insistence</span><span>,</span> <span class="hps">but I'm still</span> <span class="hps">new to</span> <span class="hps">VES</span><span>.</span><br>
<br><span class="hps">I want to</span> <span class="hps">develop</span> <span class="hps">a simple example using</span> <span class="hps">VES</span><span>,</span> <span class="hps">but</span> <span class="hps">on a</span> <span class="hps">common</span> <span class="hps">text editor</span><span>,</span> <span class="hps">such as gedit</span><span>, for example</span><span>, and</span> <span class="hps">compiling with</span> <span class="hps">cmake</span><span>.</span><br>
<span class="hps">I've</span> <span class="hps">specified the</span> <span class="hps">directory</span> <span class="hps">VES</span> <span class="hps">(already installed</span><span>)</span> <span class="hps">in</span> <span class="hps">CMAkeList</span><span>.</span> <span class="hps">My</span> <span class="hps">CMakeList</span> <span class="hps">is</span> <span class="hps">thus:</span><br>
<br><span class="hps">/ /</span> <span class="hps">-----------------------------------</span> <span class="hps">/ /</span> <span class="hps">-----------</span> <span class="hps">------------------------</span> <span class="hps">/ /</span><br>
<span class="hps">cmake_minimum_required</span> <span class="hps">(VERSION</span> <span class="hps">2.8)</span><br><br><span class="hps">PROJECT</span> <span class="hps atn">(</span><span>Step1</span><span>)</span><br><br>
<span class="hps atn">set (</span><span>CMAKE_OSX_SYSROOT</span> <span class="hps">iphoneos4.3</span><span>)</span><br><span class="hps atn">set (</span><span class="">CMAKE_XCODE_EFFECTIVE_PLATFORMS</span> <span class="hps atn">"-</span><span>iPhoneOS</span><span>;</span><span class="atn">-</span><span>iphonesimulator</span><span>")</span><br>
<br><span class="hps">include_directories</span> <span class="hps atn">(</span><span>$</span> <span class="hps">CMAKE_CURRENT_SOURCE_DIR</span> <span class="hps atn">{</span><span>}</span><span>)</span><br><br><span class="hps atn">Find_package (</span><span>VES</span> <span class="hps">REQUIRED</span><span>)</span><br>
<span class="hps">Include_directories</span> <span class="hps atn">(</span><span>$</span> <span class="hps">VES_INCLUDE_DIRS</span> <span class="hps atn">{</span><span>}</span><span>)</span><br><br><span class="hps atn">Find_package (</span><span>VTK</span> <span class="hps">REQUIRED</span><span>)</span><br>
<span class="hps">INCLUDE</span> <span class="hps atn">(</span><span>$</span> <span class="hps atn">{</span><span>}</span> <span class="hps">VTK_USE_FILE</span><span>)</span><br><br><span class="hps">ADD_EXECUTABLE</span> <span class="hps atn">(</span><span>EsferaMalhaDeArestas</span> <span class="hps">.. /</span> <span class="hps">main.cxx</span><span>)</span><br>
<span class="hps">TARGET_LINK_LIBRARIES</span> <span class="hps atn">(</span><span>EsferaMalhaDeArestas</span> <span class="hps">vtkRendering</span><span>)</span><br><span class="hps">/ /</span> <span class="hps">-----------------------------------</span> <span class="hps">/ /</span> <span class="hps">-----------</span> <span class="hps">------------------------</span> <span class="hps">/ /</span><br>
<br><span class="hps">How do I</span> <span class="hps">run the application</span> <span class="hps">within that</span> <span class="hps">iPadSimulator</span><span>?</span> <span class="hps">Could someone</span> <span class="hps">show me</span> <span class="hps">a code</span> <span class="hps">example</span> <span class="hps">that does something</span> <span class="hps">very simple</span><span>,</span> <span class="hps">such as</span> <span class="hps">instantiating a</span> <span class="hps">coneSource</span> <span class="hps">and</span> <span class="hps">display it</span> <span class="hps">on the screen of</span> <span class="hps">iPadSimulator</span><span>,</span> <span class="hps">please?</span><br>
<br><span class="hps">I promise I</span><span class="">'ll give</span> <span class="hps">a reasonable space</span> <span class="hps">of time</span> <span class="hps">between this</span> <span class="hps">and my</span> <span class="hps">next question</span><span>.</span><br>
<br><span class="hps">Thank you!</span><br><span class="hps">Thiago</span></span><br clear="all"><br>-- <br><div style="text-align:left"><div><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"><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="background-color:rgb(255,255,255)"></span></span></div><div style="text-align:left"><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)">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>