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

fatal error: crc.h: No such file or directory #4

Closed
jeng37 opened this issue Jan 13, 2022 · 4 comments
Closed

fatal error: crc.h: No such file or directory #4

jeng37 opened this issue Jan 13, 2022 · 4 comments

Comments

@jeng37
Copy link

jeng37 commented Jan 13, 2022

root@raspberrypi:~# git clone https://github.com/jeanlemotan/esp32-cam-fpv.git
Cloning into 'esp32-cam-fpv'...
remote: Enumerating objects: 277, done.
remote: Counting objects: 100% (277/277), done.
remote: Compressing objects: 100% (185/185), done.
remote: Total 277 (delta 99), reused 238 (delta 74), pack-reused 0
Receiving objects: 100% (277/277), 905.21 KiB | 388.00 KiB/s, done.
Resolving deltas: 100% (99/99), done.
root@raspberrypi:~#cd esp32-cam-fpv root@raspberrypi:~/esp32-cam-fpv# cd gs/ root@raspberrypi:~/esp32-cam-fpv/gs# ls Makefile src root@raspberrypi:~/esp32-cam-fpv/gs# make
g++ -MT .o/src/main.o -MD -MP -MF .d/src/main.Td -std=c++17 -O3 -DNDEBUG -ffast-math -funroll-loops -mcpu=cortex-a8 -mfpu=neon -Wall -DRASPBERRY_PI -Isrc -Isrc/utils -Isrc/imgui -Icomponents/common -I/opt/vc/include/ -I/usr/include/freetype2 -c -o .o/src/main.o src/main.cpp
src/main.cpp:20:10: fatal error: crc.h: No such file or directory
20 | #include "crc.h"
| ^~~~~~~
compilation terminated.
make: *** [Makefile:126: .o/src/main.o] Error 1
root@raspberrypi:~/esp32-cam-fpv/gs#
`

@peteallenm
Copy link

Looking at the Makefile, I would guess you have to change every line that has components/ to ../components/
Untested

@jeanlemotan
Copy link
Owner

There is a missing include in the Makefile, indeed.
Unfortunately I don't really have time to fix and test this, but I'd be glad to accept a PR.

@careyer
Copy link

careyer commented Mar 17, 2022

This issue still persists... can somebody please advice how to get rid of the

src/main.cpp:20:10: fatal error: crc.h: No such file or directory
   20 | #include "crc.h"
      |          ^~~~~~~

compile error?

@JulesThuillier
Copy link
Contributor

@careyer : the answer is in the messages above.

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

5 participants