2017-02-03 24 views
0

Windows 10でMinGW用のCMake GUIを使用してSFML 2.4.1をビルドしようとしています。「libintl-8.dll」がなく、その他のエラー。CMakeでSFML 2.4.1をビルドできません

PATHを確認したところ、「C:\ MinGW \ bin」と「C:\ MinGW \ msys \ 1.0 \ bin」の両方があります。 "C:\ MinGW \ msys \ 1.0 \ bin"に "msys-intl-8.dll"というライブラリがあり、 "libintl-8.dll"という名前に変更しようとしました。 「不足している」エラーは消えても、残りのエラーは残ります。 CMakeのGUIの

メッセージ: "CMakeOutput.log" の

The C compiler identification is GNU 5.3.0 
The CXX compiler identification is GNU 5.3.0 
Check for working C compiler: C:/MinGW/bin/gcc.exe 

    CMake Error: Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_73327/fast" 
    Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken 
    CMake Error at C:/CMake/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message): 
     The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test 
     program. 

     It fails with the following output: 
     Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 
     Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_73327/fast" 

     Generator: execution of make failed. Make command was: 
     "C:/MinGW/bin/mingw32-make.exe" "cmTC_73327/fast 

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

内容: "CMakeError.log" の

The system is: Windows - 10.0.14393 - AMD64 
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 
Compiler: C:/MinGW/bin/gcc.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 

The C compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdC/a.exe" 

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. 
Compiler: C:/MinGW/bin/g++.exe 
Build flags: 
Id flags: 

The output was: 
0 


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.exe" 

The CXX compiler identification is GNU, found in "C:/SFML/SFML-2.4.1-source/build/CMakeFiles/3.7.2/CompilerIdCXX/a.exe" 

内容:

Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_2426e/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_2426e/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_acc1b/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_acc1b/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_9db84/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_9db84/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_4e89a/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_4e89a/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_570e4/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_570e4/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_ef272/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_ef272/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_6bcbb/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_6bcbb/fast" 


Determining if the C compiler works failed with the following output: 
Change Dir: C:/SFML/SFML-2.4.1-source/build/CMakeFiles/CMakeTmp 

Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_73327/fast" 

Generator: execution of make failed. Make command was: "C:/MinGW/bin/mingw32-make.exe" "cmTC_73327/fast" 

答えて

0

私は問題を解決するために手を付けましたが、MinGWの代わりにGeneratorオプションでMysys MinGWを選択する必要がありました:)

関連する問題