cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1246
Views
0
Helpful
3
Replies

ydk-cpp Installation

i am using Red Hat Enterprise Linux Server release 6.5 (Santiago) for installation of Ydk-cpp.

I successfully installed the ydk-core, ietf & openconfig, using CXX="g++-49 -std=c++11" CC="gcc" while make install from source.

cisco-ios-xr : This modules takes ages to get installed.

cisco-ios-xe : Still i am unable to install it.

Kindly suggest proper compilation flags which can help me to install all modules.

1 Accepted Solution

Accepted Solutions

Sorry about that. The code has been updated to fix this. Please sync to the latest code:

GitHub - CiscoDevNet/ydk-cpp: C++ SDK generated from YANG data models.

The precompiled images for CentOS are available here: https://devhub.cisco.com/artifactory/webapp/#/artifacts/browse/tree/General/rpm-ydk/0.6.3

View solution in original post

3 Replies 3

abhirame
Cisco Employee
Cisco Employee

I have seen that the clang compiler is better suited to handle the large number/size of files in ydk-cpp. Let me know if this works for you.

Also, we have pre-compiled binaries (built on Centos7) available at: https://devhub.cisco.com/artifactory/rpm-ydk/0.6.3/ (the XE package will be available soon)

Except cisco-ios-xe  module all modules have been installed.


Getting error while compiling cisco-ios-xe  module.

Error Console log:

from /home/ajay/ydk-cpp-master/cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_95.cpp:2:

/home/ajay/ydk-cpp-master/cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_95.cpp: In constructor âcisco_ios_xe::Cisco_IOS_XE_native::Native::Monitor::EventTrace::Atom::Atom()â:

/home/ajay/ydk-cpp-master/cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_95.cpp:14904:3: error: class âcisco_ios_xe::Cisco_IOS_XE_native::Native::Monitor::EventTrace::Atomâ does not have any field named âgnu_dev_majorâ

  ,major(std::make_shared<Native::Monitor::EventTrace::Atom::Major>())

Sorry about that. The code has been updated to fix this. Please sync to the latest code:

GitHub - CiscoDevNet/ydk-cpp: C++ SDK generated from YANG data models.

The precompiled images for CentOS are available here: https://devhub.cisco.com/artifactory/webapp/#/artifacts/browse/tree/General/rpm-ydk/0.6.3