Building error on linux. #west


wbasser@...
 

I created this project on windows and built it successfully.  Migrated to Linux as this is our normal build environment.  Checked the file out of git and upon attempting to build I get the following error.

wbasser@ubuntu:~/strongarmtech/git/fuse-zephyr$ dir
CMakeLists.txt prj.conf  README.md  src
wbasser@ubuntu:~/strongarmtech/git/fuse-zephyr$ west build -p auto -b nrf52dk_nrf52832
usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

If I go to zephyprojects/zephyr and execute the following command, I get the following:

<pre><font color="#4E9A06"><b>wbasser@ubuntu</b></font>:<font color="#3465A4"><b>~/zephyrproject/zephyr</b></font>$ west build -p auto -b nrf52dk_nrf52832 ~/strongarmtech/git/fuse-zephyr
<font color="#8AE234">-- west build: generating a build system</font>
CMake Error: The source &quot;/home/wbasser/strongarmtech/git/fuse-zephyr/CMakeLists.txt&quot; does not match the source &quot;/home/wbasser/zephyrproject/zephyr/CMakeLists.txt&quot; used to generate cache.  Re-run cmake with a different source directory.
<font color="#EF2929">FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/wbasser/zephyrproject/zephyr/build -S/home/wbasser/strongarmtech/git/fuse-zephyr -GNinja -DBOARD=nrf52dk_nrf52832</font>
<font color="#4E9A06"><b>wbasser@ubuntu</b></font>:<font color="#3465A4"><b>~/zephyrproject/zephyr</b></font>$ 
</pre>

Any ideas

Join users@lists.zephyrproject.org to automatically receive all group messages.