Skip to content

Commit 3dc006c

Browse files
Updated readme (close #153); updated core
1 parent 1f673d5 commit 3dc006c

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,12 @@ cmake -S . -B ./build/MacOS -G "Xcode"
323323

324324
The project will be located in `build/MacOS` folder.
325325

326+
Note that if CMake fails to find the compiler, you may need to run the following command:
327+
328+
```
329+
sudo xcode-select --reset
330+
```
331+
326332
### Configuring Vulkan Build Environment
327333

328334
By default there is no Vulkan implementation on MacOS. Diligent Engine loads Vulkan dynamically
@@ -458,6 +464,9 @@ The diagram below shows the dependencies between modules.
458464
'----------------->Samples
459465
```
460466

467+
Don't forget to recursively initialize submodules if you are adding Diligent repos
468+
as submodules to your project.
469+
461470
### Your Project Uses Cmake
462471

463472
If your project uses CMake, adding Diligent Engine requires just few lines of code.

Troubleshooting.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ git submodule update --recursive
2929
* When building on Windows, generating Visual Studio project files is the recommended way.
3030
Other IDEs such as Visual Studio Code or CLion may need extra configuration to properly set up
3131
the build environment.
32-
32+
3333
* If on Windows you get long path error, try cloning the project to a folder with shorter name
3434
such as `c:/git/DiligentEngine`.
3535

36+
* If on MacOS CMake fails to find the compiler, run the following command:
37+
```cmake
38+
sudo xcode-select --reset
39+
```
40+
3641
### Projects don't run
3742

3843
* When running from the command line, make sure that the project's `assets` folder is set as working directory

0 commit comments

Comments
 (0)