01-16-2018 01:10 AM
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.
Solved! Go to Solution.
01-17-2018 08:59 PM
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
01-16-2018 09:53 AM
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)
01-16-2018 11:05 PM
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>())
01-17-2018 08:59 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide