Skip to content
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

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

Open
amatulic opened this issue Jul 6, 2024 · 4 comments
Open

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

amatulic opened this issue Jul 6, 2024 · 4 comments

Comments

@amatulic
Copy link

amatulic commented Jul 6, 2024

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

@amatulic amatulic changed the title PrusaSlicer 2.8 build errors (Windows - missing Boost) PrusaSlicer 2.8 build error (Windows - missing Boost) Jul 6, 2024
@FloatyDev
Copy link

This also happened to me, any idea?

@AmyTheCute
Copy link

are you running this command in the build subdirectory?

@amatulic
Copy link
Author

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
Copy link
Author

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@amatulic @AmyTheCute @FloatyDev and others