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

compile error #10

Open
jojo05 opened this issue Dec 20, 2017 · 4 comments
Open

compile error #10

jojo05 opened this issue Dec 20, 2017 · 4 comments
Assignees
Labels

Comments

@jojo05
Copy link

jojo05 commented Dec 20, 2017

CXX internal/decode/libvireo_la-aac.lo
internal/decode/aac.cpp:26:10: fatal error: libavformat/avformat.h: No such file or directory
#include "libavformat/avformat.h"
^~~~~~~~~~~~~~~~~~~~~~~~

@jojo05
Copy link
Author

jojo05 commented Dec 22, 2017

This is the error with ./configure --enable-gpl

CXX internal/decode/libvireo_la-h264.lo
internal/decode/h264.cpp:27:10: fatal error: libavformat/avformat.h: No such file or directory
#include "libavformat/avformat.h"

@canbal
Copy link
Contributor

canbal commented Dec 22, 2017

Strangely AAC decoder is importing libavformat header. That feels like a typo to me. Can you see if can safely remove first 3 lines

extern "C" {
#include "libavformat/avformat.h"
}

from internal/decode/aac.cpp?

Please also attach your full log for more context.

@canbal canbal added the bug label Dec 23, 2017
@canbal canbal self-assigned this Dec 23, 2017
@jojo05
Copy link
Author

jojo05 commented Dec 23, 2017

I am building on a clean fedora 27 system with gcc 7.2.1
I removed the 3 lines from internal/decode/aac.cpp and encode/aac.cpp and it compiles
but I get a linker error later on
log.txt

@canbal
Copy link
Contributor

canbal commented Dec 24, 2017

Thanks for confirming, merged the change: #14

The linker errors you're seeing are unrelated to the original issue and known. I suspect it's related to the gcc version. Will keep this thread posted about the resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants