c++ - Travis: CMake seems to loose (can not find) compiler version -


have problem testing ubuntu cmake g++ build on travis.

what important have upgrade gcc/g++ @ least 4.7 version first.

sudo apt-get install gcc-4.8 g++-4.8 

(4.8 well)

i tried lot of configs , found travis version of cmake not see compiler version.

cmake_c_compiler: /usr/bin/gcc-4.8 cmake_cxx_compiler: /usr/bin/g++-4.8 cmake_cxx_compiler_version:       <<<<<<<<<empty!  

so tests compiler version fail ...

cmake error @ cmakelists.txt:22 (message): gcc version must @ least 4.8! 

here build log:

https://travis-ci.org/paku-/travistest/builds/66662613

any ideas ?

ps.

  • tested using alternatives, same.

  • tested on local ubuntu virtual machine - working should.

it's solved ... did not know cmake_cxx_compiler_version supported v.2.8.9. while travis cmake v.2.8.7


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -