cntk-rs icon indicating copy to clipboard operation
cntk-rs copied to clipboard

not able to build on ubuntu

Open infinite-Joy9l opened this issue 5 years ago • 1 comments

I have been trying to build this library on ubuntu machines without success. First discovered that the files such as these needs to be copied manually to the system. Currently this is the error that is showing up.

   Compiling cntk v0.2.1 (/home/saionee/opensource/programming-languages/rust-lang/cntk-rs)
error: recursion limit reached while expanding the macro `__cpp_internal`
   --> src/ops.rs:134:23
    |
134 |           let payload = cpp!([xpayload as "Variable", adata_ptr as "Axis*", len as "size_t", bdata_ptr as "int*", edata_ptr as "int*", mut error_p as "char*"] -> FunctionInner as "FunctionPtr" {
    |  _______________________^
135 | |             try {
136 | |                 return Slice(xpayload,
137 | |                              vector<Axis>(adata_ptr, adata_ptr + len),
...   |
145 | |             }
146 | |         });
    | |__________^
    |
    = help: consider adding a `#![recursion_limit="128"]` attribute to your crate
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

Are there better build instruction as I am not able to figure this thing out.

infinite-Joy9l avatar Apr 14 '19 04:04 infinite-Joy9l

Just to add the note by the compiler to increase the recursion in the lib.rs did not help.

infinite-Joy9l avatar Apr 14 '19 04:04 infinite-Joy9l