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

In Makefile dose not use AVUTIL_CFLAGS variable #312

Open
khenarghot opened this issue Jul 17, 2024 · 1 comment
Open

In Makefile dose not use AVUTIL_CFLAGS variable #312

khenarghot opened this issue Jul 17, 2024 · 1 comment

Comments

@khenarghot
Copy link

khenarghot commented Jul 17, 2024

Can't build with error:

spek-fft.h:7:10: fatal error: libavutil/mem.h: No such file or directory
7 | #include <libavutil/mem.h>

In Makefile dose not use AVUTIL_CFLAGS variable in spec_CFLAGS.

@khenarghot
Copy link
Author

Patch for this problem:

diff --git a/src/Makefile.am b/src/Makefile.am
index c4aba08..32fd0f3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -50,7 +50,8 @@ spek_CPPFLAGS = \
 	$(WX_CPPFLAGS)
 
 spek_CXXFLAGS = \
-	$(WX_CXXFLAGS_ONLY)
+	$(WX_CXXFLAGS_ONLY)\
+	$(AVUTIL_CFLAGS)
 
 spek_LDADD = \
 	libspek.a \

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

1 participant