Skip to content

Can't build #314

Open
Open
@orbit-loona

Description

@orbit-loona

Firstly, https://www.mingw.org was hijacked and now points to one of those "Click Allow to continue" scams.

Anyway,

C:\Users\[REDACTED]\Downloads\Craft-master>cmake -D CMAKE_C_COMPILER="C:/Users/[REDACTED]/mingw64/bin/gcc.exe"
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Check for working C compiler: C:/Users/[REDACTED]/mingw64/bin/x86_64-w64-mingw32-gcc.exe
-- Check for working C compiler: C:/Users/[REDACTED]/mingw64/bin/x86_64-w64-mingw32-gcc.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "C:/Users/[REDACTED]/mingw64/bin/x86_64-w64-mingw32-gcc.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 'C:/Users/[REDACTED]/Downloads/Craft-master/CMakeFiles/CMakeScratch/TryCompile-7hxwuo'

    Run Build Command(s): "C:/Program Files/CMake/bin/cmake.exe" -E env VERBOSE=1 C:/Users/[REDACTED]/mingw64/bin/cmake.exe -f Makefile cmTC_ea186/fast
    CMake Warning:
      Ignoring extra path from command line:

       "cmTC_ea186/fast"


    CMake Error: Unknown argument -f
    CMake Error: Run 'cmake --help' for all supported options.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:6 (project)


-- Configuring incomplete, errors occurred!

regarding the failure mode, there's this DenverCoder9 issue with the same pattern of "Makefile cmTC_[hex digits]/fast [...] Unknown argument -f".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions