Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nina's streamer libraries fail when compiling #390

Open
LorenzoLamberti94 opened this issue Jun 19, 2023 · 3 comments
Open

Nina's streamer libraries fail when compiling #390

LorenzoLamberti94 opened this issue Jun 19, 2023 · 3 comments

Comments

@LorenzoLamberti94
Copy link

hi,
when i try to run the streaming example on the AI deck i get the following error

rm -f /home/lamberti/work/gap_sdk_latest/libs/frame_streamer/examples/wifi_jpeg_streamer/BUILD/GAP8_V2/GCC_RISCV_PULPOS/flash.img
riscv32-unknown-elf-gcc -O3 -g -DCONFIG_AI_DECK -DRT_FC_STACK_SIZE=2048 -D__PLATFORM_BOARD__ -D__RT_IODEV__=2 -fno-jump-tables -fno-tree-loop-distribute-patterns -fdata-sections -ffunction-sections -mchip=gap8 -mPE=8 -mFC=1 -D__riscv__ -D__GAP__ -D__GAP8__ -DCHIP_VERSION=2 -mnativeomp -D__pulp__ -DCONFIG_GAP -D__PULP_OS__ -MMD -MP -c test.c  -I/home/lamberti/work/gap_sdk_latest/install/GAP8_V2/include  -I/home/lamberti/work/gap_sdk_latest/install/GAP8_V2/include/io  -I/home/lamberti/work/gap_sdk_latest/install/workstation/include  -I/home/lamberti/work/gap_sdk_latest/tools/autotiler_v3/Emulation  -include /home/lamberti/work/gap_sdk_latest/install/GAP8_V2/include/rt/chips/gap_rev1/config.h -MD -MF /home/lamberti/work/gap_sdk_latest/libs/frame_streamer/examples/wifi_jpeg_streamer/BUILD/GAP8_V2/GCC_RISCV_PULPOS/test.d -o /home/lamberti/work/gap_sdk_latest/libs/frame_streamer/examples/wifi_jpeg_streamer/BUILD/GAP8_V2/GCC_RISCV_PULPOS/test.o
test.c:4:10: fatal error: tools/frame_streamer.h: No such file or directory
 #include "tools/frame_streamer.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/home/lamberti/work/gap_sdk_latest/utils/rules/pulp_rules.mk:220: /home/lamberti/work/gap_sdk_latest/libs/frame_streamer/examples/wifi_jpeg_streamer/BUILD/GAP8_V2/GCC_RISCV_PULPOS/test.o] Error 1

looks like the streaming libraries can't be found by the makefile (now the libraries are here).
this error appeared from ~gap_sdk==4.0 on.
Any idea on where to look at to fix this problem ? :)
thanks !
Lorenzo

@Yaooooo
Copy link
Member

Yaooooo commented Jun 19, 2023

The include is here: https://github.com/GreenWaves-Technologies/gap_sdk/tree/master/libs/frame_streamer/include/tools
You can install the tool, or you can add the path to include path of gcc

@LorenzoLamberti94
Copy link
Author

ciao @Yaooooo ,
Thanks a lot for the ultra quick answer!

Is there way to install this library ? i dont see it anymore in the targets of the sdk makefile
I used to install it with "make gap_tools" but that isnt there anymore

@Yaooooo
Copy link
Member

Yaooooo commented Jun 19, 2023

I think you can use the Makefile or Cmake in the folder:
https://github.com/GreenWaves-Technologies/gap_sdk/blob/master/libs/frame_streamer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants