-
Notifications
You must be signed in to change notification settings - Fork 56
Description
The main README file does not contain proper compilation instructions. The instructions are hidden in the install scripts. These should be moved to the README file.
It is very hard to compile this under Windows 11 / MS VS 2022 and cmake 4.1.x
First vcpkg by default is used from the Visual Studio install. This produces an error (no manifest)
After installing vcpkg in c:\ and setting it up through VCPKG_ROOT and PATH, errors remain.
I had to set glfw3_DIR to the vcpgk/packages\glfw3_x64-windows directory
Then there is a "cannot set symblic link for a nlohman hpp" error.
In total I had to change
-FindKTX.cmake
-Findtinygltf.cmake
both in attachments and simple_engine
Then compile with cmake to compile KTX etc., which is not compiled by the MS Visual Studio sln.
Then make sure to find the DLLs, then start the exe from its parent directory so it finds the shaders, then it worked.
Needless to say that this is impossible for newcomers.
There must be a way to set this up under Windows that is manageable for newcomers.
Remark: generally it makes no sense to use GLFW since SDL3 is already in the SDK.