错误:无法将'boost :: shared_ptr <permlib :: Permutation>'转换为'bool'以返回return repr;


1

我是linux的新手,并尝试在Linux中安装SymBol。 SymBol要求

Boost in version 1.34.1 or higher
GMP with both C and C++ bindings
CMake in version 2.6 or higher

我成功安装了这3个但是当我想安装SymPol时出现这个错误:

cannot convert ‘boost::shared_ptr<permlib::Permutation>’ to ‘bool’ in return
return repr;

CMakeFiles/sympol.dir/build.make:166: recipe for target   'CMakeFiles/sympol.dir/symmetrycomputation.o' failed
make[2]: *** [CMakeFiles/sympol.dir/symmetrycomputation.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/sympol.dir/all'failed
make[1]: *** [CMakeFiles/sympol.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
 make: *** [all] Error 2
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.