Replies: 5 comments
-
Beta Was this translation helpful? Give feedback.
-
No, I am not running cmake in the top directory of libdatachannel. Because I already build the libdatachannel static or dynamic library. |
Beta Was this translation helpful? Give feedback.
-
Understood, to summarize, what you want to do is to create a build using Although it's not a direct sample, I think the For information on the behavior of https://cmake.org/cmake/help/latest/command/find_package.html When using The |
Beta Was this translation helpful? Give feedback.
-
This is a discussion about the basic usage of cmake, so I think it would be better to first learn how to use cmake properly. Alternatively, if you are only building for Windows, it might be easier to set up in Visual Studio without using cmake. |
Beta Was this translation helpful? Give feedback.
-
CMake can't guess that libdatachannel is installed in What you are trying to do is typically cumbersome on Windows as Windows does not have standard system-wide include and lib directories to install the libraries. I'd recommend putting the libdatachannel source inside your project instead and including it with As @chobie already mentionned, this is more a CMake usage question and not a libdatachannel question, I'd be better to learn how to use CMake or ask on a CMake help forum. You can also use any IDE for Windows which will take care of this for you. |
Beta Was this translation helpful? Give feedback.
-
I try to generate the datachannel library and use the CMakeList.cmake
Here is my library loacantion
But the runtime offerer.exe is lack of datachannel.dll
How can I do ?
Beta Was this translation helpful? Give feedback.
All reactions