[Ves] Build fresh Kiwiviewer

Cameron Lowell Palmer cameron.palmer at ntnu.no
Sat Dec 13 15:58:50 EST 2014


Hi! You may not have heard that VES is being integrated into the VTK so they are fairly busy on that.

Check out my Gist on the https://gist.github.com/palmerc/9963e835f23e794a85df

It is for Mac, but it should be workable on linux with little to no trouble. git://vtk.org/stage/VES.git You might want to remove stage/ in favor of git://vtk.org/VES.git

Let me know if you encounter any trouble figuring it out and I’ll try to help.

cameron


On 13. des. 2014, at 19.32, Alexander Devaykin <xaxellx at gmail.com<mailto:xaxellx at gmail.com>> wrote:

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.
_______________________________________________
Ves mailing list
Ves at public.kitware.com<mailto:Ves at public.kitware.com>
http://public.kitware.com/mailman/listinfo/ves

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20141213/24d8c88b/attachment.html>


More information about the Ves mailing list