Can't compile on windows
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 20/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
調査の方向性
まず CMakeError.txt と CMakeOutput.txt を確認し、kernel32.lib と LIBCMT.lib に対する失敗した MSVC リンカー チェックに注目します。Windows 上で CMake 3.8.0 と Visual Studio 14.0 を使用して構成を再現し、その後、リポジトリの Windows ビルド エントリ ポイントを追跡します。報告された Windows 環境でプロジェクトの構成とビルドが正常に完了すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
CMakeError.txt
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags:
Id flags:The output was:
2
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCCompilerId.c
Microsoft (R) Incremental Linker Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved./out:CMakeCCompilerId.exe
CMakeCCompilerId.obj
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags:
Id flags:The output was:
2
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCXXCompilerId.cpp
Microsoft (R) Incremental Linker Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved./out:CMakeCXXCompilerId.exe
CMakeCXXCompilerId.obj
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'Determining if the C compiler works failed with the following output:
Change Dir: C:/Users/elodan/Desktop/arrayfire-java-master/build/CMakeFiles/CMakeTmpRun Build Command:"nmake" "/NOLOGO" "cmTC_f9692\fast"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f CMakeFiles\cmTC_f9692.dir\build.make /nologo -L CMakeFiles\cmTC_f9692.dir\buildBuilding C object CMakeFiles/cmTC_f9692.dir/testCCompiler.c.obj
C:\PROGRA
2\MICROS1.0\VC\bin\cl.exe @C:\Users\elodan\AppData\Local\Temp\nm56E3.tmptestCCompiler.c
Linking C executable cmTC_f9692.exe
"C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_f9692.dir --manifests -- C:\PROGRA
2\MICROS1.0\VC\bin\link.exe /nologo @CMakeFiles\cmTC_f9692.dir\objects1.rsp @C:\Users\elodan\AppData\Local\Temp\nm5713.tmpRC Pass 1 failed to run.
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff'Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags: /DWIN32;/D_WINDOWS;/W3
Id flags:The output was:
2
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCCompilerId.c
Microsoft (R) Incremental Linker Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved./out:CMakeCCompilerId.exe
CMakeCCompilerId.obj
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags:
Id flags:The output was:
2
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCXXCompilerId.cpp
Microsoft (R) Incremental Linker Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved./out:CMakeCXXCompilerId.exe
CMakeCXXCompilerId.obj
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'Determining if the C compiler works failed with the following output:
Change Dir: C:/Users/elodan/Desktop/arrayfire-java-master/build/CMakeFiles/CMakeTmpRun Build Command:"nmake" "/NOLOGO" "cmTC_48a8d\fast"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\nmake.exe" -f CMakeFiles\cmTC_48a8d.dir\build.make /nologo -L CMakeFiles\cmTC_48a8d.dir\buildBuilding C object CMakeFiles/cmTC_48a8d.dir/testCCompiler.c.obj
C:\PROGRA
2\MICROS1.0\VC\bin\cl.exe @C:\Users\elodan\AppData\Local\Temp\nm3DF3.tmptestCCompiler.c
Linking C executable cmTC_48a8d.exe
"C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_48a8d.dir --manifests -- C:\PROGRA
2\MICROS1.0\VC\bin\link.exe /nologo @CMakeFiles\cmTC_48a8d.dir\objects1.rsp @C:\Users\elodan\AppData\Local\Temp\nm3E13.tmpRC Pass 1 failed to run.
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0xffffffff'Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\nmake.exe"' : return code '0x2'
Stop.
CMakeOutput.txt
The system is: Windows - 10.0.14393 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags:
Id flags: -cThe output was:
0
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCCompilerId.c
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is MSVC, found in "C:/Users/elodan/Desktop/arrayfire-java-master/build/CMakeFiles/3.8.0/CompilerIdC/CMakeCCompilerId.obj"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags:
Id flags: -cThe output was:
0
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCXXCompilerId.cpp
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is MSVC, found in "C:/Users/elodan/Desktop/arrayfire-java-master/build/CMakeFiles/3.8.0/CompilerIdCXX/CMakeCXXCompilerId.obj"
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags: /DWIN32;/D_WINDOWS;/W3
Id flags: -cThe output was:
0
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCCompilerId.c
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is MSVC, found in "C:/Users/elodan/Desktop/arrayfire-java-master/build/CMakeFiles/3.8.0/CompilerIdC/CMakeCCompilerId.obj"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Build flags:
Id flags: -cThe output was:
0
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x86
Copyright (C) Microsoft Corporation. All rights reserved.CMakeCXXCompilerId.cpp
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is MSVC, found in "C:/Users/elodan/Desktop/arrayfire-java-master/build/CMakeFiles/3.8.0/CompilerIdCXX/CMakeCXXCompilerId.obj"
- 主要言語
- Java
- スター
- 39
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
arrayfire/arrayfire-java のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
bug
arrayfire/arrayfire-java#1 · 担当者 1 名 ·
arrayfire/arrayfire-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
FasterXML/jackson-databind#6229 ·