Skip to content

Fix cpp docs for Windows tips #491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions advanced_source/cpp_export.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/pytorch/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:
Expand Down
3 changes: 1 addition & 2 deletions advanced_source/cpp_frontend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/pytorch/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
Expand Down