<div dir="ltr"><div>Hi Paulo,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 2, 2020 at 8:58 AM Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I am looking for a way to easily install addons on Windows that are<br>
not in the official repository. This is currently not possible using<br>
g.extension, because addons cannot be compiled on Windows.<br>
<br>
But what if I would compile and package an addon in a zip file like<br>
the once on the official server, then the only thing that is required<br>
is that the g.extension can be directed to another url (online or<br>
local). Or is this too simplistic? If so, do you have any other<br>
pointers as to how I can share private addons?<br>
</blockquote><div><br></div><div>g.extension already allows for another URL to be provided (including a local ZIP file). However, the problem is that the compilation is not possible on Windows as you pointed out. What is missing is the machinery to do the compilation. For Python modules, it is just the make et al. For C/C++, it is also the compiler and development files of the compile dependencies/libraries. That's why on Linux, you typically need some grass-dev(evel) package.</div><div><br></div><div>Of course, Python modules don't need much, so some custom code in Python could take care of it. Some additional options are including the compilation machinery in Windows installer or (re-)using an existing package manager (which could perhaps even take care of the compiling C).</div><div><br></div><div>I hope this clarifies that a bit,</div><div>Vaclav<br></div></div></div>