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

Build failed when make #91

Open
LAUOPPG opened this issue Dec 19, 2021 · 6 comments
Open

Build failed when make #91

LAUOPPG opened this issue Dec 19, 2021 · 6 comments

Comments

@LAUOPPG
Copy link

LAUOPPG commented Dec 19, 2021

Hello author, thank you for your contributions. I use sudo apt install to install all needed packets. Then I follow the cmd to configure and make. But when I make, there is a error as below:
1639924092(1)

@LAUOPPG
Copy link
Author

LAUOPPG commented Dec 19, 2021

I attempt many version of libx264,They all have this problem.

@YLiao12
Copy link

YLiao12 commented Feb 10, 2022

same for me, guess the new commit on ssim.cc caused the problem

@sadjad
Copy link
Member

sadjad commented Feb 10, 2022

I just tested it with libx264-dev package version 2:0.160.3011 (Ubuntu 21.10) and it worked.

Granted, we're using an internal functionality of libx264 here that's not part of the public API. I see if I can replace this with something more stable.

@ApostaC
Copy link

ApostaC commented Apr 15, 2022

Hi,
I had the same issue when using ubuntu 18.04 with libx264-dev version 2:0.152.2854+gite9a5903-2. I fixed this by changing the functions that started with x264_8_ to x264_ in src/util/ssim.cc. Hope that can help!

@obrr-hhx
Copy link

obrr-hhx commented Dec 7, 2022

Hi, I also have this issue, I try to use the libx264-dev version which is 2:160.3011 and 2:164.3065, but each version gives rise to the undefined problem, and I see the x264.h in /usr/include/, I also cannot find these functions.

@FredricLau
Copy link

FredricLau commented Apr 2, 2023

@obrr-hhx Sorry to bother you, I'm not sure if you are still following this project.
Regarding your question, I would like to know which functions you are referring to when you mentioned these functions? If you are referring to ssim.cc, it is a function within this project instad of part of x264 functions, so you do not need to search for it in /usr/include/.
Regarding the error, it seems to be caused by the upgrade to version 158 of x264. Following ApostaC's method should work to solve the problem, provided that libx264-dev is rolled back to version 157 or lower.
I hope this information helps.

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

6 participants