Closed synman closed 7 years ago
I also use the Prusa Beta version. Thanks for the updates to the script.
trying to use this on octopi on a raspberry 3 and I get the following:
Configuring /home/pi/prusa/Slic3r/xs ... Slic3r requires the Intel Thread Building Blocks libraries. Please make sure the library is installed.
If the Intel Thread Building Blocks library is installed, this script should be able to locate them i n several standard locations. If this is not the case, you might want to supply a path to the library through the TBB_DIR environment variable:
TBB_DIR=/path/to/TBB perl Build.PL
Or you may specify TBB_INCLUDEPATH and TBB_LIBRARYPATH separatly, which is handy, if you have built the Thread Building Blocks libraries with mutliple settings.
N/A ! Configure failed for ./xs. See /root/.cpanm/work/1489031000.30517/build.log for details. The XS/C++ code failed to compile, aborting
is this not compatible ?
I had to follow this to go forward:
https://www.theimpossiblecode.com/blog/intel-tbb-on-raspberry-pi/
spoke too soon, got much further.. but results:
gleMesh.o src/libslic3r/TriangleMesh.cpp In file included from /usr/local/include/tbb/tbb_machine.h:247:0, from /usr/local/include/tbb/task.h:25, from /usr/local/include/tbb/parallel_for.h:25, from src/libslic3r/TriangleMesh.cpp:16: /usr/local/include/tbb/machine/gcc_armv7.h:31:2: error: #error compilation requires an ARMv7-a architecture.
^ error building src/libslic3r/TriangleMesh.o from 'src/libslic3r/TriangleMesh.cpp' at /usr/share/perl5/ExtUtils/CBuilder/Base.pm line 172. FAIL ! Installing ./xs failed. See /root/.cpanm/work/1489036678.3101/build.log for details. Retry with --force to force install it.
I compiled on an older RPi successfully. Nothing about requiring ARM7, though. I used OctoPi build.
My build was successful (I've actually built a couple different Prusa releases now) using the attached script on my Pi 3.
@realbuz TBB is a new requirement for Pursa3d Slic3r version 1.34.0. Trying building version_1.33.8 and see if that works.
@realbuz and @synman I put up new instructions. Just copy and paste: https://github.com/OctoPrint/OctoPrint-Slic3r/wiki/How-to-install-Slic3r-on-RPi
Let me know how it works if you try and go ahead and make changes if you need.
I apologize as this is far from an issue. But I can confirm this plugin works wonderfully with the Prusa Beta version of Slic3r.
Here's my variation of your shellscript that pulls in the necessary additional dependencies and uses their fork:
And my slic3r.pl output: