You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to dockcross; I apologize in advance if I am missing something that should be obvious.
I am trying to compile a C/C++ application which requires a cmake version greater than or equal to 3.24. I tried to compile with the windows-static-x64-posix container, but it failed the cmake version check.
Investigating from bash, I get the following:
[/work] $ cmake --version
== Using MXE wrapper: /usr/src/mxe/usr/bin/x86_64-w64-mingw32.static.posix-cmake
- cmake version 3.20.1
- warnings for unused CMAKE_POLICY_DEFAULT variables can be ignored
== Using MXE toolchain: /usr/src/mxe/usr/x86_64-w64-mingw32.static.posix/share/cmake/mxe-conf.cmake
== Using MXE runresult: /usr/src/mxe/usr/share/cmake/modules/TryRunResults.cmake
== Adding "-DCMAKE_BUILD_TYPE=Release"
loading initial cache file /usr/src/mxe/usr/share/cmake/modules/TryRunResults.cmake
CMake Error at /usr/src/mxe/usr/share/cmake/modules/TryRunResults.cmake:1 (SET):
Unknown CMake command"SET".
cmake version 3.20.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Poking around the container, I also found two ccmake executables in the path. Both execute cmake version 3.24.1:
[/work] $ ccmake --version
ccmake version 3.24.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
It looks like there are two cmake versions installed, and unfortunately both cmake executables in path point to the old version.
For comparison, I ran the following in a linux-arm64 container:
[lalic:/work] $ cmake --version
cmake version 3.24.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
This is what I expected to see in the windows-* containers.
Is this a bug in the windows containers?
Note that I am using the latest dockcross commit from Github (670f7f7c5c437673acdd025d8158fc44acdb8369). Also note that I am on MacOS and using docker version `20.10.21, build baeda1f.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am new to dockcross; I apologize in advance if I am missing something that should be obvious.
I am trying to compile a C/C++ application which requires a cmake version greater than or equal to 3.24. I tried to compile with the
windows-static-x64-posix
container, but it failed the cmake version check.Investigating from bash, I get the following:
Poking around the container, I also found two
ccmake
executables in the path. Both execute cmake version3.24.1
:It looks like there are two cmake versions installed, and unfortunately both
cmake
executables in path point to the old version.For comparison, I ran the following in a
linux-arm64
container:This is what I expected to see in the
windows-*
containers.Is this a bug in the windows containers?
Note that I am using the latest dockcross commit from Github (
670f7f7c5c437673acdd025d8158fc44acdb8369
). Also note that I am on MacOS and using docker version `20.10.21, build baeda1f.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions