Build failure with master wxWidget (for Codelite CI on Msys2 with clang) (Issue #25555)

42 views
Skip to first unread message

Joris Dauphin

unread,
Jun 23, 2025, 4:55:27 AM6/23/25
to wx-...@googlegroups.com, Subscribed
Jarod42 created an issue (wxWidgets/wxWidgets#25555)

Build System Used

I build wxWidgets and/or my application using:

  • CMake on msys2
  • configure
  • mingw32-make with makefile.gcc
  • MSBuild (Microsoft Visual Studio solution file)
  • nmake with makefile.vc
  • Xcode
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

Description

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

Platform and version information

  • wxWidgets version: master (e5dcb70) (18th June)
  • github CI: windows-latest
  • clang from mingw-w64-clang-x86_64-clang


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25555@github.com>

PB

unread,
Jun 23, 2025, 6:12:11 AM6/23/25
to wx-...@googlegroups.com, Subscribed
PBfordev left a comment (wxWidgets/wxWidgets#25555)

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.Message ID: <wxWidgets/wxWidgets/issues/25555/2995810373@github.com>

Joris Dauphin

unread,
Jun 23, 2025, 7:28:01 AM6/23/25
to wx-...@googlegroups.com, Subscribed
Jarod42 left a comment (wxWidgets/wxWidgets#25555)

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.Message ID: <wxWidgets/wxWidgets/issues/25555/2996084162@github.com>

Maarten

unread,
Jun 23, 2025, 8:16:59 AM6/23/25
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#25555)

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.Message ID: <wxWidgets/wxWidgets/issues/25555/2996268109@github.com>

VZ

unread,
Jun 28, 2025, 9:09:10 PM6/28/25
to wx-...@googlegroups.com, Subscribed

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.Message ID: <wxWidgets/wxWidgets/issue/25555/issue_event/18372034815@github.com>

Joris Dauphin

unread,
Jun 29, 2025, 1:07:56 PM6/29/25
to wx-...@googlegroups.com, Subscribed
Jarod42 left a comment (wxWidgets/wxWidgets#25555)

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.Message ID: <wxWidgets/wxWidgets/issues/25555/3016872505@github.com>

Reply all
Reply to author
Forward
0 new messages