Following Quick Start from http://developer.k-3d.org after make I get
[ 1%] Built target k3dsdk-sgi-tesselator
[ 2%] Built target toFloat
[ 2%] Built target eLut
[ 2%] Built target k3dsdk-half
[ 3%] Built target k3dsdk-glew
[ 3%] Built target k3dsdk-parallel
[ 4%] Building CXX object k3dsdk/CMakeFiles/k3dsdk.dir/utility_gl.cpp.o
In file included from /home/ilya/CG/k3d/k3d/k3dsdk/utility_gl.cpp:37:
/home/ilya/CG/k3d/k3d/k3dsdk/gil/boost/gil/extension/numeric/sampler.hpp: In function ‘bool boost::gil::sample(boost::gil::bilinear_sampler, const SrcView&, const boost::gil::point2<F>&, DstP&) [with DstP = boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >, SrcView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::dereference_iterator_adaptor<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >*, boost::gil::color_convert_deref_fn<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >&, boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >, boost::gil::default_color_converter> > > > >, F = double]’:
/home/ilya/CG/k3d/k3d/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp:53: instantiated from ‘void boost::gil::resample_pixels(const SrcView&, const DstView&, const MapFn&, Sampler) [with Sampler = boost::gil::bilinear_sampler, SrcView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::dereference_iterator_adaptor<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >*, boost::gil::color_convert_deref_fn<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >&, boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >, boost::gil::default_color_converter> > > > >, DstView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgba8_pixel_t*> > >, MapFn = boost::gil::matrix3x2<double>]’
/home/ilya/CG/k3d/k3d/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp:125: instantiated from ‘void boost::gil::resample_subimage(const SrcMetaView&, const DstMetaView&, double, double, double, double, double, const Sampler&) [with Sampler = boost::gil::bilinear_sampler, SrcMetaView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::dereference_iterator_adaptor<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >*, boost::gil::color_convert_deref_fn<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >&, boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >, boost::gil::default_color_converter> > > > >, DstMetaView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgba8_pixel_t*> > >]’
/home/ilya/CG/k3d/k3d/k3dsdk/gil/boost/gil/extension/numeric/resample.hpp:136: instantiated from ‘void boost::gil::resize_view(const SrcMetaView&, const DstMetaView&, const Sampler&) [with Sampler = boost::gil::bilinear_sampler, SrcMetaView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::dereference_iterator_adaptor<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >*, boost::gil::color_convert_deref_fn<const boost::gil::pixel<half, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >&, boost::gil::pixel<unsigned char, boost::gil::layout<boost::mpl::vector4<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t, boost::gil::alpha_t>, boost::mpl::range_c<int, 0, 4> > >, boost::gil::default_color_converter> > > > >, DstMetaView = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::rgba8_pixel_t*> > >]’
/home/ilya/CG/k3d/k3d/k3dsdk/utility_gl.cpp:222: instantiated from here
/home/ilya/CG/k3d/k3d/k3dsdk/gil/boost/gil/extension/numeric/sampler.hpp:97: error: no matching function for call to ‘boost::gil::point2<int>::point2(boost::gil::point2<long int>)’
/usr/local/include/boost/gil/utilities.hpp:75: note: candidates are: boost::gil::point2<T>::point2(const boost::gil::point2<T>&) [with T = int]
/usr/local/include/boost/gil/utilities.hpp:74: note: boost::gil::point2<T>::point2(T, T) [with T = int]
/usr/local/include/boost/gil/utilities.hpp:73: note: boost::gil::point2<T>::point2() [with T = int]
make[2]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/utility_gl.cpp.o] Error 1
make[1]: *** [k3dsdk/CMakeFiles/k3dsdk.dir/all] Error 2
make: *** [all] Error 2
After changing in the function sample(bilinear_sampler, ...) line
point2<int> p0(ifloor(p));
to
point2<std::ptrdiff_t> p0(ifloor(p));
it almost builds but at the end it fails with
...
[ 98%] Building CXX object modules/yafray/CMakeFiles/k3d-yafray.dir/sun_light.cpp.o
Linking CXX shared module ../../lib/k3d/plugins/k3d-yafray.module
[ 98%] Built target k3d-yafray
Scanning dependencies of target k3d-yafray-proxy
[ 98%] Generating ../../lib/k3d/plugins/k3d-yafray.module.proxy
Loading plugin module /home/ilya/CG/k3d/k3d-build/lib/k3d/plugins/k3d-yafray.module
Loading plugin YafrayAreaLight
Loading plugin YafrayGlobalPhotonLight
Loading plugin YafrayHemiLight
Loading plugin YafrayMaterial
Loading plugin YafrayPhotonLight
Loading plugin YafrayPointLight
Loading plugin YafrayEngine
Loading plugin YafraySoftLight
Loading plugin YafraySpotLight
Loading plugin YafraySunLight
[ 98%] Built target k3d-yafray-proxy
Scanning dependencies of target k3d-renderframe.1
[ 98%] Generating man1
[ 98%] Generating k3d-renderframe.1
/bin/sh: A2X_COMMAND-NOTFOUND: not found
make[2]: *** [share/man/k3d-renderframe.1] Error 127
make[1]: *** [share/man/CMakeFiles/k3d-renderframe.1.dir/all] Error 2
make: *** [all] Error 2
Any ideas what should I do to build successfully?
Note: I am building on Ubuntu 10.04 x64.