[Ves] Build fresh Kiwiviewer

Alexander Devaykin xaxellx at gmail.com
Sat Dec 13 13:32:07 EST 2014


Hello VES people!

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
http://www.vtk.org/Wiki/VES/Developers_Guide 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.
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:
cmake \

-DCMAKE_TOOLCHAIN_FILE="$ves_src/CMake/toolchains/android.toolchain.cmake" \
      -DANDROID_NATIVE_API_LEVEL=8 \
      -DVTK_DIR="path/to/cross/build/CMakeExternals/Build/vtk-android" \
      -DVES_DIR="path/to/cross/build/CMakeExternals/Build/ves-android" \
      "$ves_src/Apps/Android/Kiwi"

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:
$ make -j2
Scanning dependencies of target KiwiNative
[100%] Building CXX object jni/CMakeFiles/KiwiNative.dir/KiwiNative.cpp.o
Linking CXX shared library ../libs/armeabi-v7a/libKiwiNative.so
[100%] Built target KiwiNative
Scanning dependencies of target kiwi-ant-configure
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".
CMakeFiles/kiwi-ant-configure.dir/build.make:49: recipe for target
'CMakeFiles/kiwi-ant-configure' failed
make[2]: *** [CMakeFiles/kiwi-ant-configure] Error 1
CMakeFiles/Makefile2:60: recipe for target
'CMakeFiles/kiwi-ant-configure.dir/all' failed
make[1]: *** [CMakeFiles/kiwi-ant-configure.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

Does anybody has more recent build instructions or experience he/she could
share? :)

Best regards,
Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20141213/0a7886a3/attachment.html>


More information about the Ves mailing list