Bii code seem to damage my cmake

261 Views Asked by At

I've installed bii (v1.11) on my Ubuntu 14.10 (64bit) and while bii setup:cpp it downloaded and installed CMake 3.0.2. Now, when I want to use CMake from the console I get a segmentation fault:

$ 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

I need to sudo the command in order to make it function properly:

$ sudo cmake --version
cmake version 3.0.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Any suggestions how to repair this?

1

There are 1 best solutions below

0
On

sudo chown -R YOUR_USER:YOUR_USER /home/YOUR_USER/.biicode_env solves the problem