Monolithic Static Library

20 views
Skip to first unread message

MiloApianCat099 Gamer

unread,
Jul 21, 2025, 3:39:18 AMJul 21
to dawn-g...@googlegroups.com
Hello I have had a very confusing time trying generate a monolithic static library of the libwebgpu_dawn. 
I cannot seem to get it to fully generate or include all definitions within itself, as it seems to error with multiple missing type definitions. If anyone knows how to extract a true monolithic static library it would be of great help.

Corentin Wallez

unread,
Jul 21, 2025, 5:05:13 AMJul 21
to MiloApianCat099 Gamer, dawn-g...@googlegroups.com
A log of what the error is definitely required if you want help on this.

Note that support for building a static libwebgpu_dawn was merged just last week, and requires both the monolithic lib flag as well as the `BUILD_SHARED_LIBS=OFF` CMake variable.

Cheers,

Corentin

On Mon, Jul 21, 2025 at 9:39 AM MiloApianCat099 Gamer <miloapi...@gmail.com> wrote:
Hello I have had a very confusing time trying generate a monolithic static library of the libwebgpu_dawn. 
I cannot seem to get it to fully generate or include all definitions within itself, as it seems to error with multiple missing type definitions. If anyone knows how to extract a true monolithic static library it would be of great help.

--
You received this message because you are subscribed to the Google Groups "Dawn Graphics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dawn-graphic...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dawn-graphics/CADwU5XB2yQ1vDG3DF-KahC5%3DTaxb6KE4ef5oq8mbfKfMXisGtg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages