Open tsilia opened 9 months ago
hi @tsilia Thank you for the report. Was there a specific action you recommend, apart from updating build instructions?
Hello @dibyendumajumdar
Thank you for your reply.
If you could implement a detection of the readline
development package on the build system in your CMake build script, that would be great. This way user will be notified they don't have the required dependency at the configure stage. But I can't suggest anything regarding the matter as I'm not familiar with the readline
library. I don't know what build system it uses and whether it can be detected via CMake rules or not. And I don't have anything else in mind, TBH.
UPD:
I'm not a CMake guru, but I just thought you probably could use simple detection technique:
CHECK_INCLUDE_FILE(<include> <variable> [<flags>])
like this:
CHECK_INCLUDE_FILE(readline.h HAVE_READLINE)
or whatever header file it is that the readline
library has.
Okay thank you - I will look at making the Cmake build more robust
Hello.
I was building the @kunitoki/LuaBridge3 project with
ravi
as a submodule and stumbled upon a linker error:Looks like the build script won't check all necessary dependencies at the configure stage. I had to install the libreadline-dev package, which solved the issue for me.
First I reported this here: https://github.com/kunitoki/LuaBridge3/issues/156 but it seems that it's not
LuaBridge3
butravi
which requires libreadline as a dependency.