alphaville / optimization-engine

Nonconvex embedded optimization: code generation for fast real-time optimization

Home Page:https://alphaville.github.io/optimization-engine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated `tcp_iface_...` crate fails to compile

michael-p opened this issue · comments

Dear all,

the generated code for the TCP-interface fails to compile because the used version of the clap crate is not specified, that is, in tcp_iface_.../Cargo.toml there is the dependency clap = "*" which selects the most recent version of clap, 3.0.7, which the TCP interface crate seems to be not compatible with. Manually changing that line to clap = "2" results in the generated project compiling and working just fine.
I'm using the Python code generator, most recent version.

Best,
Michael

Thanks for this information, hotfix coming soon.

ruairi

@michael-p thank you for reporting this. The issue has now been fixed in version 0.6.9 of opengen.

Works great, thank you all very much for your work! It's much appreciated!