Попытка создать несколько полезных библиотек для игры C++, которую я пишу. Однако CMAKE не хочет работать с моим компилятором?Ошибка настройки CMAKE: не удалось найти libintl-8.dll
Я работаю под управлением ОС Windows 7, пытаясь построить библиотеки для Windows 32. Я запускаю новейшую версию CMAKE (32-разрядная (без удачи с 64)). Мой компилятор - это компилятор Codeblocks MinGW, который должен быть 32-разрядным.
Вот журнал ошибок:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
Build flags:
Id flags:
The output was:
1
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
Build flags:
Id flags: -c
The output was:
1
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
Build flags:
Id flags: -Aa
The output was:
1
<command-line>:0:1: error: missing '(' after predicate
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
Build flags:
Id flags: -D__CLASSIC_C__
The output was:
1
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
gcc.exe: fatal error: no input files
compilation terminated.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe
Build flags:
Id flags:
The output was:
1
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe
Build flags:
Id flags: -c
The output was:
1
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
g++.exe: fatal error: no input files
compilation terminated.
Determining if the C compiler works failed with the following output:
Change Dir: C:/Program Files (x86)/TGUI/TGUI-Build/CMakeFiles/CMakeTmp
Run Build Command:"C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe" "cmTC_9275e/fast"
C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_9275e.dir\build.make CMakeFiles/cmTC_9275e.dir/build
mingw32-make.exe[1]: Entering directory 'C:/Program Files (x86)/TGUI/TGUI-Build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9275e.dir/testCCompiler.c.obj
C:\PROGRA~2\CODEBL~1\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_9275e.dir\testCCompiler.c.obj -c "C:\Program Files (x86)\TGUI\TGUI-Build\CMakeFiles\CMakeTmp\testCCompiler.c"
CMakeFiles\cmTC_9275e.dir\build.make:64: recipe for target 'CMakeFiles/cmTC_9275e.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_9275e.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'C:/Program Files (x86)/TGUI/TGUI-Build/CMakeFiles/CMakeTmp'
Makefile:125: recipe for target 'cmTC_9275e/fast' failed
mingw32-make.exe: *** [cmTC_9275e/fast] Error 2
Как titile ('Не удалось найти libintl-8.dll') коррелирует с проблемой (журнал ошибок)? – Tsyvarev
@ Цыварев Когда я нажимаю «configure» и выбираю компилятор mblw codeblocks (использую собственный компилятор по умолчанию), я получаю это: http://i.imgur.com/54baAPs.png – Honor