Skip to content

Commit 0f25897

Browse files
authored
Update installation of Asio on Windows (#1096)
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent 173db6d commit 0f25897

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/installation/sources/sources_windows.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,23 @@ asynchronous model.
136136
TinyXML2 is a simple, small and efficient C++ XML parser.
137137
They can be downloaded directly from the links below:
138138

139-
* `Asio <https://github.com/ros2/choco-packages/releases/download/2020-02-24/asio.1.12.1.nupkg>`_
140-
* `TinyXML2 <https://github.com/ros2/choco-packages/releases/download/2020-02-24/tinyxml2.6.0.0.nupkg>`_
139+
* `Asio <https://www.nuget.org/api/v2/package/asio-cppp-latest/1.24.0>`_
140+
* `TinyXML2 <https://github.com/ros2/choco-packages/releases/download/2022-03-15/tinyxml2.6.0.0.nupkg>`_
141141

142142
After downloading these packages, open an administrative shell with *PowerShell* and execute the following command:
143143

144144
.. code-block:: winbatch
145145
146-
choco install -y -s <PATH_TO_DOWNLOADS> asio tinyxml2
146+
choco install -y -s <PATH_TO_DOWNLOADS> asio-cppp-latest tinyxml2
147147
148148
where :code:`<PATH_TO_DOWNLOADS>` is the folder into which the packages have been downloaded.
149149

150+
Also include the path to the :code:`asio` and :code:`tinyxml2` libraries in the :code:`PATH` environment variable.
151+
152+
.. code-block:: powershell
153+
154+
Set-Item -Force -Path "env:PATH" -Value "C:\ProgramData\chocolatey\lib\asio-cppp-latest\build\native;C:\ProgramData\chocolatey\lib\tinyxml2;C:\ProgramData\chocolatey\lib\tinyxml2\lib;$env:PATH"
155+
150156
.. _openssl_sw:
151157

152158
OpenSSL

0 commit comments

Comments
 (0)