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

Could not build wheels for pychadwick... #34

Open
GTRcktSci opened this issue May 8, 2024 · 1 comment
Open

Could not build wheels for pychadwick... #34

GTRcktSci opened this issue May 8, 2024 · 1 comment

Comments

@GTRcktSci
Copy link

Apologies in advance for the really long code snippet. I can't get pychadwick to install and I'm stuck on how to resolve. I've tried searching on how to resolve the CMake compiler error, but nothing I've done works. Any guidance would be much appreciated.

` × Building wheel for pychadwick (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [551 lines of output]

  --------------------------------------------------------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 MSVC 19.39.33523.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/dusti/AppData/Local/Temp/pip-install-fy7f13a7/pychadwick_b62e4203f2ef40b78b178beaa43ffc53/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-le8odv'

      Run Build Command(s): C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_bb20f
      [1/2] C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe  /nologo   /DWIN32 /D_WINDOWS /W3  /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_bb20f.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_bb20f.dir\ /FS -c C:\Users\dusti\AppData\Local\Temp\pip-install-fy7f13a7\pychadwick_b62e4203f2ef40b78b178beaa43ffc53\_cmake_test_compile\build\CMakeFiles\CMakeScratch\TryCompile-le8odv\testCCompiler.c
      [2/2] C:\Windows\system32\cmd.exe /C "cd . && C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_bb20f.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_bb20f.dir\testCCompiler.c.obj  /out:cmTC_bb20f.exe /implib:cmTC_bb20f.lib /pdb:cmTC_bb20f.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      FAILED: cmTC_bb20f.exe
      C:\Windows\system32\cmd.exe /C "cd . && C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_bb20f.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_bb20f.dir\testCCompiler.c.obj  /out:cmTC_bb20f.exe /implib:cmTC_bb20f.lib /pdb:cmTC_bb20f.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_bb20f.dir/manifest.res CMakeFiles\cmTC_bb20f.dir/manifest.rc" failed (exit code 0) with the following output:
      no such file or directory
      ninja: build stopped: subcommand failed.





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


  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'Visual Studio 17 2022 x64 v143' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 unknown
  CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
    No CMAKE_C_COMPILER could be found.



  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Visual Studio 17 2022 x64 v143' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 MSVC 19.39.33523.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/dusti/AppData/Local/Temp/pip-install-fy7f13a7/pychadwick_b62e4203f2ef40b78b178beaa43ffc53/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-2njvkx'

      Run Build Command(s): C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_bb79c
      [1/2] C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe  /nologo   /DWIN32 /D_WINDOWS /W3  /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_bb79c.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_bb79c.dir\ /FS -c C:\Users\dusti\AppData\Local\Temp\pip-install-fy7f13a7\pychadwick_b62e4203f2ef40b78b178beaa43ffc53\_cmake_test_compile\build\CMakeFiles\CMakeScratch\TryCompile-2njvkx\testCCompiler.c
      [2/2] C:\Windows\system32\cmd.exe /C "cd . && C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_bb79c.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_bb79c.dir\testCCompiler.c.obj  /out:cmTC_bb79c.exe /implib:cmTC_bb79c.lib /pdb:cmTC_bb79c.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      FAILED: cmTC_bb79c.exe
      C:\Windows\system32\cmd.exe /C "cd . && C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_bb79c.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_bb79c.dir\testCCompiler.c.obj  /out:cmTC_bb79c.exe /implib:cmTC_bb79c.lib /pdb:cmTC_bb79c.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_bb79c.dir/manifest.res CMakeFiles\cmTC_bb79c.dir/manifest.rc" failed (exit code 0) with the following output:
      no such file or directory
      ninja: build stopped: subcommand failed.





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


  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'Visual Studio 16 2019 x64 v142' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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.


  CMake Error at CMakeLists.txt:2 (PROJECT):
    Generator

      Visual Studio 16 2019

    could not find any instance of Visual Studio.



  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Visual Studio 16 2019 x64 v142' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 MSVC 19.39.33523.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/dusti/AppData/Local/Temp/pip-install-fy7f13a7/pychadwick_b62e4203f2ef40b78b178beaa43ffc53/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-ovdgkk'

      Run Build Command(s): C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/ninja/data/bin/ninja -v cmTC_1b873
      [1/2] C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe  /nologo   /DWIN32 /D_WINDOWS /W3  /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_1b873.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_1b873.dir\ /FS -c C:\Users\dusti\AppData\Local\Temp\pip-install-fy7f13a7\pychadwick_b62e4203f2ef40b78b178beaa43ffc53\_cmake_test_compile\build\CMakeFiles\CMakeScratch\TryCompile-ovdgkk\testCCompiler.c
      [2/2] C:\Windows\system32\cmd.exe /C "cd . && C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_1b873.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_1b873.dir\testCCompiler.c.obj  /out:cmTC_1b873.exe /implib:cmTC_1b873.lib /pdb:cmTC_1b873.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      FAILED: cmTC_1b873.exe
      C:\Windows\system32\cmd.exe /C "cd . && C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_1b873.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_1b873.dir\testCCompiler.c.obj  /out:cmTC_1b873.exe /implib:cmTC_1b873.lib /pdb:cmTC_1b873.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_1b873.dir/manifest.res CMakeFiles\cmTC_1b873.dir/manifest.rc" failed (exit code 0) with the following output:
      no such file or directory
      ninja: build stopped: subcommand failed.





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


  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja (Visual Studio 15 2017 x64 v141)' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'Visual Studio 15 2017 x64 v141' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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.


  CMake Error at CMakeLists.txt:2 (PROJECT):
    Generator

      Visual Studio 15 2017

    could not find any instance of Visual Studio.



  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Visual Studio 15 2017 x64 v141' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 MSVC 19.39.33523.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/dusti/AppData/Local/Temp/pip-install-fy7f13a7/pychadwick_b62e4203f2ef40b78b178beaa43ffc53/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-vnh4mt'

      Run Build Command(s): C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/bin/cmake.exe -E env VERBOSE=1 nmake -f Makefile /nologo cmTC_06904\fast
              "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\nmake.exe"  -f CMakeFiles\cmTC_06904.dir\build.make /nologo -L                  CMakeFiles\cmTC_06904.dir\build
      Building C object CMakeFiles/cmTC_06904.dir/testCCompiler.c.obj
              C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E cmake_cl_compile_depends --dep-file=CMakeFiles\cmTC_06904.dir\testCCompiler.c.obj.d --working-dir=C:\Users\dusti\AppData\Local\Temp\pip-install-fy7f13a7\pychadwick_b62e4203f2ef40b78b178beaa43ffc53\_cmake_test_compile\build\CMakeFiles\CMakeScratch\TryCompile-vnh4mt --filter-prefix="Note: including file: " -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe @C:\Users\dusti\AppData\Local\Temp\nmC751.tmp
      testCCompiler.c
      Linking C executable cmTC_06904.exe
              C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_06904.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_06904.dir\objects1.rsp @C:\Users\dusti\AppData\Local\Temp\nmC7A0.tmp
      Visual Studio Incremental Link with embedded manifests
      Create CMakeFiles\cmTC_06904.dir/manifest.rc
      Create empty: CMakeFiles\cmTC_06904.dir/embed.manifest
      RC Pass 1:
      rc /fo CMakeFiles\cmTC_06904.dir/manifest.res CMakeFiles\cmTC_06904.dir/manifest.rc
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_06904.dir/manifest.res CMakeFiles\cmTC_06904.dir/manifest.rc" failed (exit code 0) with the following output:
      no such file or directoryNMAKE : fatal error U1077: 'C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_06904.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_06904.dir\objects1.rsp @C:\Users\dusti\AppData\Local\Temp\nmC7A0.tmp' : return code '0xffffffff'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\nmake.exe"  -f CMakeFiles\cmTC_06904.dir\build.make /nologo -L                  CMakeFiles\cmTC_06904.dir\build' : return code '0x2'
      Stop.





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


  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'NMake Makefiles (Visual Studio 17 2022 x64 v143)' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 MSVC 19.39.33523.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/dusti/AppData/Local/Temp/pip-install-fy7f13a7/pychadwick_b62e4203f2ef40b78b178beaa43ffc53/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-2f79nm'

      Run Build Command(s): C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/bin/cmake.exe -E env VERBOSE=1 nmake -f Makefile /nologo cmTC_4ec68\fast
              "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\nmake.exe"  -f CMakeFiles\cmTC_4ec68.dir\build.make /nologo -L                  CMakeFiles\cmTC_4ec68.dir\build
      Building C object CMakeFiles/cmTC_4ec68.dir/testCCompiler.c.obj
              C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E cmake_cl_compile_depends --dep-file=CMakeFiles\cmTC_4ec68.dir\testCCompiler.c.obj.d --working-dir=C:\Users\dusti\AppData\Local\Temp\pip-install-fy7f13a7\pychadwick_b62e4203f2ef40b78b178beaa43ffc53\_cmake_test_compile\build\CMakeFiles\CMakeScratch\TryCompile-2f79nm --filter-prefix="Note: including file: " -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe @C:\Users\dusti\AppData\Local\Temp\nmC9B2.tmp
      testCCompiler.c
      Linking C executable cmTC_4ec68.exe
              C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_4ec68.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_4ec68.dir\objects1.rsp @C:\Users\dusti\AppData\Local\Temp\nmCA01.tmp
      Visual Studio Incremental Link with embedded manifests
      Create CMakeFiles\cmTC_4ec68.dir/manifest.rc
      Create empty: CMakeFiles\cmTC_4ec68.dir/embed.manifest
      RC Pass 1:
      rc /fo CMakeFiles\cmTC_4ec68.dir/manifest.res CMakeFiles\cmTC_4ec68.dir/manifest.rc
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_4ec68.dir/manifest.res CMakeFiles\cmTC_4ec68.dir/manifest.rc" failed (exit code 0) with the following output:
      no such file or directoryNMAKE : fatal error U1077: 'C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_4ec68.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_4ec68.dir\objects1.rsp @C:\Users\dusti\AppData\Local\Temp\nmCA01.tmp' : return code '0xffffffff'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\nmake.exe"  -f CMakeFiles\cmTC_4ec68.dir\build.make /nologo -L                  CMakeFiles\cmTC_4ec68.dir\build' : return code '0x2'
      Stop.





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


  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'NMake Makefiles (Visual Studio 16 2019 x64 v142)' generator - failure
  --------------------------------------------------------------------------------



  --------------------------------------------------------------------------------
  -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Deprecation Warning at CMakeLists.txt:1 (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 MSVC 19.39.33523.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/dusti/AppData/Local/Temp/pip-install-fy7f13a7/pychadwick_b62e4203f2ef40b78b178beaa43ffc53/_cmake_test_compile/build/CMakeFiles/CMakeScratch/TryCompile-i4cvxw'

      Run Build Command(s): C:/Users/dusti/AppData/Local/Temp/pip-build-env-5o4uumh6/overlay/Lib/site-packages/cmake/data/bin/cmake.exe -E env VERBOSE=1 nmake -f Makefile /nologo cmTC_77620\fast
              "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\nmake.exe"  -f CMakeFiles\cmTC_77620.dir\build.make /nologo -L                  CMakeFiles\cmTC_77620.dir\build
      Building C object CMakeFiles/cmTC_77620.dir/testCCompiler.c.obj
              C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E cmake_cl_compile_depends --dep-file=CMakeFiles\cmTC_77620.dir\testCCompiler.c.obj.d --working-dir=C:\Users\dusti\AppData\Local\Temp\pip-install-fy7f13a7\pychadwick_b62e4203f2ef40b78b178beaa43ffc53\_cmake_test_compile\build\CMakeFiles\CMakeScratch\TryCompile-i4cvxw --filter-prefix="Note: including file: " -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe @C:\Users\dusti\AppData\Local\Temp\nmCC14.tmp
      testCCompiler.c
      Linking C executable cmTC_77620.exe
              C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_77620.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_77620.dir\objects1.rsp @C:\Users\dusti\AppData\Local\Temp\nmCC53.tmp
      Visual Studio Incremental Link with embedded manifests
      Create CMakeFiles\cmTC_77620.dir/manifest.rc
      Create empty: CMakeFiles\cmTC_77620.dir/embed.manifest
      RC Pass 1:
      rc /fo CMakeFiles\cmTC_77620.dir/manifest.res CMakeFiles\cmTC_77620.dir/manifest.rc
      RC Pass 1: command "rc /fo CMakeFiles\cmTC_77620.dir/manifest.res CMakeFiles\cmTC_77620.dir/manifest.rc" failed (exit code 0) with the following output:
      no such file or directoryNMAKE : fatal error U1077: 'C:\Users\dusti\AppData\Local\Temp\pip-build-env-5o4uumh6\overlay\Lib\site-packages\cmake\data\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_77620.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_77620.dir\objects1.rsp @C:\Users\dusti\AppData\Local\Temp\nmCC53.tmp' : return code '0xffffffff'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64\nmake.exe"  -f CMakeFiles\cmTC_77620.dir\build.make /nologo -L                  CMakeFiles\cmTC_77620.dir\build' : return code '0x2'
      Stop.





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


  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'NMake Makefiles (Visual Studio 15 2017 x64 v141)' generator - failure
  --------------------------------------------------------------------------------

                  ********************************************************************************
                  scikit-build could not get a working generator for your system. Aborting build.

                  Building windows wheels for Python 3.11 requires Microsoft Visual Studio 2022.
  Get it with "Visual Studio 2017":

    https://visualstudio.microsoft.com/vs/

  Or with "Visual Studio 2019":

      https://visualstudio.microsoft.com/vs/

  Or with "Visual Studio 2022":

      https://visualstudio.microsoft.com/vs/

                  ********************************************************************************
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pychadwick
Failed to build pychadwick
ERROR: Could not build wheels for pychadwick, which is required to install pyproject.toml-based projects`

@bdilday
Copy link
Owner

bdilday commented May 9, 2024

this is a little difficult for me to reproduce because I don't have access to windows. I think the core of the issue may be here?

RC Pass 1: command "rc /fo CMakeFiles\cmTC_1b873.dir/manifest.res CMakeFiles\cmTC_1b873.dir/manifest.rc" failed (exit code 0) with the following output:
no such file or directory

does the following help at all? https://stackoverflow.com/a/53295103

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

2 participants