Closed lorepieri8 closed 5 years ago
This looks like remnants of an old version of zephyr, because /zephyrproject/zephyr/cmake/compiler/gcc.cmake
doesn't seem to exist anymore? can you run git clean -fdx
from the root of your repo (careful, this will delete any files not tracked by Git) and git rev-parse HEAD
to show us what commit you are in?
root@3e5b46fa1a8b:/zephyrproject/zephyr# git rev-parse HEAD
b7515ab0151250ba04514b57c1f2e7bf081cb504
root@3e5b46fa1a8b:/zephyrproject/zephyr# git show b7515ab0151250ba04514b57c1f2e7bf081cb504
commit b7515ab0151250ba04514b57c1f2e7bf081cb504 (HEAD)
Author: Himanshu Jha <himanshujha199640@gmail.com>
Date: Thu Oct 25 15:18:03 2018 +0530
This was indeed the problem, it was an old version. I updated to the latest commit, I can build now. Thank you.
Describe the bug I'm not able to build sample projects such as "blinky", since Zephyr is unable to find the toolchain.
To Reproduce Steps to reproduce the behavior: Install zephyr SDK as in https://docs.zephyrproject.org/latest/getting_started/installation_linux.html export ZEPHYR_TOOLCHAIN_VARIANT=zephyr export ZEPHYR_SDK_INSTALL_DIR=/root source zephyr-env.sh Go to /zephyr/samples/basic/blinky
Impact Cannot build the project.
Screenshots or console output
Environment (please complete the following information):
Additional context I've tried installing zephyr SDK also in "/" or in "/opt/zephyr-sdk/", but the result is the same.
Content of "/root":