We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using OSX and followed the guide to build the source code, but then when I get to the ninja command, it's throwing build errors
ninja
[2/30] Compiling C object 'app/scrcpy@exe/src_decoder.c.o'. FAILED: app/scrcpy@exe/src_decoder.c.o cc -Iapp/scrcpy@exe -Iapp -I../app -I/usr/local/include -I/usr/local/include/SDL2 -flto -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -O3 -D_THREAD_SAFE -MD -MQ 'app/scrcpy@exe/src_decoder.c.o' -MF 'app/scrcpy@exe/src_decoder.c.o.d' -o 'app/scrcpy@exe/src_decoder.c.o' -c ../app/src/decoder.c ../app/src/decoder.c:3:10: fatal error: 'libavformat/avformat.h' file not found #include <libavformat/avformat.h> ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. [7/30] Compiling C object 'app/scrcpy@exe/src_main.c.o'. FAILED: app/scrcpy@exe/src_main.c.o cc -Iapp/scrcpy@exe -Iapp -I../app -I/usr/local/include -I/usr/local/include/SDL2 -flto -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -O3 -D_THREAD_SAFE -MD -MQ 'app/scrcpy@exe/src_main.c.o' -MF 'app/scrcpy@exe/src_main.c.o.d' -o 'app/scrcpy@exe/src_main.c.o' -c ../app/src/main.c ../app/src/main.c:5:10: fatal error: 'libavformat/avformat.h' file not found #include <libavformat/avformat.h> ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
Did you
brew install sdl2 ffmpeg
?
Sorry, something went wrong.
Thanks :) ! Somehow ffmpeg was messed up and reinstalling from homebrew works. I'll close this one
No branches or pull requests
I am using OSX and followed the guide to build the source code, but then when I get to the
ninja
command, it's throwing build errorsThe text was updated successfully, but these errors were encountered: