xboot / libonnx

A lightweight, portable pure C99 onnx inference engine for embedded devices with hardware acceleration support.
MIT License
560 stars 101 forks source link

This project need SDL2. #8

Closed wuzy361 closed 2 years ago

wuzy361 commented 3 years ago

At first , I got error when complie this project: main.c:1:10: fatal error: SDL2/SDL.h: 没有那个文件或目录 1 | #include <SDL2/SDL.h> | ^~~~ then I use sudo apt-get install libsdl2-gfx-dev fixed this error.

I think this project should explain this dependence.

THANKS!

ouankou commented 3 years ago

I encountered the same issue. On Arch/Manjaro Linux, it's yay -Syu sdl2_gfx.

LeeeSe commented 3 years ago

Thank you !~