Last active
December 6, 2017 19:01
-
-
Save robotdad/f26036d639b4524c3d8c4ca734629633 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y git cmake | |
git clone https://github.com/Kitware/CMake.git | |
cd CMake | |
Make sure you are on a supported release | |
git checkout tags/v3.9.0 | |
mkdir out | |
cd out | |
cmake ../ | |
make -j8 | |
sudo make install | |
The above will build and install the current release of CMake to /usr/local/bin. Check the version is >= 3.8 with: | |
/usr/local/bin/cmake --version |
what a prim vs2017.
1> 1:16:34: Copying files to remote machine...
1> CMake version '3.9.4' is not supported. Please use 3.8 or newer. See https://aka.ms/linuxcmakeconfig for more info
Visual Studio dies on its ass operating a ubuntu machine over ssh, complains that CMake is not available.
Is it looking for 3.9.0, while my ubuntu machine has 3.91?
3.9.1 and 3.9.4 won't fit, you need exactly 3.9.0
I kindof feel it is rediculus, message should be different here is what i got :
CMake version '3.10.0' is not supported. Please use 3.8 or newer. See https://aka.ms/linuxcmakeconfig for more info
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had trouble with building. Had to do this first
sudo apt get install g++-5
Then on the CMake command, add this
cmake ../ -DCMAKE_CXX_COMPILER=/usr/bin/g++-5