04-11-2021 05:20 AM
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#
Solved! Go to Solution.
04-14-2021 07:56 PM
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.
04-14-2021 07:56 PM
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.
04-15-2021 09:53 PM
Hi Yan,
I installed YDK 0.8.5 successfully in Win10 ubuntu 18.04 subsystem.
All good.
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