cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
198
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
Participant

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
Participant

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

Hi Yan,

 

I installed YDK 0.8.5 successfully in Win10 ubuntu 18.04 subsystem.

 

All good.

Jacky Zhang
Global Telecom
Content for Community-Ad

This widget could not be displayed.