Microsemi / switchtec-user

Userspace code for the Microsemi PCIe switch
MIT License
46 stars 49 forks source link

version.h: No such file or directory #321

Open zone-hai opened 2 years ago

zone-hai commented 2 years ago

when I try make in the Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-124-generic x86_64); it show the error as follow: cli/commands.c:27:10: fatal error: version.h: No such file or directory 27 | #include "version.h" | ^~~ how can I fix it?

lsgunth commented 2 years ago

version.h should be created by the build system. Are you seeing any other errors before that? How are you building the package?

AlexFeeley commented 1 year ago

I had this error and fixed it by installing a few libraries: libncurses5-dev, libssl-dev, and winres.