diff --git a/pages/troubleshooting.md b/pages/troubleshooting.md index 289facea..59fe7b26 100644 --- a/pages/troubleshooting.md +++ b/pages/troubleshooting.md @@ -33,7 +33,7 @@ Finally you will need to add `-G "NMake Makefiles"` to the `cmake` command in th [regular install instructions](doc/page/cmake.html).
So the basic command to build from CMD becomes: ``` -cmake -G "NMake Makefiles" -DCMAKE_PREFIX_PATH="C:\Users\\libtorch-win-shared-with-deps-2.1.0+cpu\libtorch" -DCMAKE_BUILD_TYPE=Release .. +cmake -G "NMake Makefiles" -DCMAKE_PREFIX_PATH="C:\Users\\libtorch" -DCMAKE_BUILD_TYPE=Release .. cmake --build . cmake --install . ``` @@ -41,7 +41,7 @@ cmake --install . If using powershell the setvars and build commands become: ``` cmd /k '"C:\Program Files (x86)\Intel\oneAPI\setvars.bat" && powershell' -cmake -G "NMake Makefiles" -DCMAKE_PREFIX_PATH="C:\Users\\libtorch-win-shared-with-deps-2.1.0+cpu\libtorch" -DCMAKE_BUILD_TYPE=Release .. +cmake -G "NMake Makefiles" -DCMAKE_PREFIX_PATH="C:\Users\\libtorch" -DCMAKE_BUILD_TYPE=Release .. cmake --build . cmake --install . ```