From c6d4c85ac4a50b5a4ef6d96d219c2d758e693e04 Mon Sep 17 00:00:00 2001 From: Felicia Hummel Date: Mon, 22 Feb 2021 20:56:00 +0100 Subject: [PATCH] Note regarding absolute paths (#6111) --- doc/How to build - Windows.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/How to build - Windows.md b/doc/How to build - Windows.md index 3df17b88f..54c02fca1 100644 --- a/doc/How to build - Windows.md +++ b/doc/How to build - Windows.md @@ -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. @@ -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` (?). \ No newline at end of file +intermediate files, which are not handled correctly by either `b2.exe` or possibly `ninja` (?).