cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
862
Views
10
Helpful
2
Replies

YDK installation issue in Win10 subsystem Ubuntu 20.04

Dear Team,

I follow the guide(https://github.com/CiscoDevNet/ydk-gen).   

But there is one issue. Please see mail below.

 

Thank you very much for your help!!!

 

 

(ydk) root@CNPDGWNCP142F0K:/home/jzhang/ydk-gen# ./generate.py --libydk
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/jzhang/ydk-gen/gen-api/cpp/ydk/build/CMakeFiles/CMakeOutput.log".
See also "/home/jzhang/ydk-gen/gen-api/cpp/ydk/build/CMakeFiles/CMakeError.log".

ERROR: Failed to configure build!

(ydk) root@CNPDGWNCP142F0K:/home/jzhang/ydk-gen#

 

 

 

Jacky Zhang
Global Telecom
1 Accepted Solution

Accepted Solutions

yangorelik
Spotlight
Spotlight

Hi Jacky

The Win10 subsystem environment has never been tried for YDK and hence officially is not supported. Instead I would suggest to install on your Win10 platform the VirtualBox or VMWare and then build virtual machine running Ubuntu 20.04 (ready to go images are available on the Internet). Then you will be guaranteed successful installation of YDK.

Yan Gorelik
YDK Solutions

View solution in original post

2 Replies 2

yangorelik
Spotlight
Spotlight

Hi Jacky

The Win10 subsystem environment has never been tried for YDK and hence officially is not supported. Instead I would suggest to install on your Win10 platform the VirtualBox or VMWare and then build virtual machine running Ubuntu 20.04 (ready to go images are available on the Internet). Then you will be guaranteed successful installation of YDK.

Yan Gorelik
YDK Solutions

Hi Yan,

 

I installed YDK 0.8.5 successfully in Win10 ubuntu 18.04 subsystem.

 

All good.

Jacky Zhang
Global Telecom
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: