From 80bf98194b5572dd6106eb86ac787fc747c5a920 Mon Sep 17 00:00:00 2001 From: peterjc123 Date: Wed, 1 May 2019 22:33:20 +0800 Subject: [PATCH 1/2] Fix cpp docs for Windows tips --- advanced_source/cpp_frontend.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/advanced_source/cpp_frontend.rst b/advanced_source/cpp_frontend.rst index f78660a330a..bda9f3f256e 100644 --- a/advanced_source/cpp_frontend.rst +++ b/advanced_source/cpp_frontend.rst @@ -104,8 +104,7 @@ environment, however you are free to follow along on MacOS or Windows too. .. tip:: On Windows, debug and release builds are not ABI-compatible. If you plan to - build your project in debug mode, we recommend - `building PyTorch from source `_. + build your project in debug mode, please try the debug version of LibTorch. The first step is to download the LibTorch distribution locally, via the link retrieved from the PyTorch website. For a vanilla Ubuntu Linux environment, this From 40634b3ddcc94c95dda310a0f0e5dc778edd4afe Mon Sep 17 00:00:00 2001 From: peterjc123 Date: Wed, 1 May 2019 22:35:19 +0800 Subject: [PATCH 2/2] More --- advanced_source/cpp_export.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/advanced_source/cpp_export.rst b/advanced_source/cpp_export.rst index 777f8914b51..e0081377584 100644 --- a/advanced_source/cpp_export.rst +++ b/advanced_source/cpp_export.rst @@ -216,8 +216,7 @@ structure: .. tip:: On Windows, debug and release builds are not ABI-compatible. If you plan to - build your project in debug mode, we recommend - `building PyTorch from source `_. + build your project in debug mode, please try the debug version of LibTorch. The last step is building the application. For this, assume our example directory is laid out like this: