Benachrichtigungen
Alles löschen

OctoPi Slic3r Install Error - XS/C++ failed  

  RSS
Psyfor
(@psyfor)
Active Member
OctoPi Slic3r Install Error - XS/C++ failed

Hi,
I am trying to install Slic3r directly onto my Pi. I am using a B+ connected to the printer via USB. I am getting stuck on the intall of Slicer. Install indicates that the XS/C++ failed. See log below. Anyone have a fix?

arm-linux-gnueabihf-gcc -I/usr/lib/arm-linux-gnueabihf/perl/5.24/CORE -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++ -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -o src/libslic3r/Flow.o src/libslic3r/Flow.cpp
In file included from src/libslic3r/Flow.hpp:5:0,
from src/libslic3r/Flow.cpp:1:
src/libslic3r/Config.hpp: In member function ‘virtual bool Slic3r::ConfigOptionFloat::deserialize(std::__cxx11::string)’:
src/libslic3r/Config.hpp:68:29: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return
return iss >> this->value;
^~~~~
src/libslic3r/Config.hpp: In member function ‘virtual bool Slic3r::ConfigOptionInt::deserialize(std::__cxx11::string)’:
src/libslic3r/Config.hpp:127:29: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return
return iss >> this->value;
^~~~~
src/libslic3r/Config.hpp: In member function ‘virtual bool Slic3r::ConfigOptionPercent::deserialize(std::__cxx11::string)’:
src/libslic3r/Config.hpp:252:29: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return
return iss >> this->value;
^~~~~
src/libslic3r/Config.hpp: In member function ‘virtual bool Slic3r::ConfigOptionFloatOrPercent::deserialize(std::__cxx11::string)’:
src/libslic3r/Config.hpp:282:29: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return
return iss >> this->value;
^~~~~
error building src/libslic3r/Flow.o from 'src/libslic3r/Flow.cpp' at /usr/share/perl/5.24/ExtUtils/CBuilder/Base.pm line 174.
FAIL
! Installing ./xs failed. See /root/.cpanm/work/1551473033.23353/build.log for details. Retry with --force to force install it.
The XS/C++ code failed to compile, aborting
If everything was installed properly,you should be able to run Slic3r with the command ./slic3r.pl

Veröffentlicht : 01/03/2019 9:59 pm
Teilen: