Superbelko / ohmygentool

LLVM/Clang based bindings generator for D language
The Unlicense
39 stars 6 forks source link

"Not enough cl args specified, see --help", there is no --help. #24

Open zkxjzmswkwl opened 2 years ago

zkxjzmswkwl commented 2 years ago

image

This is exactly what I've been looking for, so thank you heaps for your work on this.

It'd be great if there was a bit more content on how to use the tool, though. There's a good amount on building it, but not much on actually using it.

Thank you

Superbelko commented 2 years ago

Hi, it is hard to tell what's going on without seeing actual config.

For config examples please refer to QuickStart, and for more concrete example recent discussion that has some extra details about the tool.

Then there is also this one from another project example

kassane commented 12 months ago

OS: Arch Linux

# Wrong command
$> ./build/gentool --help
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
[1]    17907 IOT instruction (core dumped)  ./build/gentool --help

# Correct command
$> ./build/gentool       
Oh My Gentool - v0.4.0
Generates D bindings from C/C++ code

USAGE:
        gentool <project.json>

        <project.json>: .json configuration file path

Missing ignore flag or return err_msg!

Superbelko commented 12 months ago

Ok, will look into that.