<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Pat, I think that the problems could be come from the Data file. When I install the .apk from the VES directory the devices (nexus 7) has the shuttle.vtp file but when I install from the project outside the VES directory the devices has an empty folder.<div><br></div><div>To compile the Kiwi app outside the VES directory I copy the Data directory inside the src folder and made the change into the assets.cmake. Do I need to modified into another file ?</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-style: normal; font-weight: normal; font-size: medium; font-family: Helvetica; color: rgb(0, 0, 0); "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">Thanks.</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">__________________________________<br><font class="Apple-style-span" color="#b7bfc5">|</font> Ariel Hernán Curiale Ph.D Student<br><font class="Apple-style-span" color="#b7bfc5">|</font> ETSI Telecomunicación<br><font class="Apple-style-span" color="#b7bfc5">|</font> Universidad de Valladolid<br><font class="Apple-style-span" color="#b7bfc5">|</font> Campus Miguel Delibes<br><font class="Apple-style-span" color="#b7bfc5">|</font> 47011 Valladolid, Spain<br><font class="Apple-style-span" color="#b7bfc5">|</font> Phone: 983-423000 ext. 5590</div><div><font class="Apple-style-span" color="#b7b7b7" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">|</font> Web: <a href="http://www.curiale.com.ar/"><font class="Apple-style-span" color="#084ebe">www.curiale.com.ar</font></a><br><font class="Apple-style-span" color="#b7b7b7" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">|</font><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; color: rgb(0, 0, 0); ">_________________________________</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 10/11/2012, a las 13:59, Ariel Hernán Curiale escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Pat,<div><br></div><div>I want to say thank you :) With your simple and effective explanation I can build a kiwi outside the VES directory. I change the scripts configure_cmake, _ant and compile.sh to have the source code and build directory separated.</div><div><br></div><div>I've had some problems to run the apk. If I compile the Kiwi app from the VES directory when I executed  the run.sh the Kiwi app was installed properly and I could run the app ok. But, If I compile from a custom folder the Kiwi, when I executed the run.sh the app was installed properly inside the mobil (nexus 7) but when It tries to run the is automatically stopped.</div><div><br></div><div><br></div><div>I paste the logs from the normal and custom installation and perhaps you can tell me what I'm missing to change. I can't see any difference between two logs and both seems build and install properly.</div><div><br></div><div><br></div><div>This is  the log obtained in the process outside the main directory VES (When I try to run inside the mobil the app, the app stop inmediatlly):</div><div><br></div><div>---- configure_cmake.sh</div><div><div>ariel@gohan:~/Uva/LPI/Proyectos/Android/VES/Kiwi$ ./configure_cmake.sh </div><div>+ VTK_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/vtk-android</div><div>+ VES_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/ves-android</div><div>+ TOOLCHAIN=/Users/ariel/Applications/VES/CMake/toolchains/android.toolchain.cmake</div><div>+ mkdir -p /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build</div><div>+ cd /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build</div><div>+ /opt/local/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/Users/ariel/Applications/VES/CMake/toolchains/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=8 -DVTK_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/vtk-android -DVES_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/ves-android /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src</div><div>-- Configuring done</div><div>-- Generating done</div><div>-- Build files have been written to: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build</div><div><br></div><div><br></div><div>---- configure_ant.sh</div><div>ariel@gohan:~/Uva/LPI/Proyectos/Android/VES/Kiwi$ ./configure_ant.sh </div><div>+ /Users/ariel/Applications/android-sdk-macosx/tools/android update project --name KiwiViewer --path /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src --target android-14</div><div>Updated project.properties</div><div>Updated local.properties</div><div>Added file /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/build.xml</div><div>Added file /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/proguard-project.txt</div><div><br></div><div><br></div><div><br></div><div>---- compile.sh</div><div>ariel@gohan:~/Uva/LPI/Proyectos/Android/VES/Kiwi$ ./compile.sh </div><div>+ cd /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build</div><div>+ make</div><div>Scanning dependencies of target KiwiNative</div><div>[100%] Building CXX object jni/CMakeFiles/KiwiNative.dir/KiwiNative.cpp.o</div><div>Linking CXX shared library ../libs/armeabi-v7a/libKiwiNative.so</div><div>[100%] Built target KiwiNative</div><div>+ cd /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src</div><div>+ /opt/local/bin/ant -buildfile /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/build.xml -Dbuilddir=/Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build debug</div><div>Buildfile: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/build.xml</div><div><br></div><div>-set-mode-check:</div><div><br></div><div>-set-debug-files:</div><div><br></div><div>-check-env:</div><div> [checkenv] Android SDK Tools Revision 20.0.3</div><div> [checkenv] Installed at /Users/ariel/Applications/android-sdk-macosx</div><div><br></div><div>-setup:</div><div>     [echo] Project Name: KiwiViewer</div><div>  [gettype] Project Type: Application</div><div><br></div><div>-set-debug-mode:</div><div><br></div><div>-debug-obfuscation-check:</div><div><br></div><div>-build-setup:</div><div>     [echo] Resolving Build Target for KiwiViewer...</div><div>[gettarget] Project Target:   Android 4.0</div><div>[gettarget] API level:        14</div><div>     [echo] ----------</div><div>     [echo] Creating output directories if needed...</div><div>    [mkdir] Created dir: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin</div><div>    [mkdir] Created dir: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res</div><div>    [mkdir] Created dir: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/classes</div><div>     [echo] ----------</div><div>     [echo] Resolving Dependencies for KiwiViewer...</div><div>[dependency] Library dependencies:</div><div>[dependency] No Libraries</div><div>[dependency] </div><div>[dependency] ------------------</div><div>[dependency] API<=15: Adding annotations.jar to the classpath.</div><div>[dependency] WARNING: unable to write jarlist cache file /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/jarlist.cache</div><div>     [echo] ----------</div><div>     [echo] Building Libraries with 'debug'...</div><div>   [subant] No sub-builds to iterate on</div><div><br></div><div>-pre-build:</div><div><br></div><div>-code-gen:</div><div>[mergemanifest] Merging AndroidManifest files into one.</div><div>[mergemanifest] Manifest merger disabled. Using project manifest only.</div><div>     [echo] Handling aidl files...</div><div>     [aidl] No AIDL files to compile.</div><div>     [echo] ----------</div><div>     [echo] Handling RenderScript files...</div><div>[renderscript] No RenderScript files to compile.</div><div>     [echo] ----------</div><div>     [echo] Handling Resources...</div><div>     [aapt] Found modified input file</div><div>     [aapt] Generating resource IDs...</div><div>     [echo] ----------</div><div>     [echo] Handling BuildConfig class...</div><div>[buildconfig] Generating BuildConfig class.</div><div><br></div><div>-pre-compile:</div><div><br></div><div>-compile:</div><div>    [javac] Compiling 8 source files to /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/classes</div><div><br></div><div>-post-compile:</div><div><br></div><div>-obfuscate:</div><div><br></div><div>-dex:</div><div>      [dex] Converting compiled files and external libraries into /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/classes.dex...</div><div><br></div><div>-crunch:</div><div>   [crunch] Crunching PNG Files in source dir: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res</div><div>   [crunch] To destination dir: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable-hdpi/alert_dialog_icon.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-hdpi/alert_dialog_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-hdpi/alert_dialog_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable-hdpi/info_icon.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-hdpi/info_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-hdpi/info_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable-hdpi/kiwi_small_icon.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-hdpi/kiwi_small_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-hdpi/kiwi_small_icon.png: 54% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable-mdpi/alert_dialog_icon.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-mdpi/alert_dialog_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-mdpi/alert_dialog_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable-mdpi/kiwi_small_icon.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-mdpi/kiwi_small_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable-mdpi/kiwi_small_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/icon.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/icon.png: 95% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/info_active.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/info_active.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/info_active.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/info_inactive.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/info_inactive.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/info_inactive.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/kitwarelogo.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/kitwarelogo.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/kitwarelogo.png: 61% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/opendata_active.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/opendata_active.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/opendata_active.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/opendata_inactive.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/opendata_inactive.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/opendata_inactive.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/reset_active.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/reset_active.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/reset_active.png: 57% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/src/res/drawable/reset_inactive.png => /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/reset_inactive.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/res/drawable/reset_inactive.png: 0% size of source)</div><div>   [crunch] Crunched 13 PNG files to update cache</div><div><br></div><div>-package-resources:</div><div>     [aapt] Creating full resource package...</div><div><br></div><div>-package:</div><div>[apkbuilder] Current build type is different than previous build: forced apkbuilder run.</div><div>[apkbuilder] Creating KiwiViewer-debug-unaligned.apk and signing it with a debug key...</div><div><br></div><div>-post-package:</div><div><br></div><div>-do-debug:</div><div> [zipalign] Running zip align on final apk...</div><div>     [echo] Debug Package: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/KiwiViewer-debug.apk</div><div>[propertyfile] Creating new property file: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/build.prop</div><div>[propertyfile] Updating property file: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/build.prop</div><div>[propertyfile] Updating property file: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/build.prop</div><div>[propertyfile] Updating property file: /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/build.prop</div><div><br></div><div>-post-build:</div><div><br></div><div>debug:</div><div><br></div><div>BUILD SUCCESSFUL</div><div>Total time: 10 seconds</div><div><br></div><div>--- install and run the app</div><div>ariel@gohan:~/Uva/LPI/Proyectos/Android/VES/Kiwi$ ./install_and_run.sh </div><div>+ /Users/ariel/Applications/android-sdk-macosx/platform-tools/adb -d install -r /Users/ariel/Uva/LPI/Proyectos/Android/VES/Kiwi/build/bin/KiwiViewer-debug.apk</div><div>1301 KB/s (6470341 bytes in 4.856s)</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>pkg: /data/local/tmp/KiwiViewer-debug.apk</div><div>Success</div><div>+ /Users/ariel/Applications/android-sdk-macosx/platform-tools/adb shell am start -a android.intent.action.MAIN -n com.kitware.KiwiViewer/.KiwiViewerActivity</div><div>Starting: Intent { act=android.intent.action.MAIN cmp=com.kitware.KiwiViewer/.KiwiViewerActivity }</div></div><div>------------------------</div><div><br></div><div><br></div><div><br></div><div>And this is the log obtained in the process inside the main directory VES (This app run ok):</div><div>---------------------------------------</div><div><br></div><div>---- configure_cmake.sh</div><div><div>ariel@gohan:~/Applications/VES/Apps/Android/Kiwi$ ./configure_cmake.sh </div><div>+ VTK_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/vtk-android</div><div>+ VES_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/ves-android</div><div>+ TOOLCHAIN=/Users/ariel/Applications/VES/Apps/Android/Kiwi/../../../CMake/toolchains/android.toolchain.cmake</div><div>+ mkdir -p /Users/ariel/Applications/VES/Apps/Android/Kiwi</div><div>+ cd /Users/ariel/Applications/VES/Apps/Android/Kiwi</div><div>+ /opt/local/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/Users/ariel/Applications/VES/Apps/Android/Kiwi/../../../CMake/toolchains/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=8 -DVTK_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/vtk-android -DVES_DIR=/Users/ariel/Applications/VES-build/CMakeExternals/Build/ves-android /Users/ariel/Applications/VES/Apps/Android/Kiwi</div><div>-- Configuring done</div><div>-- Generating done</div><div>CMake Warning:</div><div>  Manually-specified variables were not used by the project:</div><div><br></div><div>    CMAKE_TOOLCHAIN_FILE</div><div><br></div><div><br></div><div>-- Build files have been written to: /Users/ariel/Applications/VES/Apps/Android/Kiwi</div><div><br></div><div><br></div><div><br></div><div>---- configure_ant.sh</div><div>ariel@gohan:~/Applications/VES/Apps/Android/Kiwi$ ./configure_ant.sh </div><div>+ /Users/ariel/Applications/android-sdk-macosx/tools/android update project --name KiwiViewer --path /Users/ariel/Applications/VES/Apps/Android/Kiwi --target android-14</div><div>Updated and renamed default.properties to project.properties</div><div>Updated local.properties</div><div>Added file /Users/ariel/Applications/VES/Apps/Android/Kiwi/build.xml</div><div>Added file /Users/ariel/Applications/VES/Apps/Android/Kiwi/proguard-project.txt</div><div><br></div><div>----- compile.sh</div><div>ariel@gohan:~/Applications/VES/Apps/Android/Kiwi$ ./compile.sh </div><div>+ cd /Users/ariel/Applications/VES/Apps/Android/Kiwi</div><div>+ make</div><div>Scanning dependencies of target KiwiNative</div><div>[100%] Building CXX object jni/CMakeFiles/KiwiNative.dir/KiwiNative.cpp.o</div><div>Linking CXX shared library ../libs/armeabi-v7a/libKiwiNative.so</div><div>[100%] Built target KiwiNative</div><div>+ cd /Users/ariel/Applications/VES/Apps/Android/Kiwi</div><div>+ /opt/local/bin/ant -buildfile /Users/ariel/Applications/VES/Apps/Android/Kiwi/build.xml -Dbuilddir=/Users/ariel/Applications/VES/Apps/Android/Kiwi debug</div><div>Buildfile: /Users/ariel/Applications/VES/Apps/Android/Kiwi/build.xml</div><div><br></div><div>-set-mode-check:</div><div><br></div><div>-set-debug-files:</div><div><br></div><div>-check-env:</div><div> [checkenv] Android SDK Tools Revision 20.0.3</div><div> [checkenv] Installed at /Users/ariel/Applications/android-sdk-macosx</div><div><br></div><div>-setup:</div><div>     [echo] Project Name: KiwiViewer</div><div>  [gettype] Project Type: Application</div><div><br></div><div>-set-debug-mode:</div><div><br></div><div>-debug-obfuscation-check:</div><div><br></div><div>-build-setup:</div><div>     [echo] Resolving Build Target for KiwiViewer...</div><div>[gettarget] Project Target:   Android 4.0</div><div>[gettarget] API level:        14</div><div>     [echo] ----------</div><div>     [echo] Creating output directories if needed...</div><div>    [mkdir] Created dir: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin</div><div>    [mkdir] Created dir: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res</div><div>    [mkdir] Created dir: /Users/ariel/Applications/VES/Apps/Android/Kiwi/gen</div><div>    [mkdir] Created dir: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/classes</div><div>     [echo] ----------</div><div>     [echo] Resolving Dependencies for KiwiViewer...</div><div>[dependency] Library dependencies:</div><div>[dependency] No Libraries</div><div>[dependency] </div><div>[dependency] ------------------</div><div>[dependency] API<=15: Adding annotations.jar to the classpath.</div><div>[dependency] WARNING: unable to write jarlist cache file /Users/ariel/Applications/VES/Apps/Android/Kiwi/Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/jarlist.cache</div><div>     [echo] ----------</div><div>     [echo] Building Libraries with 'debug'...</div><div>   [subant] No sub-builds to iterate on</div><div><br></div><div>-pre-build:</div><div><br></div><div>-code-gen:</div><div>[mergemanifest] Merging AndroidManifest files into one.</div><div>[mergemanifest] Manifest merger disabled. Using project manifest only.</div><div>     [echo] Handling aidl files...</div><div>     [aidl] No AIDL files to compile.</div><div>     [echo] ----------</div><div>     [echo] Handling RenderScript files...</div><div>[renderscript] No RenderScript files to compile.</div><div>     [echo] ----------</div><div>     [echo] Handling Resources...</div><div>     [aapt] Generating resource IDs...</div><div>     [echo] ----------</div><div>     [echo] Handling BuildConfig class...</div><div>[buildconfig] Generating BuildConfig class.</div><div><br></div><div>-pre-compile:</div><div><br></div><div>-compile:</div><div>    [javac] Compiling 8 source files to /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/classes</div><div><br></div><div>-post-compile:</div><div><br></div><div>-obfuscate:</div><div><br></div><div>-dex:</div><div>      [dex] Converting compiled files and external libraries into /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/classes.dex...</div><div><br></div><div>-crunch:</div><div>   [crunch] Crunching PNG Files in source dir: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res</div><div>   [crunch] To destination dir: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable-hdpi/alert_dialog_icon.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-hdpi/alert_dialog_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-hdpi/alert_dialog_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable-hdpi/info_icon.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-hdpi/info_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-hdpi/info_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable-hdpi/kiwi_small_icon.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-hdpi/kiwi_small_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-hdpi/kiwi_small_icon.png: 54% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable-mdpi/alert_dialog_icon.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-mdpi/alert_dialog_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-mdpi/alert_dialog_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable-mdpi/kiwi_small_icon.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-mdpi/kiwi_small_icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable-mdpi/kiwi_small_icon.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/icon.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/icon.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/icon.png: 95% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/info_active.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/info_active.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/info_active.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/info_inactive.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/info_inactive.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/info_inactive.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/kitwarelogo.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/kitwarelogo.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/kitwarelogo.png: 61% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/opendata_active.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/opendata_active.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/opendata_active.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/opendata_inactive.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/opendata_inactive.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/opendata_inactive.png: 0% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/reset_active.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/reset_active.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/reset_active.png: 57% size of source)</div><div>   [crunch] Processing image to cache: /Users/ariel/Applications/VES/Apps/Android/Kiwi/res/drawable/reset_inactive.png => /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/reset_inactive.png</div><div>   [crunch]   (processed image to cache entry /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/res/drawable/reset_inactive.png: 0% size of source)</div><div>   [crunch] Crunched 13 PNG files to update cache</div><div><br></div><div>-package-resources:</div><div>     [aapt] Creating full resource package...</div><div><br></div><div>-package:</div><div>[apkbuilder] Current build type is different than previous build: forced apkbuilder run.</div><div>[apkbuilder] Creating KiwiViewer-debug-unaligned.apk and signing it with a debug key...</div><div><br></div><div>-post-package:</div><div><br></div><div>-do-debug:</div><div> [zipalign] Running zip align on final apk...</div><div>     [echo] Debug Package: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/KiwiViewer-debug.apk</div><div>[propertyfile] Creating new property file: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/build.prop</div><div>[propertyfile] Updating property file: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/build.prop</div><div>[propertyfile] Updating property file: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/build.prop</div><div>[propertyfile] Updating property file: /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/build.prop</div><div><br></div><div>-post-build:</div><div><br></div><div>debug:</div><div><br></div><div>BUILD SUCCESSFUL</div><div>Total time: 14 seconds</div><div><br></div><div>---- Install and run the app</div><div>ariel@gohan:~/Applications/VES/Apps/Android/Kiwi$ ./run.sh </div><div>+ /Users/ariel/Applications/android-sdk-macosx/platform-tools/adb -d install -r /Users/ariel/Applications/VES/Apps/Android/Kiwi/bin/KiwiViewer-debug.apk</div><div>1264 KB/s (9982452 bytes in 7.706s)</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>pkg: /data/local/tmp/KiwiViewer-debug.apk</div><div>Success</div><div>+ /Users/ariel/Applications/android-sdk-macosx/platform-tools/adb shell am start -a android.intent.action.MAIN -n com.kitware.KiwiViewer/.KiwiViewerActivity</div><div>Starting: Intent { act=android.intent.action.MAIN cmp=com.kitware.KiwiViewer/.KiwiViewerActivity }</div></div><div><br></div><div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">Saludos</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">__________________________________<br><font class="Apple-style-span" color="#b7bfc5">|</font> Ariel Hernán Curiale Ph.D Student<br><font class="Apple-style-span" color="#b7bfc5">|</font> ETSI Telecomunicación<br><font class="Apple-style-span" color="#b7bfc5">|</font> Universidad de Valladolid<br><font class="Apple-style-span" color="#b7bfc5">|</font> Campus Miguel Delibes<br><font class="Apple-style-span" color="#b7bfc5">|</font> 47011 Valladolid, Spain<br><font class="Apple-style-span" color="#b7bfc5">|</font> Phone: 983-423000 ext. 5590</div><div><font class="Apple-style-span" color="#b7b7b7" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">|</font> Web: <a href="http://www.curiale.com.ar/"><font class="Apple-style-span" color="#084ebe">www.curiale.com.ar</font></a><br><font class="Apple-style-span" color="#b7b7b7" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">|</font><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">_________________________________</span></div></div></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></div>
</div>
<br><div><div>El 10/11/2012, a las 10:07, Ariel Hernán Curiale escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Pat, thank for your explanation !<div><br></div><div>I'm trying to relocate an Android project and I want to use the cmake to create the project for xcode or eclipse. In particular I use eclipse and I want to create the eclipse project (.project) with cmake:</div><div><br></div><div>ccmake -G "Eclipse CDT4 - Unix Makefiles" ../src/</div><div> </div><div><br></div><div>I will try to build again the kiwi project and import into eclipse follow your instruction. If I have any doubt I tell you.</div><div><br></div><div><br></div><div>Again, Thanks.</div><div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-style: normal; font-weight: normal; font-size: medium; font-family: Helvetica; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">__________________________________<br><font class="Apple-style-span" color="#b7bfc5">|</font> Ariel Hernán Curiale Ph.D Student<br><font class="Apple-style-span" color="#b7bfc5">|</font> ETSI Telecomunicación<br><font class="Apple-style-span" color="#b7bfc5">|</font> Universidad de Valladolid<br><font class="Apple-style-span" color="#b7bfc5">|</font> Campus Miguel Delibes<br><font class="Apple-style-span" color="#b7bfc5">|</font> 47011 Valladolid, Spain<br><font class="Apple-style-span" color="#b7bfc5">|</font> Phone: 983-423000 ext. 5590</div><div><font class="Apple-style-span" color="#b7b7b7" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">|</font> Web: <a href="http://www.curiale.com.ar/"><font class="Apple-style-span" color="#084ebe">www.curiale.com.ar</font></a><br><font class="Apple-style-span" color="#b7b7b7" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; ">|</font><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; font-weight: normal; font-style: 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 23:28, Pat Marion escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite">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>
</blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></body></html>