Cmake
I've been looking for the terminal command to install the latest version of Cmake after downloading it but I can't find it. Can someone please help me out.
I've been trying to compile MuseScore and I think that may be the last step. I'm using the LTS version of Ubuntu Studio.
Comments
Try "sudo apt-get install git cmake" (as per http://musescore.org/fr/developers-handbook/compilation/compile-instruc…)
In reply to Try "sudo apt-get install git by Jojo-Schmitz
on my Mint16 64bits Synaptic says that cmake is installed as 2.8.11.2-1ubuntu5
and
leleu@leleu-portable ~ $ which cmake
/usr/bin/cmake
leleu@leleu-portable ~ $
from https://launchpad.net/ubuntu/+source/cmake it seems that cmake comes with standard ubuntu packages.
This cmake is presumably the one I use to produce nightlies in http://prereleases.musescore.org/linux/nightly/
I ran the command in the documention but I was told that I have the latest version. However checking the Cmake website reveals that there is a newer version. What I'm looking for is a command that will allow me to install the new version.
In reply to New Info by peter.frumon
grab the source from the cmake site and build it yourself.
I've been trying to compile Cmake but it keeps saying I need the Curses libraries. I installed the Curses GUI from the Synaptic Package Manager and added some related libraries from the Terminal but it still keeps throwing up errors. Searching online hasn't help and I'm quite new to this.
In reply to Compiling CMake by peter.frumon
Why do you need a more recent version of Cmake. It seems that Ubuntu 12.04 shipped Cmake 2.8.7 and that should be enough. Did you have problem with it?
I tried to compile the MuseScore Source in Cmake and got the following error:
CMake Error at mscore/CMakeLists.txt:167 (QT5_ADD_RESOURCES):
Unknown CMake command "QT5_ADD_RESOURCES". I got the same error when compiling with the Terminal. Someone said that I needed to update Cmake.
I've installed the latest version of QT. What actually is the problem?
In reply to Error message by peter.frumon
Try this http://dev-list.musescore.org/linux-compilation-td7578398.html
In reply to Try this by [DELETED] 5
Which boils down to using something like
export CMAKE_PREFIX_PATH=/opt/Qt5.1.0/5.1.0/gcc_64
Ok that deals very directly with the problem.
Where do I put the command "export CMAKE_PREFIX_PATH=/opt/Qt5.1.0/5.1.0/gcc_64"
I tried copying and pasting in the terminal but nothing happened.
I should explain that I just started working with code related stuff late December-Early January so my questions may be rather basic.
In reply to Getting closer by peter.frumon
Put it into your .profile
Of course you'd need to adjust hat path name to your setup first.
In reply to Put it into your .profile by Jojo-Schmitz
Is that a profile linked with MuseScore or Cmake? I'm afraid I'm new not just coding but to Ubuntu Studio as well. Your explanations will need be practically childish for me to get it.
Thanks for your paitence.
In reply to Locating the profile by peter.frumon
neither, it is linked to your shell
I think before I try more work with this, I'm going to go back to OS school.
I've done digging around and can't find the shell. Could someone give me step by step instructions to resolveing the problem. That appears to be the only way I'll solve it.
In reply to Step by step by peter.frumon
Huh? The shell is the thing you enter your command in.
In reply to Huh? The shell is the thing by Jojo-Schmitz
Let me reword my question? How do I accsess the shell so I can put in the command?
In reply to Accsess by peter.frumon
Look for the "Terminal" or "Console" applications