Git Product home page Git Product logo

Comments (4)

uricamic avatar uricamic commented on July 21, 2024

Hi @guo253,

if I remember correctly, cmake 3.0+ is required just because of some definitions in CMakeLists.txt. So, it can be modified in such way, that it will compile even on cmake 2.8.
I will soon look at all the CMakeLists.txt files and maybe create some backward compatibility version of them.

However, maybe your problem can be solved easier by upgrading to 3.0+ version. What was exactly your problem with that? I was using version 2.8 and then upgraded quite smoothly...

from clandmark.

guo253 avatar guo253 commented on July 21, 2024

Thank you for your answer.
If i installed cmake and ccmake using software center or aptitude,the version was 2.8(My ubuntu is 14.04).So i installed cmake(version 3.0.2) by handcraft successfully,but when i installed ccmake(version 3.0.2)by handcraft,it can't find cmake(version 3.0.2) which was dependent package.
I also upgraded the source and use cmd 'aptitude update',but there was too many softwares needed to be update.
I look forward to your method that upgrade the cmake and ccmake.I have download the .tar.gz for cmake and .deb for ccmake.
Thank you again.

from clandmark.

mousomer avatar mousomer commented on July 21, 2024

Guo253, I had a similar problem. Installed CMake 3 from source on a different path and called it, and everything works.

from clandmark.

KeeganRen avatar KeeganRen commented on July 21, 2024

My OS is Ubuntu 14.04 LTS, and the CMake version is 2.8.
But I "sudo mkdir /opt/CMake/cmake-3.5", and then install CMake-3.5 in /opt/CMake/cmake-3.5,
When I want to use cmake-2.8 to compile project: cmake .. is ok.
When I want to use cmake-3.5 to compile this project:

  1. Ctrl+Alt+T
  2. cd build
  3. /opt/CMake/cmake-3.5/bin/cmake ..
  4. make
    It's OK.

from clandmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.