I'm trying to integrate ChaiScript into my little Mac / c++ project. While I'm able to use it just fine by building chaiscript_stdlib.hpp / using ChaiScript chai(Std_Lib.library()), I really would like to build the library separately.
However after building the dylib, making sure the install path / name points to the right place, and building my project with it, I invariably get a runtime error that it cannot find the .dll ... Needless to say I'm profoundly confused as to why it would even look for a dll on mac, but could anybody share some light on what I am doing wrong?
Cheers!
P.S.: just to be extra clear, the error is not about locating the .dylib (which would come first if I don't copy the lib in the executable path), but after loading the dylib at runtime it complains it cannot find the .dll