jpbruyere / vkvg

Vulkan 2D graphics library
https://jpbruyere.github.io/vkvg/
MIT License
773 stars 33 forks source link

Having trouble using vkh.h #125

Closed jpbruyere closed 2 years ago

jpbruyere commented 2 years ago

Discussed in https://github.com/jpbruyere/vkvg/discussions/124

Originally posted by **notshriram** July 14, 2022 I am on macOS 12.4 M1. I have vulkan SDK (MoltenVK) installed. I did the following steps after cloning the repository with the --recursive flag ```bash mkdir build && cd build cmake .. make make install ``` whenever I try to use the library, I get the following error ``` /usr/local/include/vkh.h:33:10: fatal error: 'deps/tinycthread.h' file not found #include "deps/tinycthread.h" ^~~~~~~~~~~~~~~~~~~~ 1 error generated. ```
jpbruyere commented 2 years ago

Sorry, that's a bug, tinycthread.h should not be referenced in main include. This is corrected in latest master branches of vkvg and vkh. Thanks for the report.