refactor: Adjusts Noob guide (step by step) to make it more legible

This commit is contained in:
Darigov Research 2020-10-18 14:22:34 +01:00 committed by GitHub
parent a61d0a9532
commit 3cd79f63ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,45 +124,33 @@ intermediate files, which are not handled correctly by either `b2.exe` or possib
# Noob guide (step by step) # Noob guide (step by step)
Install Visual Studio Community 2019 from - Install Visual Studio Community 2019 from [visualstudio.microsoft.com/vs/](https://visualstudio.microsoft.com/vs/)
[visualstudio.microsoft.com/vs/](https://visualstudio.microsoft.com/vs/) - Select all workload options for C++
Select all workload options for C++ - Install git for Windows from [gitforwindows.org](https://gitforwindows.org/)
- download and run the exe accepting all defaults
Install git for Windows from - Download `PrusaSlicer-master.zip` from github
[gitforwindows.org](https://gitforwindows.org/) - I downloaded this to c:\PrusaSlicer and unzipped to `c:\PrusaSlicer\PrusaSlicer-master\` so this will be my prefix for all my steps. Substitute your prefix.
download and run the exe accepting all defaults - Go to the Windows Start Menu and Click on "Visual Studio 2019" folder, then select the ->"x64 Native Tools Command Prompt" to open a command window
download PrusaSlicer-master.zip from github
I downloaded this to c:\PrusaSlicer and unzipped to c:\PrusaSlicer\PrusaSlicer-master\ so this will be my prefix for all my steps. Substitute your prefix.
Go to the Windows Start Menu and Click on "Visual Studio 2019" folder, then select the ->"x64 Native Tools Command Prompt" to open a command window
cd c:\PrusaSlicer\PrusaSlicer-master\deps cd c:\PrusaSlicer\PrusaSlicer-master\deps
mkdir build mkdir build
cd build cd build
cmake .. -G "Visual Studio 16 2019" -DDESTDIR="c:\PrusaSlicer\PrusaSlicer-master" cmake .. -G "Visual Studio 16 2019" -DDESTDIR="c:\PrusaSlicer\PrusaSlicer-master"
msbuild /m ALL_BUILD.vcxproj // This took 13.5 minutes on my machine: core I7-7700K @ 4.2Ghz with 32GB main memory and 20min on a average laptop msbuild /m ALL_BUILD.vcxproj // This took 13.5 minutes on my machine: core I7-7700K @ 4.2Ghz with 32GB main memory and 20min on a average laptop
cd c:\PrusaSlicer\PrusaSlicer-master\ cd c:\PrusaSlicer\PrusaSlicer-master\
mkdir build mkdir build
cd build cd build
cmake .. -G "Visual Studio 16 2019" -DCMAKE_PREFIX_PATH="c:\PrusaSlicer\PrusaSlicer-master\usr\local" cmake .. -G "Visual Studio 16 2019" -DCMAKE_PREFIX_PATH="c:\PrusaSlicer\PrusaSlicer-master\usr\local"
open Visual Studio for c++ development (VS asks this the first time you start it) - Open Visual Studio for c++ development (VS asks this the first time you start it)
Open->Project/Solution or File->Open->Project/Solution (depending on which dialog comes up first) `Open->Project/Solution` or `File->Open->Project/Solution` (depending on which dialog comes up first)
click on c:\PrusaSlicer\PrusaSlicer-master\build\PrusaSlicer.sln - Click on `c:\PrusaSlicer\PrusaSlicer-master\build\PrusaSlicer.sln`
Debug->Start Debugging or Debug->Start Without debugging `Debug->Start Debugging` or `Debug->Start Without debugging`
PrusaSlicer should start. You're up and running!
- PrusaSlicer should start.
- You're up and running!
note: Thanks to @douggorgen for the original guide, as an answer for a issue Note: Thanks to @douggorgen for the original guide, as an answer for a issue