LukasBanana / LLGL

Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
BSD 3-Clause "New" or "Revised" License
2.05k stars 139 forks source link

vcpkg: LLGL installs header files in the wrong directory #66

Closed mediabuff closed 1 year ago

mediabuff commented 3 years ago

https://github.com/microsoft/vcpkg/issues/15216#issue-771403297

Also, in windows I get, how do you build "LLGL_Direct3D11D.dll

LukasBanana commented 3 years ago

What do you mean? This is simply the debug build. All debug builds in LLGL get the "D" suffix. Just change your build configuration in Visual Studio to "Debug" and the CMake script should set the filename to LLGL_Direct3D11D.dll.

The include directory for LLGL should be set to <PathToLLGL>/include. For instance: C:\Users\JohnDoe\MyCloneOfLLGL\include. To include the library in your project you use the path #include <LLGL/LLGL.h>

mediabuff commented 3 years ago

I am using vcpkg. Vcpk installs under ../include/include/LLGL

please notice double ‘include’

also the Directx module is not built. Only the core dll is being built

LukasBanana commented 1 year ago

Closing this as it was fixed in a different repository with https://github.com/microsoft/vcpkg/pull/15366