RUrlus/carma

How to install carma

stormshawn opened this issue · 3 comments

I went through the steps here: https://carma.readthedocs.io/en/latest/basic_usage.html to build the system but the last step: To installation carma, you have to define -DCMAKE_INSTALL_PREFIX=/installation/path/directory
is not working. Could someone explain a bit more thoroughly what this step entails? I'm just getting:

zsh: no such file or directory: -DCMAKE_INSTALL_PREFIX=/usr/local

I don't understand what you're doing. Can you provide a some details; what is your OS, how are you building it?

I'm just trying to install carma. I'm using Linux (Debian) and am going through the Build Systems part of the docs.

OK, so I think you are running -DCMAKE_INSTALL_PREFIX=/usr/local as an command. It's a definition you need to set to install Carma in the right location.

If you want to install it you run the below in the build directory:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. && make install

Perhaps this example will help you.

I'll close the issue for now, please reopen if this doesn't solve your issue