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

pkg-config output is inconsistent with example5.cpp #46

Open
yurivict opened this issue Apr 12, 2020 · 0 comments
Open

pkg-config output is inconsistent with example5.cpp #46

yurivict opened this issue Apr 12, 2020 · 0 comments

Comments

@yurivict
Copy link

$ c++ -o example5 example5.cpp `pkg-config --cflags --libs jrtplib`
example5.cpp:6:10: fatal error: 'rtpsession.h' file not found
#include "rtpsession.h"
         ^~~~~~~~~~~~~~

This is because rtpsession.h is installed into /usr/local/include/jrtplib3/rtpsession.h and pkg-config doesn't include this directory:

$ pkg-config --cflags --libs jrtplib
-I/usr/local/include -L/usr/local/lib -ljrtp 
@yurivict yurivict changed the title pkg-config output is inconstent with example5.cpp pkg-config output is inconsistent with example5.cpp Apr 12, 2020
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