How do you build examples? #943
-
|
I get this error libdatachannel was installed from source like: and now finds itself under /usr/local, it's definitely there: So what can the issue be? Why does it have trouble finding it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Examples are built when you run cmake at top-level. They would need libdatachannel and nlohmann_json to be installed and Simply run: and examples will be built in |
Beta Was this translation helpful? Give feedback.
-
|
Also, I found you can just do |
Beta Was this translation helpful? Give feedback.
Examples are built when you run cmake at top-level. They would need libdatachannel and nlohmann_json to be installed and
find_packagelines for both libraries to compile as standalone.Simply run:
and examples will be built in
build/examples.