From: "Santiago Alvarez (saalvare)" <saalvare@cisco.com>
Date: Friday, 13 October 2017 at 15:25
To: Hariharan Ananthakrishnan <hari@packetdesign.com>, "Abhi Ramesh Keshav (abhirame)" <abhirame@cisco.com>
Cc: "Santiago Alvarez (saalvare)" <saalvare@cisco.com>
Subject: RE: Webex for YDK
Can you try with cmake ver 3? It’d be great if we can continue the discussion in the community so other can benefit too. Thanks.
- Cheers.
SA
--
From: Hariharan Ananthakrishnan [mailto:hari@packetdesign.com]
Sent: Friday, October 13, 2017 3:21 PM
To: Santiago Alvarez (saalvare) <saalvare@cisco.com>; Abhi Ramesh Keshav (abhirame) <abhirame@cisco.com>
Subject: Re: Webex for YDK
- Thanks. I am following instructions per https://github.com/CiscoDevNet/ydk-cpp in a Centos 7 box to build YDK. Getting CMake errors.
[root@ODLserver ~]# more /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
root@ODLserver ~]# cmake --version
cmake version 2.8.12.2
[root@ODLserver ~]# cd ydk-cpp/core/ydk/
[root@ODLserver ydk]# cd build/
[root@ODLserver build]# cmake ..
CMake Error at CMakeLists.txt:2 (cmake_policy):
Policy "CMP0048" is not known to this version of CMake.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_VERSION_COMPILER_ENV_VAR
I am going to install pre-built binaries and see if I can move ahead.
- Hari