-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems compiling for raspberry pi #1050
Comments
Thanks for the hint. If we had excess resources, we would set up a build server for Raspbian, but as of now we are not testing compilation on R-PI. I know there are some dependencies on the wxWigets base library for unzipping the PrusaControl archive, but those should not compile if SLIC3R_GUI is off. I am aware of one incorrect link from the libslic3r to the GUI library, that is the link to the Preset / PresetBundle structure from the AMF/3MF import/export code. We should fix that. In the meantime, pull requests are more than welcome. |
lsellens Do you have any info on you have any info on how you are building you raspberry pi version. I would like the same thing and I might be able to help |
@Richardgriff Just follow the build instructions on the wiki for linux. It's pretty straight forward. Probably could also google step by step instructions if you've never used make before. |
You may guys try to compile the current Slic3r master on ARM. A command-line slic3r is compiled with an additional cmake switch
|
Do you know what dependency I'm missing? I have libboost.dev, libboost-all.dev, and libboost-chrono-dev installed already. |
please post the complete build log |
Here is the output of cmake |
Here is the build log. |
See the answer of you need boost 1.64, yours is 1.62.0 We should fix the cmake to check for boost::process on Linux & OSX. It is not used on Windows. |
Updated libboost. Getting further, but still not compiling. |
@lsellens There was a bug in one of the CMakeLists, see the commit above. You can try again with the current master and hopefully it'll build. I tried building without GUI on a headless Debian machine and it worked. I needed to install these packages:
|
I got to 100% finally but it's still failing with an error at the end. |
version 2.0.0 is compiling fine now using boost 1.64 |
@lsellens you compiled without the GUI, right? |
Yes CLI only. Just what I wanted for octoprint. Slicing is a lot faster on this new version and I really like the extra infill options. Thanks for all your hard work! |
thanks for heads up. maybe we should add our slicer to our preconfigured
octoprint image.
…On Thu, May 23, 2019, 21:23 lsellens ***@***.***> wrote:
Yes CLI only. Just what I wanted for octoprint. Slicing is a lot faster on
this new version and I really like the extra infill options. Thanks for all
your hard work!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1050?email_source=notifications&email_token=ABMPSI7AISMME7ZINA4LWRLPW3VMZA5CNFSM4FJZJWM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWDHQPI#issuecomment-495351869>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABMPSIY4Q5UUP6JQUTN644DPW3VMZANCNFSM4FJZJWMQ>
.
|
@lsellens do you have a set of instruction for compiling the new slicer 2.0 |
Instructions for compiling prusa slicer 2.1.0 release version on raspbian or octoprint default image: Posting this here because previous comments by @bubnikv, @vojtechkral and @lsellens helped alot.
Download, compile and install boost 1.64.0
increase CONF_SWAPSIZE to 1024
Download, compile and install prusa-slicer 2.1.0
Compiling prusaslicer uses alot of memory. Thats the reason for increasing swap file size, compiling on one core and disabling precompiled headers completely. Now lets slice an stl file
Prusaslicer is pretty fast slicing on raspberry pi 3B+. |
version_1.40.1
on
Raspbian Stretch
I'm trying to build for octopi with no desktop. Even though I'm not running Build.pl with --gui and I'm using the cmake option SLIC3R_GUI off it's still failing to build due to lack of gui dependencies
In file included from /home/pi/Slic3r-PE/xs/src/slic3r/GUI/BitmapCache.cpp:1:0:
/home/pi/Slic3r-PE/xs/src/slic3r/GUI/BitmapCache.hpp:4:23: fatal error: wx/wxprec.h: No such file or directory
#include <wx/wxprec.h>
The text was updated successfully, but these errors were encountered: