Notifications
Clear all

RVfpgaSOC Lab5 cmake error

 

(@plc330)
Active Member
Joined: 12 months ago
Posts: 3
Topic starter  

I encountered the following issue while working on RVfpgaSOC Lab5 when I ran the command make -f tensorflow/lite/micro/tools/make/Makefile TARGET=zephyr_swervolf BUILD_TYPE=debug hello_world_bin as instructed in the guide:

Build flags:
make VERBOSE=1 [targets] verbose build
cmake -DW=n Enable extra gcc checks, n=1,2,3 where
1: warnings which may be relevant and do not occur too often
2: warnings which occur quite often but may still be relevant
3: more obscure warnings, can most likely be ignored
Multiple levels can be combined with W=12 or W=123
CMake Error at /home/plc330/RVfpgaSoC/Labs/LabProjects/SweRVolf/zephyr/cmake/app/boilerplate.cmake:415 (message):
Invalid usage
Call Stack (most recent call first):
CMakeLists.txt:2 (include)

-- Configuring incomplete, errors occurred!
See also "/home/plc330/RVfpgaSoC/Labs/LabProjects/SweRVolf/tensorflow/tensorflow/lite/micro/tools/make/gen/zephyr_swervolf_x86_64_debug/hello_world/build/CMakeFiles/CMakeOutput.log".
make[1]: Entering directory "/home/plc330/RVfpgaSoC/Labs/LabProjects/SweRVolf/tensorflow/tensorflow/lite/micro/tools/make/gen/zephyr_swervolf_x86_64_debug/hello_world/build"
make[1]: No targets specified and no makefile found. Stop.
make[1]: Leaving directory "/home/plc330/RVfpgaSoC/Labs/LabProjects/SweRVolf/tensorflow/tensorflow/lite/micro/tools/make/gen/zephyr_swervolf_x86_64_debug/hello_world/build"
tensorflow/lite/micro/examples/hello_world/zephyr_riscv/Makefile.inc:52: recipe for target 'hello_world_bin' failed
make:
[hello_world_bin] Error 2

My environment variables are set correctly.Could someone help me identify what went wrong here?


   
Quote
Topic Tags
(@zubairlk)
Member Admin
Joined: 3 years ago
Posts: 9
 

Hi,

Did you check out the exact versions specified in the document?

For everything, swervolf, zephyr SDK, tensorflow etc


   
ReplyQuote
(@zubairlk)
Member Admin
Joined: 3 years ago
Posts: 9
 
 
I'm afraid it is quite hard for us to provide guidance in such situations.
 
The educational materials have been built & tested to work with the specific versions explicitly mentioned in guides.
 
Our suggestion is to download & use a clean new set of versions of the exact zephyr/tensorflow/svervolf available.
 
Alternatively, if a suitable solution is found, we really appreciate a detailed blog post on the versions that worked alongside the key changes that were made
 
 
Thanks
Zubair

   
ReplyQuote