gecko0307 / dagon

3D game engine for D
https://gecko0307.github.io/dagon
Other
321 stars 30 forks source link

Install Nuklear is meaningless #81

Closed paulfurber closed 1 year ago

paulfurber commented 1 year ago

Hi there,

Nuklear is a header-only library written in C. It's not a shared library nor are there any ways of making it one from its repo. Is there perhaps a repo that I can install it from please?

gecko0307 commented 1 year ago

Nuklear in Dagon is loaded dynamically using BindBC loader. Dagon uses bindbc-nuklear binding, which includes a CMake configuration to compile it as a shared library. Also Dagon uses a specific version of Nuklear, so I recommend to use that of the extension's source tree rather than from Nuklear's main repository.

gecko0307 commented 1 year ago

I've added an instruction on building Nuklear with CMake. Also I've fixed its configuration so that the library can be installed with make install as usual.