Vcpkg: [gflags] failed

Created on 27 Jul 2017  ·  3Comments  ·  Source: microsoft/vcpkg

CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/CMakeTestCXXCompiler.cmake:44 (message):
  The C++ compiler "C:/Program Files (x86)/Microsoft Visual Studio
  14.0/VC/bin/amd64_x86/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: D:/vcpkg/buildtrees/gflags/x86-windows-rel/CMakeFiles/CMakeTmp



  Run Build Command:"D:/vcpkg/downloads/tools/ninja/ninja-1.7.2/ninja.exe"
  "cmTC_452cb"

  ninja: error: build.ninja:30: loading 'rules.ninja':
  系统找不到指定的文件。




  include rules.ninja


                     ^ near here





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


repro

Most helpful comment

@tzbo попробуйте в консоли сменить кодировку, если поможет отпишитесь о результатах

try change console encoding to help accomplish your goal on the results

chcp 65001
vcpkg install gflags

All 3 comments

@tzbo Try downgrading to cmake 3.8.2 and if there are any issues

@tzbo попробуйте в консоли сменить кодировку, если поможет отпишитесь о результатах

try change console encoding to help accomplish your goal on the results

chcp 65001
vcpkg install gflags

Thanks for posting this issue. Please open a new issue if this is still a problem for you.

Was this page helpful?
0 / 5 - 0 ratings