You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error at /home/ps/workspace/projects/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable):
Target "demo" links to target "unofficial::usrsctp::usrsctp" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:8 (add_executable)
Could not find a package configuration file provided by "libSRTP" with any
of the following names:
libSRTPConfig.cmake
libsrtp-config.cmake
Add the installation prefix of "libSRTP" to CMAKE_PREFIX_PATH or set
"libSRTP_DIR" to a directory containing one of the above files. If
"libSRTP" provides a separate development package or SDK, be sure it has
been installed.
The text was updated successfully, but these errors were encountered:
Could not find a package configuration file provided by "libSRTP" with any
of the following names:
libSRTPConfig.cmake
libsrtp-config.cmake
Add the installation prefix of "libSRTP" to CMAKE_PREFIX_PATH or set
"libSRTP_DIR" to a directory containing one of the above files. If
"libSRTP" provides a separate development package or SDK, be sure it has
been installed.
Operating system
ubuntu
Compiler
gcc
Steps to reproduce the behavior
Failure logs
CMake Error at /home/ps/workspace/projects/vcpkg/scripts/buildsystems/vcpkg.cmake:598 (_add_executable):
Target "demo" links to target "unofficial::usrsctp::usrsctp" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:8 (add_executable)
Additional context
This is my vcpkg.json
This is my CMakePresets.json
This is my CMakeLists.txt
If I change
to
error disappeared. but my project not directly depend on usrsctp
usrsctp is the dependcy of libdatachannel
if I change vcpkg.json from
to
The error changed.
The text was updated successfully, but these errors were encountered: