您的计算机上缺少CMAKE libintl-8.dll [英] CMAKE libintl-8.dll is missing from your computer
问题描述
我一直在寻找解决方案,老实说,我被困住了.
I've been looking for solutions, and honestly I'm stuck.
我正在尝试安装Box2D,如文件路径所示.
I'm trying to install Box2D, as you can see by the file paths.
无论如何,此提示在出现以下内容之前先出现几次:
Anyway, this prompt appears several times before the following:
The CXX compiler identification is unknown
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- broken
CMake Error at C:/Program Files/CMake/share/cmake-3.6/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "C:/MinGW/bin/g++.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: C:/Users/alexm/Documents/Box2D/Build/CMakeFiles/CMakeTmp
Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_31089/fast"
C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_31089.dir\build.make
CMakeFiles/cmTC_31089.dir/build
mingw32-make.exe[1]: Entering directory
'C:/Users/alexm/Documents/Box2D/Build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_31089.dir/testCXXCompiler.cxx.obj
C:\MinGW\bin\g++.exe -o CMakeFiles\cmTC_31089.dir\testCXXCompiler.cxx.obj
-c
C:\Users\alexm\Documents\Box2D\Build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
CMakeFiles\cmTC_31089.dir\build.make:64: recipe for target
'CMakeFiles/cmTC_31089.dir/testCXXCompiler.cxx.obj' failed
mingw32-make.exe[1]: ***
[CMakeFiles/cmTC_31089.dir/testCXXCompiler.cxx.obj] Error 1
mingw32-make.exe[1]: Leaving directory
'C:/Users/alexm/Documents/Box2D/Build/CMakeFiles/CMakeTmp'
Makefile:125: recipe for target 'cmTC_31089/fast' failed
mingw32-make.exe: *** [cmTC_31089/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
Configuring incomplete, errors occurred!
See also "C:/Users/alexm/Documents/Box2D/Build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/alexm/Documents/Box2D/Build/CMakeFiles/CMakeError.log".
因此,有错误.我正在尝试使用MinGW将其安装在code :: blocks上,我目前安装了2份MinGW副本,一个副本位于code :: blocks文件夹中,另一个位于我的根驱动器中,我分别安装了MinGW解决此问题.
So, there's the error. I'm trying to install it on code::blocks with MinGW, I've currently got 2 copies of MinGW installed, one that's located in the code::blocks folder and the other is in my root drive, I installed MinGW seperately to fix this problem.
这是我第一次使用CMake,我正在尝试使其与我的sfml项目在C ++中的code :: blocks一起使用.
This is my first time using CMake, I'm trying to get it to work with my sfml project on code::blocks in C++.
很抱歉,如果我错过了任何内容,如果您发现了任何需要的信息,请立即发表评论!
Apologies if I missed anything, if you spot any information you'd need don't hesitate to comment!
推荐答案
转到系统变量并添加
C:\ Program Files(x86)\ CodeBlocks \ MinGW \ bin
C:\Program Files (x86)\CodeBlocks\MinGW\bin
通往你的路
这篇关于您的计算机上缺少CMAKE libintl-8.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!