<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi! You may not have heard that VES is being integrated into the VTK so they are fairly busy on that.
<div class=""><br class="">
</div>
<div class="">Check out my Gist on the <a href="https://gist.github.com/palmerc/9963e835f23e794a85df" class="">https://gist.github.com/palmerc/9963e835f23e794a85df</a></div>
<div class=""><br class="">
</div>
<div class="">It is for Mac, but it should be workable on linux with little to no trouble. <span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 16px; white-space: pre; background-color: rgb(255, 255, 255);" class=""><a href="git://vtk.org/stage/VES.git" class="">git://vtk.org/stage/VES.git</a>
 You might want to remove stage/ in favor of </span><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 16px; white-space: pre; background-color: rgb(255, 255, 255);" class=""><a href="git://vtk.org/VES.git" class="">git://vtk.org/VES.git</a></span></div>
<div class=""><span style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; line-height: 16px; white-space: pre; background-color: rgb(255, 255, 255);" class=""><br class="">
</span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="line-height: 16px; white-space: pre;" class="">Let me know if you encounter any
 trouble figuring it out and I’ll try to help.</span></font></span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="line-height: 16px; white-space: pre;" class=""><br class="">
</span></font></span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace" class=""><span style="line-height: 16px; white-space: pre;" class="">cameron</span></font></span></div>
<div class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 13. des. 2014, at 19.32, Alexander Devaykin <<a href="mailto:xaxellx@gmail.com" class="">xaxellx@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">Hello VES people!<br class="">
<br class="">
I'm going to implement an app for my bachelor theses soon and I think kiwiviewer should work well for that purpose. But I'm having troubles building fresh version of the framework on linux. Build instructios on
<a href="http://www.vtk.org/Wiki/VES/Developers_Guide" class="">http://www.vtk.org/Wiki/VES/Developers_Guide</a> seem to be a bit outdated. Files like e.g. configure_cmake.sh are not there any more since the out of source build was introduced.<br class="">
Making build inside of the Kiwi directory doesn't work, of course. According to the README file in Apps/Android/Kiwi one should run something like this:<br class="">
cmake \<br class="">
      -DCMAKE_TOOLCHAIN_FILE="$ves_src/CMake/toolchains/android.toolchain.cmake" \<br class="">
      -DANDROID_NATIVE_API_LEVEL=8 \<br class="">
      -DVTK_DIR="path/to/cross/build/CMakeExternals/Build/vtk-android" \<br class="">
      -DVES_DIR="path/to/cross/build/CMakeExternals/Build/ves-android" \<br class="">
      "$ves_src/Apps/Android/Kiwi"<br class="">
<br class="">
</div>
After playing with cmake for some time I made it generate Makefile in Apps/Android/Kiwi/build, but make fails because of missing build.xml. I couldn't find this file too, so I suppose there is a problem here. Here is the output of make:<br class="">
$ make -j2<br class="">
Scanning dependencies of target KiwiNative<br class="">
[100%] Building CXX object jni/CMakeFiles/KiwiNative.dir/KiwiNative.cpp.o<br class="">
Linking CXX shared library ../libs/armeabi-v7a/libKiwiNative.so<br class="">
[100%] Built target KiwiNative<br class="">
Scanning dependencies of target kiwi-ant-configure<br class="">
Error copying file (if different) from "/home/alex/Development/bachelor-viewer/VES/Apps/Android/Kiwi/build.xml" to "/home/alex/Development/bachelor-viewer/VES/Apps/Android/Kiwi/build/build.xml".<br class="">
CMakeFiles/kiwi-ant-configure.dir/build.make:49: recipe for target 'CMakeFiles/kiwi-ant-configure' failed<br class="">
make[2]: *** [CMakeFiles/kiwi-ant-configure] Error 1<br class="">
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/kiwi-ant-configure.dir/all' failed<br class="">
make[1]: *** [CMakeFiles/kiwi-ant-configure.dir/all] Error 2<br class="">
Makefile:76: recipe for target 'all' failed<br class="">
make: *** [all] Error 2<br class="">
<br class="">
</div>
Does anybody has more recent build instructions or experience he/she could share? :)<br class="">
<br class="">
</div>
Best regards,<br class="">
Alex.<br class="">
</div>
_______________________________________________<br class="">
Ves mailing list<br class="">
<a href="mailto:Ves@public.kitware.com" class="">Ves@public.kitware.com</a><br class="">
http://public.kitware.com/mailman/listinfo/ves<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>