The CLion search library is based mainly on the directories specified by the include_directories defined by Cmake. The lib installed by the user is stored in the /usr/local folder. usr/local/lib is one of the directories that linker searches for required libraries. The script is to install the Vulkan SDK libraries and header files in /usr/local. Run the Python installation script that comes with the SDK to install: sudo. In the process of specific installation, I adopted the step of Install the SDK-alternate method using system paths. See Getting Started with the MacOS Vulkan SDK for details on the installation process. Vulkan SDK can be downloaded from directly.
#CLION STEP BY STEP CMAKE INSTALL HOW TO#
Let’s take a look at how to install each of these. Three main things are needed: Vulkan SDK, GLFW, and GLM. However, many MacOS articles only provide Xcode configuration, but the dependency on the file package is the same. Vulkan MacOS configuration mainly refers to the Vulkan Tutorial Development Environment. Gcc version ~/C/V/shaders ❯❯❯ gcc -versionConfigured with: -prefix=/Applications/Xcode.app/Contents/Developer/usr -with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1Apple clang version 12.0.0 (clang-1200.0.32.27)Target: x86_64-apple-darwin20.2.0Thread model: posixInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin