Help with static linking of pdfium_render on windows

I was able to make this work on linux, and it seems I'm very close on windows, but alas, now I'm stumped.

The repository can be found here, which contains a github action which fails because the native static library could not be found.

Now pdfium_render, when compiled with the static feature, emits the linker directive from the env var PDFIUM_STATIC_LIB_PATH. As you can see in the action, I'm setting that and I'm checking that at this path resides the file pdfium.lib, which is the result of compiling pdfium with the supposedly correct incantation.

Now, what could make the linker not pick up that file? Does it have the wrong name (as far as I could google, *.lib is the right pattern).

Thanks for any pointers!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.