I build wxWidgets and/or my application using:
mkdir wxWidgets/build-release
cd wxWidgets/build-release
cmake .. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$HOME/root" -DwxBUILD_DEBUG_LEVEL=0 -DwxBUILD_MONOLITHIC=1 -DwxBUILD_SAMPLES=SOME -DwxUSE_STL=1
mingw32-make -j$(nproc) && PATH="/clang64/bin:$PATH" mingw32-make install
https://github.com/Jarod42/codelite/actions/runs/15806827599/job/44552746506
[ 97%] Linking CXX shared library ..\lib\clang_x64_dll\wxmsw331u_clang_custom.dll
Error copying file "D:/a/codelite/codelite/wxWidgets/build-release/libs/webview/packages/Microsoft.Web.WebView2.1.0.1722.45/build/native//WebView2Loader.dll" to "D:/a/codelite/codelite/wxWidgets/build-release/lib/clang_x64_dll/WebView2Loader.dll".
mingw32-make[2]: *** [libs\CMakeFiles\wxmono.dir\build.make:12165: lib/clang_x64_dll/wxmsw331u_clang_custom.dll] Error 1
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
The final backslash in the source path is doubled:
Error copying file "D:/a/codelite/codelite/wxWidgets/build-release/libs/webview/packages/Microsoft.Web.WebView2.1.0.1722.45/build/native**//**WebView2Loader.dll" ...
It seems that WEBVIEW2_ARCH is empty, instead being set to e.g. x64, see
https://github.com/wxWidgets/wxWidgets/blob/23762d0c65b7cd013e4cf8b87869c882ac5a8d97/build/cmake/lib/webview/CMakeLists.txt#L17
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Did it somehow work before 463bc1f?
Worked with d5c140a (2 weeks ago) on https://github.com/eranif/codelite/actions/runs/15581040061/job/43876152295
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Indeed, moving WEBVIEW2_ARCH broke the monolithic build.
I'll move it into a macro so we can use it in both places without code duplication.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #25555 as completed via f2a019b.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
I confirm that it fix my issue :-)
Thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()