Skip to content

Commit

Permalink
Note regarding absolute paths (prusa3d#6111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drachenkaetzchen authored Feb 22, 2021
1 parent 7b52dc2 commit c6d4c85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/How to build - Windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ cd build
cmake .. -G "Visual Studio 16 2019" -DCMAKE_PREFIX_PATH="c:\src\PrusaSlicer-deps\usr\local"
```

Note that `CMAKE_PREFIX_PATH` must be absolute path. A relative path like "..\..\PrusaSlicer-deps\usr\local" does not work.

### Compile PrusaSlicer.

Double-click c:\src\PrusaSlicer\build\PrusaSlicer.sln to open in Visual Studio 2019.
Expand Down Expand Up @@ -175,4 +177,4 @@ option to CMake, this will only produce a _Release_ build.
Refer to the CMake scripts inside the `deps` directory to see which dependencies are built in what versions and how this is done.

\*) Specifically, the problem arises when building boost. Boost build tool appends all build options into paths of
intermediate files, which are not handled correctly by either `b2.exe` or possibly `ninja` (?).
intermediate files, which are not handled correctly by either `b2.exe` or possibly `ninja` (?).

0 comments on commit c6d4c85

Please sign in to comment.