How to build social on Windows #3074
-
I'm trying to build the social cards on my Windows machine, but I'm getting the following errors:
I've added the social as follows:
These are the
Any help would be much appreciated! :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I'm currently improving the docs, and adding more detailed instructions for building on Windows is definitely on the roadmap. In essence, you need to install As an alternative, you could build the Insiders Docker image yourself, and use that, as it comes with all necessary dependencies 😊 |
Beta Was this translation helpful? Give feedback.
-
It is building beautifully now, but, sadly, it doesn't render as it should. I think the reason is that the path separator isn't writing correctly when building on Windows:
Here's the page: https://docs.shineforms.co.uk/pirform/free-trial/ I can't find any settings that let me force the path separator, but I can probably tweak it in my build script for now. This PR seems to address a similar problem. Do you think that this is something that could be addressed inside the social plugin? |
Beta Was this translation helpful? Give feedback.
-
I ran into the same problem before, and these two commands seemed to solve it: https://stackoverflow.com/a/74998015 Perhaps they should be added to the "Windows" instructions at https://squidfunk.github.io/mkdocs-material/setup/dependencies/image-processing/#windows |
Beta Was this translation helpful? Give feedback.
I'm currently improving the docs, and adding more detailed instructions for building on Windows is definitely on the roadmap. In essence, you need to install
libcairo
. A guide with instructions is here: https://www.cairographics.org/download/As an alternative, you could build the Insiders Docker image yourself, and use that, as it comes with all necessary dependencies 😊