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

make install Failed #639

Open
jian-yuan-cmd opened this issue Nov 11, 2024 · 0 comments
Open

make install Failed #639

jian-yuan-cmd opened this issue Nov 11, 2024 · 0 comments

Comments

@jian-yuan-cmd
Copy link

jian-yuan-cmd commented Nov 11, 2024

The System information of Host environment

  • OS: Windows11
  • Version :22631.4317
  • GCC (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r2) 14.2.0
  • cmake version 3.30.4
  • xcc: Build 29-89e0f73, May-30-2024
  • XTC version: 15.3.0

Problem:
make install Failed

The exact sequence of commands / steps :
https://www.xmos.com/documentation/XM-014660-PC/html/doc/quick_start/installation.html#sdk-installation
Follow the steps provided on the webpage .

The detailed steps of the operation are as follows:
C:\temp\xcore_iot>cmake -G "NMake Makefiles" -B build_host
-- The C compiler identification is MSVC 19.41.34123.0
-- The CXX compiler identification is MSVC 19.41.34123.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe - broken
CMake Error at D:/mingw64/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler

"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: 'C:/temp/xcore_iot/build_host/CMakeFiles/CMakeScratch/TryCompile-189zx0'

Run Build Command(s): D:/mingw64/bin/cmake.exe -E env VERBOSE=1 nmake -f Makefile /nologo cmTC_9f1da\fast
    "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\nmake.exe"  -f CMakeFiles\cmTC_9f1da.dir\build.make /nologo -L                  CMakeFiles\cmTC_9f1da.dir\build
Building C object CMakeFiles/cmTC_9f1da.dir/testCCompiler.c.obj
    D:\mingw64\bin\cmake.exe -E cmake_cl_compile_depends --dep-file=CMakeFiles\cmTC_9f1da.dir\testCCompiler.c.obj.d --working-dir=C:\temp\xcore_iot\build_host\CMakeFiles\CMakeScratch\TryCompile-189zx0 --filter-prefix="注意: 包含文件:  " -- C:\PROGRA~2\MIB055~1\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe @C:\Users\41934\AppData\Local\Temp\nmF846.tmp
testCCompiler.c
Linking C executable cmTC_9f1da.exe
    D:\mingw64\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_9f1da.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~2\MIB055~1\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_9f1da.dir\objects1.rsp @C:\Users\41934\AppData\Local\Temp\nmF8F3.tmp
Visual Studio Incremental Link with embedded manifests
Create CMakeFiles\cmTC_9f1da.dir/manifest.rc
Create empty: CMakeFiles\cmTC_9f1da.dir/embed.manifest
RC Pass 1:
rc /fo CMakeFiles\cmTC_9f1da.dir/manifest.res CMakeFiles\cmTC_9f1da.dir/manifest.rc
RC Pass 1: command "rc /fo CMakeFiles\cmTC_9f1da.dir/manifest.res CMakeFiles\cmTC_9f1da.dir/manifest.rc" failed (exit code 0) with the following output:
no such file or directoryNMAKE : fatal error U1077: “D:\mingw64\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_9f1da.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA~2\MIB055~1\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\cmTC_9f1da.dir\objects1.rsp @C:\Users\41934\AppData\Local\Temp\nmF8F3.tmp”:  返回代码“0xffffffff”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\nmake.exe"  -f CMakeFiles\cmTC_9f1da.dir\build.make /nologo -L                  CMakeFiles\cmTC_9f1da.dir\build”: 返回代码“0x2”
Stop.

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

-- Configuring incomplete, errors occurred!

C:\temp\xcore_iot>

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