jeanlemotan / esp32-cam-fpv

esp32 cam digital low latency fpv
MIT License
292 stars 75 forks source link

Problem while running make -j4 #37

Closed hugorocket closed 1 year ago

hugorocket commented 1 year ago

I followed the readme instructions, it worked perfectly for the ESP32CAM module but not on my Raspberry PI4B...

On the Raspberry PI 4B when execute "make -j4" in gs folder:

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 -I../components/common -I/opt/vc/include/ -I/usr/include/freetype2 -c -o .o/src/main.o src/main.cpp g++ -MT .o/src/droid_sans_font.o -MD -MP -MF .d/src/droid_sans_font.Td -std=c++17 -O3 -DNDEBUG -ffast-math -funroll-loops -mcpu=cortex-a8 -mfpu=neon -Wall -DRASPBERRY_PI -Isrc -Isrc/utils -Isrc/imgui -I../components/common -I/opt/vc/include/ -I/usr/include/freetype2 -c -o .o/src/droid_sans_font.o src/droid_sans_font.cpp g++ -MT .o/src/HUD.o -MD -MP -MF .d/src/HUD.Td -std=c++17 -O3 -DNDEBUG -ffast-math -funroll-loops -mcpu=cortex-a8 -mfpu=neon -Wall -DRASPBERRY_PI -Isrc -Isrc/utils -Isrc/imgui -I../components/common -I/opt/vc/include/ -I/usr/include/freetype2 -c -o .o/src/HUD.o src/HUD.cpp g++ -MT .o/src/imgui_impl_opengl3.o -MD -MP -MF .d/src/imgui_impl_opengl3.Td -std=c++17 -O3 -DNDEBUG -ffast-math -funroll-loops -mcpu=cortex-a8 -mfpu=neon -Wall -DRASPBERRY_PI -Isrc -Isrc/utils -Isrc/imgui -I../components/common -I/opt/vc/include/ -I/usr/include/freetype2 -c -o .o/src/imgui_impl_opengl3.o src/imgui_impl_opengl3.cpp g++: error: unrecognized command-line option ‘-mfpu=neon’ g++: error: unrecognized command-line option ‘-mfpu=neon’ make: [Makefile:162: .o/src/main.o] Error 1 make: Waiting for unfinished jobs.... make: [Makefile:162: .o/src/droid_sans_font.o] Error 1 g++: error: unrecognized command-line option ‘-mfpu=neon’ make: [Makefile:162: .o/src/HUD.o] Error 1 g++: error: unrecognized command-line option ‘-mfpu=neon’ make: *** [Makefile:162: .o/src/imgui_impl_opengl3.o] Error 1

If someone can help me it would be great, this project excites me

hugorocket commented 1 year ago

Just need to install old raspbian buster 32bit on my raspberry pi 4b for compile properly