Skip to content

Commit

Permalink
Add documentation about WEASYPRINT_DLL_DIRECTORIES
Browse files Browse the repository at this point in the history
Related to #1435.
  • Loading branch information
liZe committed Dec 11, 2021
1 parent b7fdfd7 commit c22b211
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/first_steps.rst
Expand Up @@ -274,8 +274,15 @@ Missing Library
+++++++++++++++

On Windows, most of the problems come from unreachable libraries. If you get an
error like ``cannot load library 'xxx': error xxx``, it means that this library
is not installed or not in the ``PATH`` environment variable.
error like ``cannot load library 'xxx': error xxx``, it means that WeasyPrint
can’t find this library.

You can set the ``WEASYPRINT_DLL_DIRECTORIES`` environment variable to list the
folders where the libraries can be found. For example, in ``cmd.exe``:

.. code-block:: doscon
> set WEASYPRINT_DLL_DIRECTORIES=C:\GTK3\bin;D:\GTK3\bin
You can find more about this issue in `#589`_, `#721`_ or `#1240`_.

Expand Down

0 comments on commit c22b211

Please sign in to comment.