Closed CaichaoGitHub closed 5 years ago
The debug layer (i.e. DbgRenderSystem
) is always linked statically because it's part of the LLGL.lib and not another dynamically loaded library (like LLGL_OpenGL.lib for instance).
In VisualStudio, debugging dynamically loaded libraries is not a big deal, but if it doesn't work on your platform, just build the entire LLGL project as static lib (i.e. with the CMake option LLGL_BUILD_STATIC_LIB
enabled). In this case, however, you can only build a single render system:
The debug layer (i.e.
DbgRenderSystem
) is always linked statically because it's part of the LLGL.lib and not another dynamically loaded library (like LLGL_OpenGL.lib for instance).In VisualStudio, debugging dynamically loaded libraries is not a big deal, but if it doesn't work on your platform, just build the entire LLGL project as static lib (i.e. with the CMake option
LLGL_BUILD_STATIC_LIB
enabled). In this case, however, you can only build a single render system:
i build llg in static lib and it worked , thanks ,
i want to debug low level api while using clion, however , i found the target version of render system is loaded dynamically using dlopen , its possible to debug the OPENGL api ?