https://github.com/danguafer/ligen-core/blob/devenv/src/generator.rs
l60: let library = lib::Library::new(format!("{}/../ligen_{}", crate::get_path(), name));
has the following issues:
"/../" isn't interpreted as expected on Linux
name needs to be lowercase
it lacks file extension
lacks lib prefix
for instance:
if crate::get_path() == "./target/debug/ligen" and name == "CPP"
it will result
./target/debug/ligen/../ligen_CPP
instead of
./target/debug/libligen_cpp.so
has the following issues:
for instance:
if crate::get_path() == "./target/debug/ligen" and name == "CPP" it will result
./target/debug/ligen/../ligen_CPP
instead of./target/debug/libligen_cpp.so