Closed Martinfx closed 3 months ago
您好,我已收到邮件,谢谢!
您好,我已收到邮件,谢谢!
English ?
Hi,
dependencies are managed through vcpkg. You have to install vcpkg on your system as described here: https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-bash.
To actually use it together with CMake, you need to run CMake with:
cmake your_args_here.... -DCMAKE_TOOLCHAIN_FILE="path/to/vcpkg_root/scripts/buildsystems/vcpkg.cmake"
and your usual CMake arguments. This should install all necessary dependencies for you.
Also please keep in mind that vcpkg actually pulls the source code of the dependencies and compiles the packages on your machine for your target architecture and OS. That means that the first run of CMake might take some time.
I hope this helps.
Hi,
dependencies are managed through vcpkg. You have to install vcpkg on your system as described here: https://learn.microsoft.com/en-us/vcpkg/get_started/get-started?pivots=shell-bash.
To actually use it together with CMake, you need to run CMake with:
cmake your_args_here.... -DCMAKE_TOOLCHAIN_FILE="path/to/vcpkg_root/scripts/buildsystems/vcpkg.cmake"
and your usual CMake arguments. This should install all necessary dependencies for you.Also please keep in mind that vcpkg actually pulls the source code of the dependencies and compiles the packages on your machine for your target architecture and OS. That means that the first run of CMake might take some time.
I hope this helps.
Hi, I don't want vcpkg because I use FreeBSD. Is there other way ?
I'm not familiar with FreeBSD and it might not work in the end, but in theory, if all the packages with the exact same version defined in the vcpkg manifest here are discoverable by CMake, then it should work. Of course, you will also need to adjust the names of the libraries in the CMakeLists files. That includes:
But I can't give you a definite answer as to whether this will work in the end, I haven't tested it myself.
Hi, where is library "unofficial-spirv-reflect" ? I have found this library https://github.com/KhronosGroup/SPIRV-Reflect/ but you use some https://github.com/tippesi/Atlas-Engine/blob/master/CMakeLists.txt#L85C1-L85C55 unofficial version. Where this library is located ?