I got in a bit over my head earlier today. I’m not used to building from source and usually just stick with what’s in the package manager, or, occasionally, the AUR.
I’m running a system with Manjaro KDE edition. System was fully up to date and working before I started this adventure.
I had PrusaSlicer installed through the package manager (prusa-slicer 2.3.0-1) and everything worked fine. I discovered that there was a feature I wanted to try out that was implemented in the source, but not the released version. I went to the linux readme on github and followed the instructions there. My list of commands ran something like this:
git clone https://github.com/prusa3d/PrusaSlicer /home/snakerbot/PrusaSlicer-git cd PrusaSlicer-git mkdir build cd build cmake .. -DSLIC3R_WX_STABLE=1 -DCMAKE_BUILD_TYPE=Debug make -j1 sudo make install
Not only did this new install not work, (I get a splash screen, then a window with the message “An assertion failed! ./include/ws/dynarray.h(837): “uiIndex < m_nCount” failed in Item().” if it matters. Clicking the “continue” button on this prompt just closes the window and nothing else happens.) but it managed to break my existing install of 2.3.0-1 while it was at it (same error). Reinstalling through the package manager didn’t fix it.
So I have two questions:
- How do I fix my stable release of PrusaSlicer?
- How do I build from source in such a way that it is kept isolated from any existing stable installs?