我已经在我的 Ubuntu 14.10(64 位)上安装了 bii(v1.11),同时bii setup:cpp
它下载并安装了 CMake 3.0.2。现在,当我想从控制台使用 CMake 时,出现分段错误:
$ cmake --version
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/home/lars/.biicode_env/cmake-3.0.2-Linux-64/bin
[1] 2993 segmentation fault (core dumped) cmake --version
我需要 sudo 命令才能使其正常运行:
$ sudo cmake --version
cmake version 3.0.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
任何建议如何修复这个?