From 7658cf9076719f4e27d352cbceae14d940792345 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 25 Mar 2026 11:38:10 +0800 Subject: [PATCH] Disable wxWidgets bundled NanoSVG to avoid duplicate symbols wxWidgets 3.3 bundles its own NanoSVG in bmpsvg.cpp, conflicting with OrcaSlicer's bundled copy which includes the nsvgRasterizeXY extension. Set wxUSE_NANOSVG=OFF in deps cmake to use OrcaSlicer's version only. --- deps/wxWidgets/wxWidgets.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/wxWidgets/wxWidgets.cmake b/deps/wxWidgets/wxWidgets.cmake index 41cdaab2c2..a8fa3e7dbc 100644 --- a/deps/wxWidgets/wxWidgets.cmake +++ b/deps/wxWidgets/wxWidgets.cmake @@ -53,6 +53,7 @@ orcaslicer_add_cmake_project( -DwxUSE_LIBJPEG=sys -DwxUSE_LIBTIFF=OFF -DwxUSE_EXPAT=sys + -DwxUSE_NANOSVG=OFF ) if (MSVC)