prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.72k stars 1.93k forks source link

PrusaSlicer 2.8 build error (Windows - missing Boost) #13037

Open amatulic opened 3 months ago

amatulic commented 3 months ago

Description of the bug

I ran into unexpected errors updating my local repository to the latest PrusaSlicer 2.8. I completely deleted my local repo and started afresh, cloning the PrusaSlicer repo and following the build instructions.

The first cmake command, cmake .. resulted in this error:

CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR system filesystem thread
  log locale regex chrono atomic date_time iostreams nowide) (Required is at
  least version "1.66.0")

How to reproduce

Follow the build instructions for Windows at https://github.com/prusa3d/PrusaSlicer/blob/master/doc/How%20to%20build%20-%20Windows.md

The error occurs in the first cmake command in manual build step 2A. The automated build script also aborts with an error.

Version of PrusaSlicer

2.8

Operating system

Windows 11 / Visual Studio 2022

Printer model

Prusa MK3S/MMU2S

FloatyDev commented 3 months ago

This also happened to me, any idea?

AmyTheCute commented 3 months ago

are you running this command in the build subdirectory?

amatulic commented 3 months ago

are you running this command in the build subdirectory?

Yes. I followed the directions two or three times with the same result. Also I ran the automated build script, and also got an error.

amatulic commented 3 months ago

This might be related to #12884 on Linux. Since I reported this problem, #12884 resulted in a patch to some include files a couple weeks ago. Trying to build it again on Windows, it seems to be working. It actually downloaded all the boost packages in the second cmake step. I couldn't get past the first cmake step before.

This can be closed as "fixed" or "cannot reproduce".