LazyKent
Junior Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Alex1234444a Возможно, вы подскажете? Оригинальный Scan Tailor 0.9.11.1 (-featured тоже) не компилируется в свежей openSUSE. Вот такая ошибка: Код: [ 483s] /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/filters/fix_orientation/Filter.cpp:103:43: error: reference to '_1' is ambiguous [ 483s] this, boost::ref(doc), var(filter_el), _1, _2 [ 483s] ^ [ 483s] In file included from /usr/include/boost/lambda/lambda.hpp:14:0, [ 483s] from /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/filters/fix_orientation/Filter.cpp:32: [ 483s] /usr/include/boost/lambda/core.hpp:69:37: note: candidates are: boost::lambda::placeholder1_type& boost::lambda::{anonymous}::_1 [ 483s] boost::lambda::placeholder1_type& _1 = free1; [ 483s] ^ [ 483s] In file included from /usr/include/boost/bind/bind.hpp:2247:0, [ 483s] from /usr/include/boost/bind.hpp:22, [ 483s] from /usr/include/boost/multi_index/sequenced_index.hpp:17, [ 483s] from /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/./ProjectWriter.h:30, [ 483s] from /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/filters/fix_orientation/Filter.cpp:29: [ 483s] /usr/include/boost/bind/placeholders.hpp:46:28: note: const boost::arg<1> boost::placeholders::_1 [ 483s] BOOST_STATIC_CONSTEXPR boost::arg<1> _1; [ 483s] ^ [ 483s] /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/filters/fix_orientation/Filter.cpp:103:47: error: reference to '_2' is ambiguous [ 483s] this, boost::ref(doc), var(filter_el), _1, _2 [ 483s] ^ [ 483s] In file included from /usr/include/boost/lambda/lambda.hpp:14:0, [ 483s] from /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/filters/fix_orientation/Filter.cpp:32: [ 483s] /usr/include/boost/lambda/core.hpp:70:37: note: candidates are: boost::lambda::placeholder2_type& boost::lambda::{anonymous}::_2 [ 483s] boost::lambda::placeholder2_type& _2 = free2; [ 483s] ^ [ 483s] In file included from /usr/include/boost/bind/bind.hpp:2247:0, [ 483s] from /usr/include/boost/bind.hpp:22, [ 483s] from /usr/include/boost/multi_index/sequenced_index.hpp:17, [ 483s] from /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/./ProjectWriter.h:30, [ 483s] from /home/abuild/rpmbuild/BUILD/scantailor-0.9.11.1/filters/fix_orientation/Filter.cpp:29: [ 483s] /usr/include/boost/bind/placeholders.hpp:47:28: note: const boost::arg<2> boost::placeholders::_2 [ 483s] BOOST_STATIC_CONSTEXPR boost::arg<2> _2; [ 483s] ^ [ 487s] filters/fix_orientation/CMakeFiles/fix_orientation.dir/build.make:110: recipe for target 'filters/fix_orientation/CMakeFiles/fix_orientation.dir/Filter.cpp.o' failed [ 487s] make[2]: *** [filters/fix_orientation/CMakeFiles/fix_orientation.dir/Filter.cpp.o] Error 1 | Насколько понимаю, проблема в некоторой несовместимости с новой версией boost 1.60. Можно ли как-то поправить? |