Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modern cmake unable to find COMCTL32 #1137

Open
ghost opened this issue Jan 11, 2023 · 2 comments
Open

Modern cmake unable to find COMCTL32 #1137

ghost opened this issue Jan 11, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 11, 2023

I'm building without MSYS2 as this tutorial: #1049

I noticed cmake-3.25.1-windows-x86_64 and cmake-3.24.3-windows-x86_64 both failed to find COMCTL32. The old cmake-3.16.8-win64-x64 I have on my PC has no problems with COMCTL32.

The compiler I used: https://github.com/brechtsanders/winlibs_mingw/releases/download/9.5.0-10.0.0-msvcrt-r1/winlibs-x86_64-posix-seh-gcc-9.5.0-mingw-w64msvcrt-10.0.0-r1.7z

@VictorMiasnikov
Copy link
Contributor

} The old cmake-3.16.8-win64-x64 I have on my PC has no problems with COMCTL32

This is main part of description of problem.

It looks like as error in "cmake itself".

@ghost
Copy link
Author

ghost commented Jan 15, 2023

} The old cmake-3.16.8-win64-x64 I have on my PC has no problems with COMCTL32

This is main part of description of problem.

It looks like as error in "cmake itself".

Yes, an error in the cmake version provided by Kitware itself: https://cmake.org/download/

As I recall, there used to be older versions on Kitware's site worked, but I can't remember for sure since which version it's broke.

I also reading through the similar issue with cmake on Cygwin on this bug tracker. I confirm the cmake version provided by MSYS2 project even though being latest version still worked fine:

$ cmake --version
cmake version 3.25.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Cygwin must took the vanilla cmake from Kitware, the MSYS2 people should have patched their cmake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant