Updated compilation environment on Windows.

Thank you Tobias! Now, sorry where can I find per-G’MIC-release downloadable libgmic*.lib /libgmic*.dll files? I have looked at Download GMIC latest release however it is focused on libcgmic and does not ship libgmic, did you mean an other place?

We probably have a misunderstanding here?

There are two scenarios here:

  1. You can link gmic.cpp directly with your C++ code, serving as a library. An example is given in use_libgmic.cpp. You don’t need a separate library for that. Disadvantage is that it takes long to compile, is dependent on certain compilers, requires lots of third-party libraries, etc., but this is the most direct integration of G’MIC into your program.

  2. You can use libcgmic, which allows you to call G’MIC from any C/C++ code without any of the dependencies mentioned under 1. An example is given in use_libcgmic.c. This approach serves as a “bridge” between the G’MIC library (which is precompiled as libcgmic.dll or libcgmicstatic.dll) and any external tool or compiler, making it a very versatile approach.

Thank you Tobias… I prefer calling G’MIC’s endpoints and manipulate its data structures myself. I had gotten inspiration from 1. use_libgmic.cpp in November 2019 and 2. libcgmic already but had decided to drift away from that to have more control. Then Windows gmic-py builds will recompile and embed libgmic as is happening for Linux and soon for MacPorts (the latter’s py-gmic maintainer just decided to skip depending on the MacOS MacPorts libgmic package). Thank you for your clarity.